I’d like the reviews tab to load in a closed state.
Is there a simple hook/filter or function I can override for this before I start hunting through the code? I suspect it may be a case of loading some JavaScript (or changing the JS function that currently gets loaded but would like some pointers on the quickest/simplest way of doin this).
Many thanks…
Site URL: hidden Theme version: 2.5 WooCommerce version: 2.3.13
Content is visible for topic creator and support staff only.
I’ve logged in to wp-admin panel but I can’t view the site, only this message: “The Nails International website is currently undergoing a bit of a facelift.
Check back here shortly, when we’re finished”
To close first tab by default you need edit the file wp-content/themes/woopress/woocommerce/single-product/tabs/tabs.php and change the code <?php if($i == 1) to <?php if($i == 0) in line 28 and in line 31. Also edit the file wp-content/themes/woopress/js/etheme.js and comment the code currTab.find('.tab-title:eq('+openNumber+')').addClass('opened').next().show(); in line 1739 and the code currTab.find('.tab-title').first().addClass('opened').next().show(); in line 1741.
Regards,
Eva Kemp.
Viewing 4 results
1 through 4 (of 4 total)
You must be logged in to reply to this topic.Log in/Sign up
Our mission is to help Internet businesses and their customers interact in a way that mirrors real-world customer experience: personal, human, and fun.
Upload your translation files
Lorem ipsum dolor sit amet consectetur adipisicing elitsed do
Love us as much as we love you?
If you love XStore theme and have something nice to say
don’t hesitate to tell about this! We’d appreciate if you could take a moment to give us 5-stars!