A
A
Arthur Bara2018-07-12 16:33:06
WooCommerce
Arthur Bara, 2018-07-12 16:33:06

How to hide parents but leave their children in the taxonomy?

Hello ! There are two parent categories: "By place" and "By type", there are no goods in the categories themselves, of course there are in their children. The parent categories themselves are only needed to understand where to send the product. But not needed in filters and so on. If you remove these categories with a hook, then their children are also hidden. How can you hide the parent categories or the first level categories, but leave their children in the 2nd level, 3rd level, and so on?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question