Accordion Shortcode

Posted on May 6, 2014 in Content

Accordions are useful when needing to condense a large amount of content into a small display area.  Below is the shortcode used to create an accordion.  Upon saving and viewing the page, the shortcode will turn into an accordion box.  The shortcode can be applied in either the Visual or Text view of the editor.

By default the first accordion section will render opened.  To change it to closed, include the following parameters within the open accordions tag: [accordions active=100 collapsible=true]

 

[accordions][accordion title="Insert Title Here"]

Insert accordion content here.

[/accordion][accordion title="Insert Title Here"]

Insert accordion content here.

[/accordion][accordion title="Insert Title Here"]

Insert accordion content here.

[/accordion][/accordions]

Insert Title Here


Insert accordion content here.

Insert Title Here


Insert accordion content here.

Insert Title Here


Insert accordion content here.