Linux 软件免费装
Banner图

Bootstrap MCE Elements

开发者 Daniel Nice
更新时间 2013年4月18日 02:48
捐献地址: 去捐款
PHP版本: 3.5.0 及以上
WordPress版本: 3.5.1
版权: GPLv2 or later
版权网址: 版权信息

标签

tinymce bootstrap buttons elements labels

下载

详情介绍:

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.

安装:

  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

屏幕截图:

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

常见问题:

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.

更新日志:

1.0