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

Bootstrap MCE Elements

外掛說明

This plugin creates a button inside of every rich text editor within WordPress which allows the user to insert pre-built Bootstrap compatible code into the editor. This plugin includes the ability to add Buttons, Wells, Labels & Badges of different sizes and styles easily into your WordPress pages or posts. It also allows you to include the default Bootstrap CSS for these objects in your WordPress editor and your template if you wish.

In addition if you want to you can modify the “display.css” to customize the look of the bootstrap elements.

This is a great plugin if you use a bootstrap theme such as the Roots theme.

螢幕擷圖

  • Added options panel on the "labels" tab
  • Added options panel on the "buttons" tab
  • Example of built in Bootstrap CSS classes

安裝方式

  1. Upload the plugin dir to the /wp-content/plugins/ directory or add the bootstrap-mce-elements.zip through the wordpress add plugin dialog
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the ‘Bootstrap MCE’ menu under settings and make to select whether or not you wish the bootstrap CSS to be included for you in the WordPress editor and/or the theme.
  4. Open any page/post that uses a rich text editor and see the new “B” icon on the top row of the editor

常見問題集

Why does the plugin only insert text into my editor?

It actually is wrapping that text in a span with bootstrap classes but if you do not have the editor style enabled through the plugins settings or have the bootstrap classes in your WordPress’s editor-style.css file then all it will look like is unformatted text.

The elements look correct in the editor but they do not show up on my sites front end?

You either don’t have the correct Bootstrap classes added to your themes classes or you do not have the front end css enabled on the plugins settings.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Bootstrap MCE Elements〉的開發相關工作。

參與者

將〈Bootstrap MCE Elements〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • Initial Release