Skip Navigation

[Resolved] Add accordions to search fields view

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

This topic contains 2 replies, has 2 voices.

Last updated by kateT 4 years, 10 months ago.

Author
Posts
#1794963
Current Checkboxes.png
Desired Accordion.png

I have several custom fields that have many options and would take up considerable vertical space to list. I would like to style the search fields so that the search field name is in the header of accordions and upon expansion would list the relevant checkboxes. Attached are screenshots of the current view (site is still in development) and the desired outcome.

#1795353

Nigel
Supporter

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

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

Hi Kate

Toolset doesn't yet have an accordion block, you would need to use a 3rd-party solution, such as Kadence blocks.

You should be able to add accordion blocks to the search filter section of your View and drag and drop the search filters into place as required.

You'll need to set the accordion titles manually. To avoid the titles being duplicated, in the settings for the filters you can opt not to show the label.

#1795565

Hi, Nigel,

Thank you for the reply! That is super helpful, I will look into 3rd party solutions and follow your notes above. I appreciate it!