Forums Forums Search & Filter Pro Hierarchical Taxonomy: Limit filter to one level

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #6990

    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

    Ross Moderator
    #7100

    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

Viewing 2 posts - 1 through 2 (of 2 total)