This topic has 4 replies, 2 voices, and was last updated 8 years, 11 months ago ago by Eva Kemp
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…
Hello,
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”
Please open access for us.
Thank you.
Regards,
Eva Kemp.
Hi Eva,
I did explain how to whitelist your IP address so that you’d be able to see the site in my first message (in the private content).
Hello,
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.
You must be logged in to reply to this topic.Log in/Sign up