[Resuelto] Custom Filtering by parent and child taxonomy
This support ticket is created hace 4 años, 10 meses. 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.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
- Tell us what you are trying to do?
I need to make with Toolset this layout enlace oculto
This is just an HTML layout, we need to make this work with WP and Toolset.
Is a ¨Products¨ custom post type archive page with two kind of filters:
Filters 1:
The first filter should display 3 dropdowns of custom taxonomy ¨Atributos¨
Select Dropdown 1 - Displays all the parent taxonomies.
Select Dropdown 2 - Displays the child taxonomies of the parent taxonomy selected in dropdown 1.
Select Dropdown 3 - Displays the child taxonomies of the child taxonomy selected in dropdown 2.
In this picture enlace oculto you can see the 3 levels of ¨Atributos¨ taxonomy filtering.
Filters 2:
Also, we need to have a filter on the same archive page that filters products by ¨Lineas¨ custom taxonomy.
The questions are:
1- Is it possible to make the filter 1?
2- Is it possible to filter products with both filters in the same page? If not, is it possible to filter with Filters 2 on that page, and redirect to a new results page with Filters 1?
Hello. Thank you for contacting the Toolset support.
The only way to search the posts with a dependent dropdown is to create a post type for every entity.
Having said that, Such a dependent dropdown select you can implement it when you configure each level of your taxonomy as a post type. That means all three level of taxonomies should be configured as a post type.
You can see it live in action with the real estate reference site:
=> enlace oculto
You may try to create a test site on our free test platform discover-wp.com and try to install the real estate reference site and play with it to learn how those dependent dropdowns for state and city is configured and latest you should configure it on your site accordingly.