Skip Navigation

[Resolved] custom search view using hierarchial taxonomy

This support ticket is created 5 years, 3 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shane 5 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#1180952

I am using a custom hierarchial taxonomy. Now i want to create a custom search view where i want to show two dropdown one for the parent taxonomy and when it is selected only the child taxonomies under this parent taxonomy start appearing in another dropdown. Is it Possible?

#1180984

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Unfortunately no this is not possible. This is because it is still one taxonomy category. The only way this is possible is if the child terms are a separate taxonomy.

Thanks,
Shane

#1183457

could you please explain, suppose i create two taxonomies 1.state 2.city.
how to create a search view filter so that city is dependent on taxonomy.
I want to achieve it using taxonomy because i will pass the taxonomy value in url to google analytics.

#1183611

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Yes creating 2 separate taxonomies will work.

Now this will be on the views side to make the appropriate city appear.

Take a quick look at our documentation here
https://toolset.com/documentation/user-guides/front-page-filters/advanced-settings-custom-search/#dependent-parametric-search

This will allow you to setup your dependent filters.

Please let me know if this helps.
Thanks,
Shane

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.