Accordion

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 class="CLASS_WRAPPER"]
[accordion title="TITLE_ITEM_1" expand="TRUE|FALSE" class="CLASS_ITEM"]Content Item 1 here[/accordion]
[accordion title="TITLE_ITEM_2" expand="TRUE|FALSE" class="CLASS_ITEM"]Content Item 2 here[/accordion]
[accordion title="TITLE_ITEM_{I}" expand="TRUE|FALSE" class="CLASS_ITEM"]Content Item {I} here[/accordion]
[/accordions]

The sample result of arrcodion shortcode as below:

NOTE: Default value of expand property is FALSE

In Orane theme, we pre-defined CLASS_WRAPPER can be:

  • style01
  • style02

You can define more than class if you want

You can reference to link to view how shortcode display

results matching ""

    No results matching ""