Skip Navigation

[Resolved] Show only one taxonomy and its children in a dropdown

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

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by davidP-26 4 years, 10 months ago.

Assisted by: Christian Cox.

Author
Posts
#1544463

Tell us what you are trying to do?
A custom post type "Product" has taxonomy "Applications". There are 5 parent applications and many subapplications, that are direct children.
Right now have a view that shows a dropdown with list of all applications with all children.

I would like to split this to have 5 views, each view showing only one parrent application and its children.

What is the link to your site?
hidden link
pass: factory

The first dropdown in question is located on the page hidden link below. I would like that dropdown lists only "Etikettenpapiere" parent application and its children.

#1544913

Hello, unfortunately there's nothing exactly like that built into Views. It's not simple to split apart a taxonomy filter this way, and it would inevitably cause problems with other Views features like "Only show available options for each input" and automatic updates. I think this would require custom code that falls outside the scope of our support forums, including custom JavaScript and PHP. Or you could consider breaking the taxonomy apart into separate taxonomies, one per filter.

#1547947

My issue is resolved now. Thank you!