This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

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

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

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 />

            <h3 id="title2-1" ><a href="#title2-1">title2</a></h3>

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

 Some Text<br />


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 title=’title2′ class=’new-class’]
Some Text

Sample CSS

Here is some sample css to get you started.
Another place to look for it would be the, The shortcode used the jQuery UI to generate the accordion.

    margin:5px 0 0;
.ui-accordion-header a{
    padding:5px 12px;
    background: #CCC; 
.ui-accordion-header.ui-state-active a,
.ui-accordion-header a:hover{
    background-color: #DDD;


  1. Extract the zip file into wp-content/plugins/ in your WordPress installation
  2. Go to plugins page to activate
  3. Add styles to make the accordion look the way you want.


There are no reviews for this plugin.

Contributors & Developers

“Accordion Shortcode” is open source software. The following people have contributed to this plugin.


Translate “Accordion Shortcode” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • removed php warnings


Trying to commit the changes from git


  • improved js loading. js only gets loaded when it is needed
  • fixed bugs


  • Initial release