Skip Navigation

[Resolved] Customization in filter button

This support ticket is created 4 years 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 5 replies, has 2 voices.

Last updated by deepS 3 years, 11 months ago.

Assisted by: Waqar.

Author
Posts
#1884995

Hi,
I want to place a button like 'All' displaying all the results without any filter along with the other filter buttons. I want to place the radio button in the arrow marked places shown in the screenshot.
Please help me to resolve the issue at the earliest.

#1885681

Hi,

Thank you for contacting us and I'd be happy to assist.

I couldn't find any screenshot attached with your message. Can you please share the screenshot that you refer to along with the link to a page where this view can be seen?

regards,
Waqar

#1885725
Screenshot_4.jpg

Sorry, somehow I missed the attachment. Thanks.

#1885977

Thank you for the screenshot, but I'm afraid, it is not very conclusive on its own.

I'll be in a better position to suggest the best way forward if you could also share the link to a page with this view and the temporary admin login details.

Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.

#1888439

Thank you for sharing these details.

To include "All" ( default ) option for your custom field filtering fields, you can include the default_label="All" attribute in the "wpv-control-postmeta" shortcode of the archive:
( ref: https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-control-postmeta )


[wpv-control-postmeta type="radios" field="wpcf-course-type" url_param="wpv-wpcf-course-type" default_label="All"]

[wpv-control-postmeta type="radios" field="wpcf-course-duration" url_param="wpv-wpcf-course-duration" default_label="All"]

#1890615

My issue is resolved now. Thank you!