Bootstrap Shortcodes - Version 3.0.2

Version Description

  • Minor bugfixes and preview updates
Download this release

Release Info

Developer sinetheta
Plugin Icon Bootstrap Shortcodes
Version 3.0.2
Comparing to
See all releases

Code changes from version 3.0.1 to 3.0.2

bootstrap-shortcodes.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Bootstrap Shortcodes
4
  Plugin URI: https://github.com/TheWebShop/bootstrap-shortcodes
5
  Description: A simple shortcode generator. Add buttons, columns, toggles and alerts to your theme.
6
- Version: 3.0.1
7
  Author: Kevin Attfield
8
  Author URI: https://github.com/Sinetheta
9
 
3
  Plugin Name: Bootstrap Shortcodes
4
  Plugin URI: https://github.com/TheWebShop/bootstrap-shortcodes
5
  Description: A simple shortcode generator. Add buttons, columns, toggles and alerts to your theme.
6
+ Version: 3.0.2
7
  Author: Kevin Attfield
8
  Author URI: https://github.com/Sinetheta
9
 
js/plugins/buttons.html CHANGED
@@ -8,13 +8,15 @@
8
  <script type="text/javascript" src="../bootstrap.js"></script>
9
  <script type="text/javascript">
10
  (function($) {
11
- $('#insert').click(function() {
 
12
  var size = $('select[name=size]').val();
13
  var type = $('select[name=type]').val();
14
  var value = $('input[name=value]').val();
15
  var link = $('input[name=link]').val();
16
  top.tinymce.activeEditor.insertContent('[bs_button size="'+size.toLowerCase()+'" type="'+type.toLowerCase()+'" value="'+value+'" href="'+link+'"]');
17
  top.tinymce.activeEditor.windowManager.close();
 
18
  });
19
  }(jQuery));
20
  </script>
@@ -41,9 +43,9 @@
41
  <option value="Link"> Link</option>
42
  </select>
43
  <label for="value">Value</label>
44
- <input type="text" class="form-control" id="value" name="value" placeholder="Value" onclick="this.select()" />
45
  <label for="link">Link</label>
46
- <input type="text" class="form-control" id="link" name="link" placeholder="#" onclick="this.select()" />
47
  </div>
48
  <button type="submit" id="insert" class="btn btn-primary">Insert</button>
49
  </form>
8
  <script type="text/javascript" src="../bootstrap.js"></script>
9
  <script type="text/javascript">
10
  (function($) {
11
+ $(document).ready(function() {
12
+ $('#insert').click(function() {
13
  var size = $('select[name=size]').val();
14
  var type = $('select[name=type]').val();
15
  var value = $('input[name=value]').val();
16
  var link = $('input[name=link]').val();
17
  top.tinymce.activeEditor.insertContent('[bs_button size="'+size.toLowerCase()+'" type="'+type.toLowerCase()+'" value="'+value+'" href="'+link+'"]');
18
  top.tinymce.activeEditor.windowManager.close();
19
+ });
20
  });
21
  }(jQuery));
22
  </script>
43
  <option value="Link"> Link</option>
44
  </select>
45
  <label for="value">Value</label>
46
+ <input type="text" class="form-control" id="value" name="value" placeholder="Value" />
47
  <label for="link">Link</label>
48
+ <input type="text" class="form-control" id="link" name="link" placeholder="#" />
49
  </div>
50
  <button type="submit" id="insert" class="btn btn-primary">Insert</button>
51
  </form>
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Bootstrap Shortcodes ===
2
  Contributors: sinetheta, beaurixon, no3x, Designwall Team
3
  Tags: shortcode, shortcodes, bootstrap, buttons, grid, well, responsive, widget
4
- Requires at least: 3.0
5
  Tested up to: 3.9
6
- Stable tag: 3.0.1
7
  License: GNU General Public License v2.0
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -26,6 +26,9 @@ Please report issues [here](https://github.com/TheWebShop/bootstrap-shortcodes/i
26
 
27
  == Changelog ==
28
 
 
 
 
29
  = 3.0.0 =
30
  * Updated for Wordpress 3.9 and TinyMCE 4
31
 
@@ -62,3 +65,5 @@ Please report issues [here](https://github.com/TheWebShop/bootstrap-shortcodes/i
62
  2. Custom buttons added to the TinyMCE visual editor for adding shortcodes to content.
63
  3. The glyphicon selection tool for adding Bootstrap icons.
64
  4. The grid maker tool to help create custom layouts.
 
 
1
  === Bootstrap Shortcodes ===
2
  Contributors: sinetheta, beaurixon, no3x, Designwall Team
3
  Tags: shortcode, shortcodes, bootstrap, buttons, grid, well, responsive, widget
4
+ Requires at least: 3.9
5
  Tested up to: 3.9
6
+ Stable tag: 3.0.2
7
  License: GNU General Public License v2.0
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
26
 
27
  == Changelog ==
28
 
29
+ = 3.0.2 =
30
+ * Minor bugfixes and preview updates
31
+
32
  = 3.0.0 =
33
  * Updated for Wordpress 3.9 and TinyMCE 4
34
 
65
  2. Custom buttons added to the TinyMCE visual editor for adding shortcodes to content.
66
  3. The glyphicon selection tool for adding Bootstrap icons.
67
  4. The grid maker tool to help create custom layouts.
68
+ 5. The button maker tool to help setting up your buttons.
69
+ 6. The available notifications.