Forums Forums Search & Filter Pro Filtering with Tags

Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #221706

    Hi,
    As I understand it you can’t filter by 2 different parent categories at the same time? I’ve tested this and that does seem to be the case. So I believe I need to use Tags for the 2nd filter. However, with WordPress you can’t have child tags and unfortunately I need that functionality.

    For example for tags I’d need:
    England
    > Midlands
    > South West
    Wales
    > North Wales
    > South Wales

    Is there any way to achieve this without using a 2nd Category or Tags? Would a Custom Taxonomy be the only way?

    Trevor
    #221726

    That is correct, you need to make a custom taxonomy. Ideally, you should not use parent/child trees at all. For every parent, instead have a custom taxonomy with the children as the top level terms. Plugins like CPT UI are very popular for this reason/need.

    Anonymous
    #221741

    Thanks for the info, although I didn’t quite understand this sentence:

    For every parent, instead have a custom taxonomy with the children as the top level terms.

    Could you elaborate?

    Trevor
    #221750

    Let us say your site is about heritage cars. You use Category to group them

    Your tree might look like this:

    Ford
    -Anglia
    -Capri
    -Popular
    Triumph
    -Stag
    -TR6

    and so on. Instead, have two taxonomies:

    #1. Car Make

    Ford
    Triumph
    Austin

    etc.

    #2 Car Model

    Anglia
    Capri
    Popular
    Stag
    TR6
    Seven
    Allegro

    The two become ‘linked’ when you select a make and model in a post.

    If you have Auto Count On and Hide Empty ON, then, when you select a make, the models will filter down to just those relevant models.

    Thus there are no child terms.

    Anonymous
    #221756

    I’m a bit confused as to how they will be linked if they are seperate taxonomys?

    Trevor
    #221758

    Our plugin does that if you make the settings a said. t links them by looking at your usage of them in posts.

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