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.

Twitter Bootstrap Collapse aka Accordian Shortcode


This plugin adds [collapse_group] and [collapse] shortcode to generate twitter bootstrap’s collapse aka accordian.


[collapse_group id="optional_group_1" class="optional_class"]
    [collapse title="my heading1" id="optional_id" open="y/n"]some text[/collapse]
    [collapse title="my heading2" id="optional_id" open="y/n"]some text[/collapse]

See output of this code in Screenshots


  • screenshot-1.png
  • screenshot-2.png


How to install the plugin and get it working.

  1. Upload twitter-bootstrap-collapse-shortcode folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. You can now use [collapse_group] and [collapse] shortcode for your accordian.


What is Twitter Bootstrap?

Twitter Bootstrap is a decent, intuitive, and powerful front-end framework for faster and easier web development. Bootstrap offers cross browser compatible 12-column responsive CSS which not only work nice for older browsers (like IE7) but also perfectly behave in Smartphone, mobile and tablet browsers. It also includes several JavaScript components that are usually required in a well interactive intermediate level web portal.

Does it work without Twitter Bootstrap?

Sorry, this is not for you. It will not work without Twitter Bootstrap.

Where I can download Twitter Bootstrap?

You can download Twitter Bootstrap from their official website

Contributors & Developers

“Twitter Bootstrap Collapse aka Accordian Shortcode” is open source software. The following people have contributed to this plugin.




  • Implemented [collapse_group] and [collapse] as per Twitter Bootstrap v2.2.2
  • Another change.