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.
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
Sorry, somehow I missed the attachment. Thanks.
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.
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"]
My issue is resolved now. Thank you!