Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Twitter Bootstrap Collapse aka Accordian Shortcode

Skildring

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

Usage:

[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]
[/collapse_group]

See output of this code in Screenshots

Skjermbilete

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

Installasjon

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.

Vanlege spm.

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 http://twitter.github.com/bootstrap/.

Omtalar

There are no reviews for this plugin.

Bidragsytarar og utviklarar

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

Contributors

Endringslogg

1.0

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