這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Twitter Bootstrap Collapse aka Accordian Shortcode

外掛說明

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

螢幕擷圖

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

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Twitter Bootstrap Collapse aka Accordian Shortcode〉的開發相關工作。

參與者

變更記錄

1.0

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