Skip Navigation

[Resolved] one selection filter instead of several selection filters

This support ticket is created 7 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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 1 reply, has 2 voices.

Last updated by Beda 7 years, 10 months ago.

Assisted by: Beda.

Author
Posts
#410537
1.PNG
3.png
2.png
4.png

I have a selection filter, selecting an option I need to show another filter selection for example:
Category 1
Category 2
category 3

if i select category 1 should to display a selection filter with subcategory 1, 2, 3, 4, 5, ...

image 1 -3 shows how i need my filter

image 4 is how it shows now

#410687

In Views, every taxonomy as a parametric Search has it's own "interface", which means, each taxonomy will have it's select Field or however you decided to show the Filter.

If a taxonomy is hierarchical, it will display the Child and Parent Terms all in the Same Field.

But every single Taxonomy must have it's own Filter Field, this alos is valid for Custom Field Filters or any other Filter.

There is a request field to allow to split Parent Terms from Child Terms, allowing a "step by step" Filtering (first parents, and then Childs), but this is not yet in any road map.

You can see here how to set this filters up with Views:
https://toolset.com/documentation/user-guides/front-page-filters/

To conclude, if you have let's say 10 Taxonomies and want to filter by all of those, you need 10 different Filter Fields (as example 10 Select Fields)

Perhaps you can enhance your Search a bit by "merging" a Few Taxonomies, and / or passing few arguments "hardcoded" in the URL or as ShortCode Paramter:
https://toolset.com/documentation/user-guides/passing-arguments-to-views/

But doing this would not allow your End user anymore to filter him/herself the results.

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