Tagged: categories, sub-categories
Hello,
I’d like to have the product Categories set to be open, showing the sub-categories, as default. So when a user lands on a product page they see both top-level categories and the sub-level categories, without needing to click the toggle (+) button.
Thanks.
Tim
Hello,
To open all category, edit wp-content/themes/legenda/js/etheme.js file. Find line 1389
etCats.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();
and replace on
etCats.find('>li').find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();
Regards,
Robert Hall.
Excellent, that worked when I updated the core theme file. But when I first tried to create a js folder in my child theme with the updated etheme.js file it didn’t work. Is that normal behavior? If so I guess I’ll just need to make sure that file doesn’t get overwritten when the theme is updated?
Tim
Hello,
Please read this article how to add sub files in a child theme:
http://codex.wordpress.org/Child_Themes > Referencing / Including Files in Your Child Theme
Regards,
Eva Kemp.
Hello,
Could you please provide us with wp-admin credentials as well?
Regards,
Jack Richardson
One more thing: we’re unable to connect to your FTP account. Please check provided credentials!
Regards,
Jack Richardson
Hello,
We’ve made changes. Please check your product categories now!
Regards,
Jack Richardson
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty
You may extend support period on ThemeForest and then update its status by clicking "Update" button in your Account area.
Purchase code | Expiration date |
---|---|
817e8a3b-18c8-492c-8ba6-9188c27b0995 | 05 Jan 2017 |