Answer the question
In order to leave comments, you need to log in
How to display different categories on different pages?
Hello.
Please tell me how to display different product categories (widget) on different pages.
For example, on the page - Windows, I need to display categories (on the left in the "product categories" widget): Wooden windows, Plastic windows, etc.
And on the page - Doors, I need to display categories: Iron doors, Wooden doors. And at the same time, the categories of "windows" were hidden.
How the widget of product categories looks like:
Answer the question
In order to leave comments, you need to log in
Hello!
If we are talking about widgets, then there is the Widget Logic plugin.
Explore Wordpress && Woocommerce Conditional Tags
https://codex.wordpress.org/Conditional_Tags
https://docs.woocommerce.com/document/conditional-tags/
https://wp-kama.ru/id_89/uslovnyie-tegi-v -wordpres...
And then deprecate the check in the widget
. Another option.... edit the theme template and again use conditional tags to connect this or that sidebar. Sidebars must be created in functions.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question