Skip Navigation

[Resolved] replace blank “all” field with name in filter dropdown

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted to add a default value to their dropdowns

Solution:

What you need to do is to add this attribute to the filter shortcode in views default_label='All'.

This support ticket is created 6 years, 2 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
- 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)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by a.e.a.m.S 6 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1129018
Schermafbeelding 2018-10-17 om 12.11.10.png
Schermafbeelding 2018-10-17 om 12.11.03.png

Hi, i'm trying to rename the blank field in a filter dropdown for taxonomies which is outputting all the records, with for example the word "Alle trainingen"
Tried the search function on the website but did not find any solution.

#1129268

Shane
Supporter

Languages: English (English )

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

Hello,

Thank you for contacting our support forum.

What you need to do is to add this attribute to the filter shortcode in views default_label='All'.

Please try this and let me know if it helps.

Thanks,
Shane

#1129674

Hi Shane,

Thanks for your support.
i placed the attribute to the shortcode and it is working now, thanks!

#1129675