Custom Fields
Support MB Custom Taxonomy Categories and child categories Reply To: Categories and child categories


Anh Tran

Hi Dan,

We talked on Facebook yesterday and resolved this problem. So I’ll summarize it here in case someone needs it.

The most important thing is WordPress doesn’t support adding taxonomy to custom post type permalink by default. It seems to work only with categories and posts, but not for other custom post types/taxonomies.

And that has nothing related to how we create custom post type/taxonomy or making them hierarchical.

To do that, we have to code and deal with rewrite rules. There’s also a plugin that might help doing that faster and easier.

WooCommerce has done that with its custom code that handles rewrite rules.

In addition, if you want to filter products by type, you can make custom queries based on user’s selection or using FacetWP / Search & Filter plugin.