Skip Navigation

[Resolved] Creating an accordion block with a custom field in each slide

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

Problem:
Does Toolset have an Accordion output or block?

Solution:
Currently, to have a block with accordion features or maybe even the option to output a View loop directly as accordions, you'd have to request such feature from https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

Other solutions can be seen here:
https://toolset.com/forums/topic/creating-an-accordeon-block-with-a-custom-field-in-each-slide/#post-1588351

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

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 2 replies, has 2 voices.

Last updated by AlexV7701 4 years, 9 months ago.

Assisted by: Beda.

Author
Posts
#1588343

Hi Toolset team,

We are trying to create an accordeon block with a custom field in each slide.

A default or Toolset accordeon block does not seem to exist. We tested some external block plugins but they can not contain Toolset block or fields, and the 'Add field or view' option does not work either.

Is there a way to display Toolset custom fields in an accordeon? (or Tabs)

Many thanks for your help,
Alex

#1588351

That's right, there is no such block in Toolset.

You could use Bootstrap Accordion syntax but then you'd most want to use Classic Editors for the View, and maybe design the Content Templates that will display content in the accordions once unfolded with blocks, separately.

We have such cell for Layouts, https://toolset.com/documentation/user-guides/layouts/accordion-cell/, but Layouts is more intended for existing sites, not for new development, because it's not Gutenberg oriented.

You can find examples of accordions created with Views (in classic mode) here https://toolset.com/forums/topic/split-displaying-terms-in-accordion-style-list-with-embedded-view/

Currently, to have a block with accordion features or maybe even the option to output a View loop directly as accordions, you'd have to request such feature from https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

#1590953

All clear, thanks very much Beda!!