WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Accordion Shortcode

Lets you easily add accordions into your posts and pages using the accordion shortcode

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]

Requires: 3.3 or higher
Compatible up to: 3.3.2
Last Updated: 2012-9-19
Downloads: 23,397

Ratings

4 stars
4.6 out of 5 stars

Support

0 of 4 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,3,3
0,1,0
50,2,1
100,4,4
100,1,1
0,1,0
50,2,1