Accordion

Return vertically collapsing accordion.

Shortcode

[accordion]
[accordion_item title="Title 1"]Content 1[/accordion_item]
[accordion_item title="Title 2"]Content 2[/accordion_item]
[/accordion]

Attributes

Name Type Default Description
accordion
accordion_active number 1 Set number of accordion which should be open. If you want close all accordions use "0".
parent boolean 1 Set to "1" to close other items when one is opened.
accordion_item
title string Title here... Title of the accordion item.
icon string Icon name: Glyphicons, Font Awesome or Pe-icon-7-stroke.