This repository has been archived by the owner on Feb 8, 2023. It is now read-only.
forked from MWDelaney/bootstrap-3-shortcodes
-
Notifications
You must be signed in to change notification settings - Fork 11
/
readme.txt
205 lines (174 loc) · 9.24 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
=== Bootstrap Shortcodes for WordPress ===
Contributors: FoolsRun, filipstefansson, nodley, ciromattia
Tags: bootstrap, shortcode, shortcodes, responsive, grid
Requires at least: 3.8
Tested up to: 4.6.1
Stable tag: 4.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Implements Bootstrap 4 styles and components in WordPress through shortcodes.
== Description ==
###Just The Shortcodes, Please
Plenty of great WordPress plugins focus on providing or including the Bootstrap library into your site. **Bootstrap Shortcodes for WordPress** assumes you're working with a theme that already includes Bootstrap 3 and focuses on giving you a great set of shortcodes to use it with.
This plugin creates a simple, out of the way button just above the WordPress TinyMCE editor (next to the "Add Media" button) which pops up the plugin's documentation and shortcode examples for reference and handy "Insert Example" links to send the example shortcodes straight to the editor. There are no additional TinyMCE buttons to clutter up your screen, just great, easy to use shortcodes!
**Requires PHP 5.3 or newer**
For questions, support, or to contribute to this plugin, check out [our GitHub project](https://github.com/ciromattia/bootstrap-4-shortcodes)
####Updated for Bootstrap 4.x
Tested and working in the latest version of Bootstrap!
###Supported Shortcodes
####Layout
* Grid (container, row, columns, fully responsive)
####Content
* Lead body copy
* Emphasis classes
* Code
* Tables
* Buttons
* Images
* Responsive embeds
* Responsive utilities
####Components
* Button Groups
* Button Dropdowns
* Navs
* Breadcrumbs
* Labels
* Badges
* Jumbotron
* Page Header
* Alerts
* Progress Bars
* Media Objects
* List Groups
* Cards
* Tabs
* Tooltip
* Popover
* Collapse (Accordion)
* Carousel
* Modal
== Installation ==
1. Download and unzip this plugin
1. Upload the "bootstrap-4-shortcodes" folder to your site's `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. Create or edit a page or post and click the "B" button that appears above the editor to see the plugin's documentation!
== Frequently Asked Questions ==
= Does this plugin include Bootstrap 4? =
No, we assume you are already working with a WordPress theme that includes the Bootstrap libraries.
== Changelog ==
= 4.0 =
* Rename to bootstrap-4-shortcodes
* Added "xl" breakpoint to columns
* Added "flex-" alignments to rows
* Removed "panel", "well" and "thumbnail" in favor of the new "card" element
* Shortcode "collapsible" changed to "accordion"
* Added new shortcode "carousel-caption"
* Added new shortcode "media-list"
* Updated carousel to reflect new naming
* Updated columns to reflect new naming (push/pull/offset)
= 3.3.10 =
* Tested to work with WordPress 4.6
* Fixed bug in [collapse] (thanks who all who reported it)
* Note PHP 5.3 or greater requirement in documentation
* Update documentation for clarity
* Fix issue with xclass in active tabs (thanks who all who reported it!)
= 3.3.8 =
* Tested to work with WordPress 4.5
* Set a default "active" slide in carousel if none is specified
* Add shortcode for responsive embeds
* Correct some non-latin characters displaying incorrectly
* Add filter to hook into tabs for things like tab history (thanks, Jason Maners!)
= 3.3.6 =
* Allow for xclass property on individual [tab]s
* Prevent Bootstrap help popup button from appearing on unintended pages
* Allow for commas in [popover] content
* Further correction for conflicts with Visual Composer
* Allow special characters in [page-header]
= 3.3.5 =
* Tested to work in WordPress 4.1!
* Allow non-English characters in [table-wrap], [media-object], [img], [thumbnail], [modal], [tab], and [collapse]
* Better compatibility with Visual Composer (Thanks, jannejava!)
* [tabs] and [tab], fix defaulting the first tab as "active" if no tabs are explicitly set as "active"
= 3.3.4 =
* Restore Bootstrap 3.2 backwards compatibility for [media-object] shortcode, updated documentation to use Bootstrap 3.3 example, but offer 3.2 options.
* Add "collapsed" class to non-active [collapse] elements (thanks, Artem!)
= 3.3 =
* Tested to work with Bootstrap 3.3!
* Only enqueue tooltip and popover trigger javascript if those shortcodes are in use
* Added support for offsets, pulls, and pushes of "0" in [column]
* Added support for Bootstrap's responsive tables in [table-wrap]
* Better correct for conflicts with Gravity Forms --these two plugins should finally play well together
* Fix documentation for [modal] and [responsive]
* Removed use of extract() to better fit with WordPress's best practices.
= 3.2.4 =
* NOTE: this update changes the way the [table-wrap], [tooltip], [popover], [page-header], [img], and [media-object] shortcodes function to better correct for unexpected input. Please report any problems you have with these shortcodes following this update.
* Add Bootstrap shortcode help popup button to Distraction Free Writing Mode toolbar
* Better responsive styles for help popup button on smaller screens
* Better correction for malformed or unexpected input in [table-wrap], [tooltip], [popover], [page-header], [img], and [media-object]s
* Fix display problems for WP-Engine users
* Fix documentation for [popover]
* Better handling of Gravity Forms' "No Conflict Mode"
* Fix conflict with All-In-One Events Calendar
* Fix for some situations where the help-tab popup would be behind other popup elements.
* WordPress 4.0 support!
= 3.2.3 =
* Fix conflicts with other plugins, like Gravity Forms, which use Bootstrap on the WordPress back-end.
= 3.2 =
* New Features
* This release features a brand new, much easier to use popup for the documentation. We're now using Bootstrap's "modal" component rather than the soon-to-be-retired WordPress Thickbox. We've also split the documentation up into tabs so that the technical information about the plugin isn't cluttering up the shortcode reference material. This should make the plugin a little less scary for end-users.
* Added optional "target" parameter to [list-group-item]
* Added support for new "block", "inline", and "inline-block" parameters in [responsive] introduced in Bootstrap 3.2
* Remove legacy [icon-white] shortcode (it wasn't documented anyway)
* Bug Fixes
* Fixed issue with [carousel] indicators (thanks, mebdev!)
* Fix any parameters expecting "true", or "false" accepting any input as "true". Now only accepts the word "true"; other input will be ignored and read as "false".
* Fix bug that prevented CSS classes from being applied to [dropdown-item]s
* Fixed bug that completely broke [divider] in dropdowns
* Fix animated progress bar classes
= 3.1.2 =
* Tested to work in WordPress 3.9
* Fix and document collapsibles "Active" state
* Fix uninitialized variables causing errors in debug mode
* Fix "Active" tab, carousel checking, should work better now
* Fix media button icon in Internet Explorer
= 3.1.1 =
* Support new parameters introduced in Bootstrap 3.1.x
* Use custom icon-font for editor button
* Fix bug which broke Distraction Free Editing in WordPress
* Fix bug which caused [responsive] shortcodes not to work
= 3.0.3.6 =
* Significant rewrite to properly escape inputs
* [tabs] now supports "pills" and "fade" styles
* [tabs] and [carousel] now support setting a tab or image other than the first one as "active". If no tab or carousel item is set to "active" the first one is set by default.
* [panel] titles are now optional (see documentation for new shortcode parameters)
* [list-group-item] now supports optional "type" parameter (Bootstrap 3.1 only)
* [button] now supports "disabled" and "active" parameters
* [progress-bar] now supports showing labels
* Add [dropdown-header] shortcode
* [container] now includes optional "fluid" parameter (Bootstrap 3.1 only)
* [modal] now supports sizes (Bootstrap 3.1 only)
* Composer support
* Resolve errors regarding uninitialized variables experienced by some users
* Resolve image path icons for non-standard WordPress directory names
* Resolved DOMDocument errors experienced by some users (if you still see these errors or warnings please let us know)
= 3.0.3.5 =
* Add support for [container] shortcode for themes without a container defined
* Add support for [carousel] and [carousel-item] shortcodes
* Add support for "xclass" and "data" parameters to all shortcodes
* Plenty of bugfixes and code cleanup to fix common issues
= 3.0.3.2 =
* Fix help tab popup on edit pages
= 3.0.3.1 =
* Change help-tab to inline rather than iframe in to meet WordPress.org submission requirements
* Add support for images (http://getbootstrap.com/css/#images)
* Add support for progress bars (http://getbootstrap.com/components/#progress)
* Add support for page header (http://getbootstrap.com/components/#page-header
* Improve list groups, add support for linked items and custom content (http://getbootstrap.com/components/#list-group)
* Add support for button dropdowns (http://getbootstrap.com/components/#btn-dropdowns)
* Add support for breadcrumbs (http://getbootstrap.com/components/#breadcrumbs)
* Add support for button-toolbar in button groups (http://getbootstrap.com/components/#btn-groups-toolbar)
* Add support for navs (http://getbootstrap.com/components/#nav)
* Remove "strong" parameter from alerts --this should be handled in the wrapped content
* Allow arbitrary classes in columns
= 3.0.3 =
* Initial WordPress.org release