- This topic has 1 reply, 2 voices, and was last updated 11 years, 4 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Hierarchical Taxonomy: Limit filter to one level
Tagged: filter, hierarchical, taxonomy
Hi Ross,
great plugin, have it running on archive-{post_type}.php, single-{post_type}.php and taxonomy.php and it works like charm!
Just one question: I use a dropdown for a hierarchical taxonomy filter. Is it possible to limit the dropdown to just one level (let’s say the second one) of all terms?
Taxonomy dropdown example
– Term 1
– Subterm 1
– Subsubterm 1
– Term 2
– Subterm 2
– Subsubterm 2
The idea is to display only Subterm 1 & Subterm 2 in the dropdown.
Cheers George
Hey Hans
This is not really possible, you could use the advanced settings in the field and exclude those sub terms by ID. Not ideal I know but the only way I can think to make it work like this.
Thanks