Evolve - Drupal 7

Accordion

Last updated: Thu Jan 03 2019

Accordion shortcode allows you to provide multiple panes and display them one at a time. We can create an accordion quickly by using syntax as below:

[accordions]
[accordion title="TITLE_ITEM_1"]Content Item 1 here[/accordion]
[accordion title="TITLE_ITEM_2"]Content Item 2 here[/accordion]
[accordion title="TITLE_ITEM_{I}"]Content Item {I} here[/accordion]
[/accordions]

NOTE: - Default value of expand property is FALSE

  • You can define more than class if you want

You can reference to link to view how shortcode display