Forums › Forums › Search & Filter Pro › Filtering with Tags
- This topic has 5 replies, 2 voices, and was last updated 5 years, 1 month ago by Trevor.
-
Anonymous(Private) September 24, 2019 at 12:11 am #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 WalesIs there any way to achieve this without using a 2nd Category or Tags? Would a Custom Taxonomy be the only way?
Trevor(Private) September 24, 2019 at 8:52 am #221726That 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.
Trevor(Private) September 24, 2019 at 12:54 pm #221750Let 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
-TR6and so on. Instead, have two taxonomies:
#1. Car Make
Ford
Triumph
Austinetc.
#2 Car Model
Anglia
Capri
Popular
Stag
TR6
Seven
AllegroThe 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.
-
AuthorPosts