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="style01|style02"]
[accordion title="TITLE" expand="true" icon="FONT_ICON_CLASS"] Text [/accordion]
[accordion title="TITLE" icon="FONT_ICON_CLASS"] Text [/accordion]
[accordion title="TITLE" icon="FONT_ICON_CLASS"]Text [/accordion]
...
[/accordions]
In Zap theme, we pre-defined CLASS_WRAPPER can be:
- style01
- style02
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