Forums › Forums › Search & Filter Pro › Filtering by parent and child taxonomy
- This topic has 6 replies, 2 voices, and was last updated 4 years, 4 months ago by Trevor.
-
Trevor(Private) August 28, 2020 at 10:08 am #257607
Are you able to send me a live link/URL to your search page so I can take a look?
If you are seeking to have two form fields based on different parent/child term groups from a single taxonomy source, this will not work in one of our forms. You may need two separate custom taxonomies. This post explain more:
Anonymous(Private) September 3, 2020 at 10:58 am #258351look like very complex maybe do it through acf Custom Field and associate by groups.
https://www.advancedcustomfields.com/resources/group/
Will the plugin be supported in this case? For example a group of “cars” in the “volvo” subfield and then there will be a search Select type (cars) Description Select the type In the second box the car models will appear in the Select boxTrevor(Private) September 3, 2020 at 4:18 pm #258430Let us assume that you might have cars in Categories.
In there you might have Makes as parents, and inside each you have Models as children.
So, you have multiple Parent/Child (Make/Model) trees.
What you should have is a taxonomy for Makes, and a separate one for Models.
When you select a Make in a post, and then a Model, the two become ‘linked’.
So, if you have Auto Count ON, and Hide Empty ON in each field, as you select a Make, the Models filter automatically. The inverse is also true. If you select a model first, the Makes will filter.
-
AuthorPosts