Shortcodes Ultimate - Version 2.2.6

Version Description

Upgrade normally via your Wordpress admin -> Plugins panel.

Download this release

Release Info

Developer gn_themes
Plugin Icon 128x128 Shortcodes Ultimate
Version 2.2.6
Comparing to
See all releases

Code changes from version 2.2.5 to 2.2.6

Files changed (5) hide show
  1. css/style.css +22 -0
  2. lib/admin.php +5 -5
  3. lib/shortcodes.php +1 -1
  4. readme.txt +3 -1
  5. shortcodes-ultimate.php +1 -1
css/style.css CHANGED
@@ -219,6 +219,28 @@
219
  border-left: 5px solid #222;
220
  }
221
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
  /* Lists */
223
  .su-list ul {
224
  list-style-type: none !important;
219
  border-left: 5px solid #222;
220
  }
221
 
222
+ .su-tabs-style-3 {
223
+ background: #fff;
224
+ border: 5px solid #f0f0f0;
225
+ }
226
+ .su-tabs-style-3 .su-tabs-nav {
227
+ width: 200px;
228
+ float: left;
229
+ }
230
+ .su-tabs-style-3 .su-tabs-nav span {
231
+ display: block;
232
+ padding: 5px 10px;
233
+ cursor: pointer;
234
+ background: #f0f0f0;
235
+ }
236
+ .su-tabs-style-3 .su-tabs-nav span:hover { background: #f7f7f7 }
237
+ .su-tabs-style-3 .su-tabs-nav span.su-tabs-current { background: #fff }
238
+ .su-tabs-style-3 .su-tabs-pane { padding: 15px }
239
+ .su-tabs-panes {
240
+ float: none;
241
+ margin-left: 200px;
242
+ }
243
+
244
  /* Lists */
245
  .su-list ul {
246
  list-style-type: none !important;
lib/admin.php CHANGED
@@ -201,7 +201,7 @@
201
  <td>title<br/>icon (<?php _e( 'image url', 'shortcodes-ultimate' ); ?>)<br/>size (<?php _e( 'icon size', 'shortcodes-ultimate' ); ?>)</td>
202
  <td>[service title="<?php _e( 'Service name', 'shortcodes-ultimate' ); ?>" icon="images/service-1.png" size="32"] <?php _e( 'Service description', 'shortcodes-ultimate' ); ?> [/service]</td>
203
  </tr>
204
- <tr class="su-new-shortcode">
205
  <td>members</td>
206
  <td>style="0|1|2"</td>
207
  <td>[members] <?php _e( 'Content for registered users', 'shortcodes-ultimate' ); ?> [/members]<br/>[members style="2"] <?php _e( 'Content for registered users', 'shortcodes-ultimate' ); ?> [/members]</td>
@@ -221,7 +221,7 @@
221
  <td>style="star|arrow|check|cross|thumbs|link|gear|time|note|plus|guard|event|idea|settings|twitter"</td>
222
  <td>[list style="check"] &lt;ul&gt; &lt;li&gt; <?php _e( 'List item', 'shortcodes-ultimate' ); ?> &lt;/li&gt; &lt;/ul&gt; [/list]</td>
223
  </tr>
224
- <tr class="su-new-shortcode">
225
  <td>feed</td>
226
  <td>url<br/>limit</td>
227
  <td>[feed url="http://rss1.smashingmagazine.com/feed/" limit="5"]</td>
@@ -232,7 +232,7 @@
232
  <td>[menu name="Main menu"]</td>
233
  </tr>
234
  <tr>
235
- <td class="su-new-shortcode">subpages</td>
236
  <td>depth (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)<br/>p (child_of) (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)</td>
237
  <td>[subpages]<br/>[subpages depth="2" p="122"]</td>
238
  </tr>
@@ -256,12 +256,12 @@
256
  <td>url<br/>width<br/>height</td>
257
  <td>[media url="http://www.youtube.com/watch?v=2c2EEacfC1M"]<br/>[media url="http://vimeo.com/15069551"]<br/>[media url="video.mp4"]<br/>[media url="video.flv"]<br/>[media url="audio.mp3"]<br/>[media url="image.jpg"]</td>
258
  </tr>
259
- <tr class="su-new-shortcode">
260
  <td>document</td>
261
  <td>file="*.doc|*.xls|*.pdf"<br/>width<br/>height</td>
262
  <td>[document file="file.doc" width="600" height="400"]</td>
263
  </tr>
264
- <tr class="su-new-shortcode">
265
  <td>nivo_slider</td>
266
  <td>width<br/>height<br/>link="file|attachment|caption" (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)<br/>speed (1000 = <?php _e( '1 second', 'shortcodes-ultimate' ); ?>)<br/>delay (1000 = <?php _e( '1 second', 'shortcodes-ultimate' ); ?>)<br/>p - post ID (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)<br/>effect="random|boxRandom|fold|fade"</td>
267
  <td>[nivo_slider]<br/>[nivo_slider width="640" height="400" link="file" effect="boxRandom"]</td>
201
  <td>title<br/>icon (<?php _e( 'image url', 'shortcodes-ultimate' ); ?>)<br/>size (<?php _e( 'icon size', 'shortcodes-ultimate' ); ?>)</td>
202
  <td>[service title="<?php _e( 'Service name', 'shortcodes-ultimate' ); ?>" icon="images/service-1.png" size="32"] <?php _e( 'Service description', 'shortcodes-ultimate' ); ?> [/service]</td>
203
  </tr>
204
+ <tr>
205
  <td>members</td>
206
  <td>style="0|1|2"</td>
207
  <td>[members] <?php _e( 'Content for registered users', 'shortcodes-ultimate' ); ?> [/members]<br/>[members style="2"] <?php _e( 'Content for registered users', 'shortcodes-ultimate' ); ?> [/members]</td>
221
  <td>style="star|arrow|check|cross|thumbs|link|gear|time|note|plus|guard|event|idea|settings|twitter"</td>
222
  <td>[list style="check"] &lt;ul&gt; &lt;li&gt; <?php _e( 'List item', 'shortcodes-ultimate' ); ?> &lt;/li&gt; &lt;/ul&gt; [/list]</td>
223
  </tr>
224
+ <tr>
225
  <td>feed</td>
226
  <td>url<br/>limit</td>
227
  <td>[feed url="http://rss1.smashingmagazine.com/feed/" limit="5"]</td>
232
  <td>[menu name="Main menu"]</td>
233
  </tr>
234
  <tr>
235
+ <td>subpages</td>
236
  <td>depth (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)<br/>p (child_of) (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)</td>
237
  <td>[subpages]<br/>[subpages depth="2" p="122"]</td>
238
  </tr>
256
  <td>url<br/>width<br/>height</td>
257
  <td>[media url="http://www.youtube.com/watch?v=2c2EEacfC1M"]<br/>[media url="http://vimeo.com/15069551"]<br/>[media url="video.mp4"]<br/>[media url="video.flv"]<br/>[media url="audio.mp3"]<br/>[media url="image.jpg"]</td>
258
  </tr>
259
+ <tr>
260
  <td>document</td>
261
  <td>file="*.doc|*.xls|*.pdf"<br/>width<br/>height</td>
262
  <td>[document file="file.doc" width="600" height="400"]</td>
263
  </tr>
264
+ <tr>
265
  <td>nivo_slider</td>
266
  <td>width<br/>height<br/>link="file|attachment|caption" (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)<br/>speed (1000 = <?php _e( '1 second', 'shortcodes-ultimate' ); ?>)<br/>delay (1000 = <?php _e( '1 second', 'shortcodes-ultimate' ); ?>)<br/>p - post ID (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)<br/>effect="random|boxRandom|fold|fade"</td>
267
  <td>[nivo_slider]<br/>[nivo_slider width="640" height="400" link="file" effect="boxRandom"]</td>
lib/shortcodes.php CHANGED
@@ -51,7 +51,7 @@
51
  $tabs[] = '<span>' . $tab['title'] . '</span>';
52
  $panes[] = '<div class="su-tabs-pane">' . $tab['content'] . '</div>';
53
  }
54
- $return = '<div class="su-tabs su-tabs-style-' . $style . '"><div class="su-tabs-nav">' . implode( '', $tabs ) . '</div><div class="su-tabs-panes">' . implode( "\n", $panes ) . '</div></div>';
55
  }
56
  return $return;
57
  }
51
  $tabs[] = '<span>' . $tab['title'] . '</span>';
52
  $panes[] = '<div class="su-tabs-pane">' . $tab['content'] . '</div>';
53
  }
54
+ $return = '<div class="su-tabs su-tabs-style-' . $style . '"><div class="su-tabs-nav">' . implode( '', $tabs ) . '</div><div class="su-tabs-panes">' . implode( "\n", $panes ) . '</div><div class="su-spacer"></div></div>';
55
  }
56
  return $return;
57
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://ilovecode.ru/
4
  Tags: shortcode, shortcodes, short code, shortcodes, tab, tabs, button, buttons, jquery, box, boxes, toggle, spoiler, column, columns, services, service, pullquote, list, lists, frame, images, image, links, fancy, fancy link, fancy links, fancy buttons, jquery tabs, accordeon, slider, nivo, nivo slider, plugin, admin, photoshop, gallery, bloginfo, list pages, sub pages, navigation, siblings pages, children pages, permalink, permalinks, feed, document, member, members, documents, rss
5
  Requires at least: 3.0
6
  Tested up to: 3.2
7
- Stable tag: 2.2.5
8
 
9
  Provides support for multiple useful shortcodes
10
 
@@ -17,6 +17,7 @@ Provides support for multiple useful shortcodes
17
  * New shortcode: feed
18
  * New attr: link="caption" for [nivo_slider]
19
  * New attr: p for [subpages]
 
20
 
21
  With this plugin you can easily add buttons, dividers, spacers, boxes, notes and much more
22
 
@@ -91,6 +92,7 @@ See your dashboard
91
  * New shortcode: feed
92
  * New attr: link="caption" for [nivo_slider]
93
  * New attr: p for [subpages]
 
94
 
95
  = 2.1 =
96
  * New option: disable any script
4
  Tags: shortcode, shortcodes, short code, shortcodes, tab, tabs, button, buttons, jquery, box, boxes, toggle, spoiler, column, columns, services, service, pullquote, list, lists, frame, images, image, links, fancy, fancy link, fancy links, fancy buttons, jquery tabs, accordeon, slider, nivo, nivo slider, plugin, admin, photoshop, gallery, bloginfo, list pages, sub pages, navigation, siblings pages, children pages, permalink, permalinks, feed, document, member, members, documents, rss
5
  Requires at least: 3.0
6
  Tested up to: 3.2
7
+ Stable tag: 2.2.6
8
 
9
  Provides support for multiple useful shortcodes
10
 
17
  * New shortcode: feed
18
  * New attr: link="caption" for [nivo_slider]
19
  * New attr: p for [subpages]
20
+ * New tabs style (style=3)
21
 
22
  With this plugin you can easily add buttons, dividers, spacers, boxes, notes and much more
23
 
92
  * New shortcode: feed
93
  * New attr: link="caption" for [nivo_slider]
94
  * New attr: p for [subpages]
95
+ * New tabs style (style=3)
96
 
97
  = 2.1 =
98
  * New option: disable any script
shortcodes-ultimate.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: Shortcodes Ultimate
5
  Plugin URI: http://ilovecode.ru/?p=122
6
- Version: 2.2.5
7
  Author: Vladimir Anokhin
8
  Author URI: http://ilovecode.ru/
9
  Description: Provides support for many easy to use shortcodes
3
  /*
4
  Plugin Name: Shortcodes Ultimate
5
  Plugin URI: http://ilovecode.ru/?p=122
6
+ Version: 2.2.6
7
  Author: Vladimir Anokhin
8
  Author URI: http://ilovecode.ru/
9
  Description: Provides support for many easy to use shortcodes