Accordion Shortcode

Lets you easy add accordions into your post and pages using the accordion shortcode

Author:CTLT (profile at wordpress.org)
WordPress version required:3.3
WordPress version tested:3.3.2
Plugin version:1.2.1
Added to WordPress repository:20-03-2012
Last updated:19-09-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:96
Rated by:8
Plugin URI:http://wordpress.org/extend/plugins/accordion...
Total downloads:34 837
Active installs:700+
plugin download
Click to start download

To make the accordions appear the way you want you need to add your own styling to them Lets you add accordion to your post and pages.

By using the following shortcodes

[accordions]
[accordion title="title1"] tab content [/accordion]
[accordion title="title2"] another content tab [/accordion]
[/accordions]

will generate the following html.

<div id="random-accordion-id-872" class="accordions-shortcode">
            <h3 id="title1-0" ><a href="#title1-0">title1</a></h3>

            <div class="accordian-shortcode-content" >

                
 Some Text<br />
            </div>
        
            <h3 id="title2-1" ><a href="#title2-1">title2</a></h3>

            <div class="accordian-shortcode-content " >

                
 Some Text<br />
            </div>
        
</div>

Additional attributes that you could pass into the shortcode

[accordions autoHeight='true'  disabled='false' active=0  clearStyle=false collapsible=false fillSpace=false ]
[accordion title='title1' class='new-class']
 Some Text
[/accordion]
[accordion title='title2' class='new-class']
 Some Text
[/accordion]
[/accordions]

ChangeLog