[Resolved] Parametric search based on taxonomy hierarchy
This thread is resolved. Here is a description of the problem and solution.
Problem:
The issue here is that the user had a hierarchy taxonomy and wanted to have separate filters for the Parent and Child Terms.
Solution:
Unfortunately this is not possible to do since its still only one taxonomy. In order to have separate filters you will need to create it as separate taxonomies.
This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Hi!
I need help to create a page which displays custom post types results with 3 front-end filters (select type).
I have a view with all custom post type "House" entries in a grid loop. "House" has "Places" as taxonomy. "Places" has this hierarchy:
State 1 (Parent)
- Area 1 (1st child)
-- City 1 (2nd child)
State 2 (Parent)
- Area 2 (1st child)
-- City 2 (2nd child)
...
I want to add the 3 filters to let the user search in 3 steps:
1 - Select the State
2 - Select the Area
3 - Select the City
Hi Shane,
my fault. I need a tutorial to separate them. Is there a php function to pick the values from terms (parent, child and grand-child) and fill the custom post fields?