Easy Bootstrap Shortcode - Version 3.5

Version Description

Download this release

Release Info

Developer oscitas
Plugin Icon 128x128 Easy Bootstrap Shortcode
Version 3.5
Comparing to
See all releases

Code changes from version 3.4 to 3.5

README.txt CHANGED
@@ -4,11 +4,11 @@ Link: http://www.osCitasthemes.com
4
  Tags: Wordpress Shortcodes, Wordpress Bootstrap, Wordpress Bootstrap Shortcode, Bootstrap, Responsive pages, Editor plugin, Bootstrap Shortcode, TinyMCE
5
  Requires at least: 3.0
6
  Tested up to: 3.6
7
- Stable tag: 3.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Easy Bootstrap Shortcode enable you to add bootstrap styles in your pages, post and custom post in simpliest manner
12
 
13
  == Description ==
14
 
@@ -27,10 +27,10 @@ Easy Bootstrap Shortcode provides following styles
27
 
28
  Typography
29
 
30
- 1. Buttons
31
  2. Icon Heading
32
  3. Tables
33
- 4. Table Header and Body
34
  5. Table Cells
35
  6. Different table styles
36
  7. Responsive
@@ -73,3 +73,9 @@ It's that simple ... just what the name suggests
73
  2. different shortcode options this plugin provides
74
  3. columns shortcode
75
  4. table shortcode
 
 
 
 
 
 
4
  Tags: Wordpress Shortcodes, Wordpress Bootstrap, Wordpress Bootstrap Shortcode, Bootstrap, Responsive pages, Editor plugin, Bootstrap Shortcode, TinyMCE
5
  Requires at least: 3.0
6
  Tested up to: 3.6
7
+ Stable tag: 3.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Easy Bootstrap Shortcode enable you to add bootstrap 3.0 styles in your pages, post and custom post in simplest manner.
12
 
13
  == Description ==
14
 
27
 
28
  Typography
29
 
30
+ 1. Buttons
31
  2. Icon Heading
32
  3. Tables
33
+ 4. Table Header and Body
34
  5. Table Cells
35
  6. Different table styles
36
  7. Responsive
73
  2. different shortcode options this plugin provides
74
  3. columns shortcode
75
  4. table shortcode
76
+
77
+ == Changelog ==
78
+
79
+ = 1.1 =
80
+ * fixed columns alternate color issue in admin panel
81
+
osc_bootstrap_shortcode.php CHANGED
@@ -4,9 +4,10 @@
4
  Plugin Name: Easy Bootstrap Shortcode
5
  Plugin URI: http://www.oscitasthemes.com
6
  Description: Add bootstrap 3.0 styles to your theme by wordpress editor shortcode buttons.
7
- Version: 1.0
8
  Author: Oscitas Themes
9
  Author URI: http://www.oscitasthemes.com
 
10
  */
11
 
12
  add_action('admin_enqueue_scripts', 'osc_add_admin_shortcode_scripts');
4
  Plugin Name: Easy Bootstrap Shortcode
5
  Plugin URI: http://www.oscitasthemes.com
6
  Description: Add bootstrap 3.0 styles to your theme by wordpress editor shortcode buttons.
7
+ Version: 1.1
8
  Author: Oscitas Themes
9
  Author URI: http://www.oscitasthemes.com
10
+ License: Under the GPL v2 or later
11
  */
12
 
13
  add_action('admin_enqueue_scripts', 'osc_add_admin_shortcode_scripts');
shortcode/wpcolumns/plugin_shortcode.php CHANGED
@@ -8,6 +8,7 @@ function osc_theme_row($params, $content = null) {
8
  $result = '<div class="row">';
9
  //echo '<textarea>'.$content.'</textarea>';
10
  $content = str_replace("]<br />", ']', $content);
 
11
  $result .= do_shortcode($content);
12
  $result .= '</div>';
13
 
8
  $result = '<div class="row">';
9
  //echo '<textarea>'.$content.'</textarea>';
10
  $content = str_replace("]<br />", ']', $content);
11
+ $content = str_replace("<br />\n[", '[', $content);
12
  $result .= do_shortcode($content);
13
  $result .= '</div>';
14
 
shortcode/wpcolumns/wpcolumns_plugin.js CHANGED
@@ -60,7 +60,7 @@ jQuery(function(){
60
  <option value="two_third$one_third_last">2/3-1/3</option>\
61
  <option value="one_fourth$three_fourth_last">1/4-3/4</option>\
62
  <option value="three_fourth$one_fourth_last">3/4-1/4</option>\
63
- </select><br />\
64
  </td>\
65
  </tr>\
66
  <tr id="wpthree" style="display:none;">\
@@ -70,7 +70,7 @@ jQuery(function(){
70
  <option value="one_fourth$one_fourth_second$one_half_last">1/4-1/4-2/4</option>\
71
  <option value="one_half$one_fourth_second$one_fourth_last">2/4-1/4-1/4</option>\
72
  <option value="one_third$one_third_second$one_third_last">1/3-1/3-1/3</option>\
73
- </select><br />\
74
  </tr>\
75
  <tr id="">\
76
  <th><label for="append_column_table">Column Specification</label></th>\
@@ -88,7 +88,8 @@ jQuery(function(){
88
 
89
  var ele='',e=0,sm,md,off,xs,sel;
90
  var col= jQuery('#oscitas-no-of-wpcolumns').val();
91
- ele+= '<table id="appended" class="tb_multiple_column"><thead><tr><th>Column</th><th>Medium</th><th>Small</th><th>X-Small</th><th>Offset</th></tr></thead>';
 
92
  for(var i=1;i<=col;i++){
93
  sm='<select name="sm['+i+']" id="sm'+i+'">';
94
  for( e=1;e<=12;e++){
@@ -129,8 +130,8 @@ jQuery(function(){
129
  ele +='</table>';
130
  table.find('#append_column_table').html(ele);
131
 
132
- jQuery('table tr:visible:even').css('background', '#F0F0F0');
133
- jQuery('table tr:visible:odd').css('background', '#DADADD');
134
  }
135
 
136
  show_table();
60
  <option value="two_third$one_third_last">2/3-1/3</option>\
61
  <option value="one_fourth$three_fourth_last">1/4-3/4</option>\
62
  <option value="three_fourth$one_fourth_last">3/4-1/4</option>\
63
+ </select> For Large Screen<br />\
64
  </td>\
65
  </tr>\
66
  <tr id="wpthree" style="display:none;">\
70
  <option value="one_fourth$one_fourth_second$one_half_last">1/4-1/4-2/4</option>\
71
  <option value="one_half$one_fourth_second$one_fourth_last">2/4-1/4-1/4</option>\
72
  <option value="one_third$one_third_second$one_third_last">1/3-1/3-1/3</option>\
73
+ </select> For Large Screen<br />\
74
  </tr>\
75
  <tr id="">\
76
  <th><label for="append_column_table">Column Specification</label></th>\
88
 
89
  var ele='',e=0,sm,md,off,xs,sel;
90
  var col= jQuery('#oscitas-no-of-wpcolumns').val();
91
+ ele = '<i>You can select different column style for different screens such as medium, small(e.g 480px), x-small(e.g 320px)</i><br/>';
92
+ ele+= '<table id="appended" class="tb_multiple_column"><thead><tr><th>Column</th><th>Medium Screen</th><th>Small Screen</th><th>x-small Screen</th><th>Large Screen Offset</th></tr></thead>';
93
  for(var i=1;i<=col;i++){
94
  sm='<select name="sm['+i+']" id="sm'+i+'">';
95
  for( e=1;e<=12;e++){
130
  ele +='</table>';
131
  table.find('#append_column_table').html(ele);
132
 
133
+ jQuery('#oscitas-form-wpcolumns table tr:visible:even').css('background', '#F0F0F0');
134
+ jQuery('#oscitas-form-wpcolumns table tr:visible:odd').css('background', '#DADADD');
135
  }
136
 
137
  show_table();