Problem:
Can I set up a parametric Filter by a hierarchical taxonomy, but split the parent terms and child terms in two Parametric Filters?
Solution:
This is not possible.
Views Parametric Filters for Taxonomies will always produce all Terms in the same Filter (child and parent terms)
A workaround:
1. Views will, when you insert a parametric Search by your Taxonomy, always generate a Search Filter by ALL terms (parents and children terms)
2. If you need a Front End Filter that does display ONLY terms that are Child of a given parent, it is not possible, because the View will allow the Taxonomy filter only ONCE each View.
- therefore, you need 2 Taxonomies, one acts as a parent to the other.
- Or you could neglect to use a Parametric Search and instead return Posts, in a Taxonomy View, which query Filter is set to
Select taxonomy terms whose parent is your_parent_term
.
- But this will not allow a Parametric Search, as only Post Views do allow Parametric Searches.
Relevant Documentation:
https://toolset.com/documentation/user-guides/using-a-child-view-in-a-taxonomy-view-layout/