Skip Navigation

[Resolved] How to make toolset taxonomy term selected by default in filter?

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

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 2 replies, has 2 voices.

Last updated by Himanshu Agarwal 5 years, 9 months ago.

Assisted by: Nigel.

Author
Posts
#1197180

I have a filter of product category (taxonomy term) as drop down,
and
I have a top most category with name (ALL), and all other categories are child of it.

I want to make this category (ALL) selected by default on load.

Please help me to, how could we make a category selected in taxonomy filter in a drop down field?

#1197291

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Toolset doesn't have an option to provide a default value for a Views search filter (you might want to use the form at https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/ to suggest it).

The only way for this to work is if the link to the page where you insert your View includes the URL parameter that the View uses for the product category filter.

So when you link to the page the link might look something like this:

<em><u>hidden link</u></em>
#1199100

My issue is resolved now. Thank you!