On my categories pages (www.mywebsite.com/category/name), I'm using this shortcode:
<?php echo do_shortcode( '[searchandfilter taxonomies="category" submit_label="Search"]' ); ?>
It's possible that the dropdown shows only the sub-categories of the category of the current open page?
For example: Imagine that I'm on the /category/food page (Food is the parent category). This category has three sub-categories: Mexican,French and Italian.
But on my site, I have other parent categories like Travel and Tech and other sub-categories.
When I open a category page, on the drop-down selection, I have all the categories and subcategories on my website, and I only want to show only the three subcategories (Mexican, French and Italian) - the sub-categories associated with the Parent Category of the page that I'm on.
On my categories pages (www.mywebsite.com/category/name), I'm using this shortcode:
<?php echo do_shortcode( '[searchandfilter taxonomies="category" submit_label="Search"]' ); ?>
It's possible that the dropdown shows only the sub-categories of the category of the current open page?For example: Imagine that I'm on the /category/food page (Food is the parent category). This category has three sub-categories: Mexican, French and Italian.
But on my site, I have other parent categories like Travel and Tech and other sub-categories.
When I open a category page, on the drop-down selection, I have all the categories and subcategories on my website, and I only want to show only the three subcategories (Mexican, French and Italian) - the sub-categories associated with the Parent Category of the page that I'm on.
Is it possible?
Thanks