Описание
WordPress плагин для добавления шорткодов Twitter Bootstrap 3.3
Latest Bootstrap
Bootstrap Shortcodes allow quick and easy implementation of Twitter Bootstrap components through the TinyMCE rich-editor.
Requirements
The plugin works out of the box: it loads Bootstrap’s CSS and JavaScript for you.
If your theme already includes Bootstrap, uncheck «Load Twitter Bootstrap css file» and «Load Twitter Bootstrap javascript file» under Settings > BS Shortcodes so it isn’t loaded twice.
Supported Shortcodes
Мы добавили ряд кнопок вниз к вашему визуальному редактору, каждая из которых добавляет самые популярные компоненты Bootstrap.
CSS
- Alerts
- Buttons
- Grid (container, row, columns, fully responsive)
- Icons
- Этикетки
- Lead Text
- Wells
JavaScript
- Collapse
- Tabs
- Tooltip
Поддержка
Пожалуйста, доложите о любых проблемах в нашу Github репозиторию.
Скриншоты







Установка
- Unzip files.
- Upload the folder into your plugins directory.
- Activate the plugin.
- Add new shortcodes to posts or pages.
Часто задаваемые вопросы
-
You must toggle the Advanced Editor Toolbar to unlock the Bootstrap Shortcodes icons. (see screenshot)
Отзывы
Участники и разработчики
«Bootstrap Shortcodes» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «Bootstrap Shortcodes» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
3.5.0
- Add optional target attribute to the button shortcode («_blank» also adds rel=»noopener noreferrer»)
3.4.6
- Fix stored XSS via the bs_tcontent id attribute (unquoted attribute, CVE-2026-112111). Reported by Andrew Herd.
- Update bundled Bootstrap from 3.3.5 to 3.4.1 (fixes XSS in tooltip and collapse data attributes)
- Fix tab IDs generated by the editor containing dots
3.4.2
- Fix remaining XSS vulnerabilities (e.g. tooltip title escaping)
3.4.1
- Fix XSS vulnerability (escaping shortcode attributes)
3.4.0
- Updated icons to 3.3.5
- Added control panel popup for inserting alerts.
- Added option to hide dismiss button in alerts.
- Added option to display accordions as initially expanded.
3.3.0
- Updated Boostrap from 3.3.1 to 3.3.5
- Add .btn-block as a button «size»
- Change default column size from xs to sm
3.2.1
- Reverted wpautop injection changes to prevent conflicts with other plugins
3.2.0
- Fixed issues related to WordPress 4.1 update
- Prevented WordPress wpautop injection from interfering with shortcodes
3.1.0
- Updated Boostrap from 3.1.1 to 3.3.1
- Added Aria roles to accordion panels
3.0.2
- Minor bugfixes and preview updates
3.0.0
- Updated for WordPress 3.9 and TinyMCE 4
2.1.1
- Fixed grid wizard
2.1
- Added support for labels
2.0
- Namespaced shortcodes to prevent conflicts with other plugins and themes
1.5
- Added support for tooltips
1.4
- Added support for tabs
1.3
- Added support for leads
1.2
- Added options to disable Shortcodes in TinyMCE editor
1.1
- Added support for wells
1.0
- Upgraded from Bootstrap 2 to 3
