Skip Navigation

[Resolved] How can I have a way to filter a view as accordion or toggle

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

Problem:
How can I have a way to filter a view as accordion or toggle

Solution:

You can find the proposed solution, in this case with the following reply:
https://toolset.com/forums/topic/how-can-i-have-a-way-to-filter-a-view-as-accordion-or-toggle/#post-1234119

Relevant Documentation:

This support ticket is created 5 years, 8 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Jeffrey 5 years, 8 months ago.

Assisted by: Minesh.

Author
Posts
#1234030

Hello, I am trying to output a view to an accordion or toggle, Now I am using Elementor to build a content template for this view, but if you have a better way, I can choose others you recommend. output as an accordion, all items have to be expanded or closed. but I am looking to set the previous item close when the current item expanded. but as a view, you can only choose one instance, you have to put all looped items into one content template, this is why it is not easy to implement even it seems very easy. Thank you!

#1234119

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - you just need to loop through all the items using view's loop and build accordion.

Please check the following related tickets that may help you:
=> https://toolset.com/forums/topic/basic-accordion-implementation-in-views-without-shortcode/#post-588751
=> https://toolset.com/forums/topic/split-displaying-terms-in-accordion-style-list-with-embedded-view/#post-956562

If you find any issues, please get in touch with me with problem URL and access details.

I have set the next reply to private which means only you and I have access to it.

#1236172

My issue is resolved now. Thank you!