Shortcodes Ultimate - Version 2.5.3

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.5.3
Comparing to
See all releases

Code changes from version 2.5.2 to 2.5.3

css/jcarousel.css CHANGED
@@ -1,4 +1,4 @@
1
- .su-carousel {
2
  position: relative;
3
  margin: 0 0 1.5em 0;
4
  padding: 15px 40px;
@@ -7,14 +7,14 @@
7
  -moz-border-radius: 10px;
8
  -webkit-border-radius: 10px;
9
  }
10
- .su-carousel .jcarousel-container {
11
  position: relative;
12
  }
13
- .su-carousel .jcarousel-clip {
14
  position: relative;
15
  overflow: hidden;
16
  }
17
- .su-carousel li {
18
  float: left;
19
  display: block;
20
  margin-right: 10px;
@@ -22,7 +22,7 @@
22
  list-style-type: none;
23
  }
24
 
25
- .su-carousel .jcarousel-prev {
26
  position: absolute;
27
  left: -32px;
28
  top: 0;
@@ -31,7 +31,7 @@
31
  background: 0 50% url(../images/jcarousel/arrows.png) no-repeat;
32
  cursor: pointer;
33
  }
34
- .su-carousel .jcarousel-next {
35
  position: absolute;
36
  right: -32px;
37
  top: 0;
@@ -40,8 +40,8 @@
40
  background: 100% 50% url(../images/jcarousel/arrows.png) no-repeat;
41
  cursor: pointer;
42
  }
43
- .su-carousel .jcarousel-prev:hover,
44
- .su-carousel .jcarousel-next:hover {
45
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
46
  filter: alpha(opacity=70);
47
  -moz-opacity: 0.7;
1
+ .su-jcarousel {
2
  position: relative;
3
  margin: 0 0 1.5em 0;
4
  padding: 15px 40px;
7
  -moz-border-radius: 10px;
8
  -webkit-border-radius: 10px;
9
  }
10
+ .su-jcarousel .jcarousel-container {
11
  position: relative;
12
  }
13
+ .su-jcarousel .jcarousel-clip {
14
  position: relative;
15
  overflow: hidden;
16
  }
17
+ .su-jcarousel li {
18
  float: left;
19
  display: block;
20
  margin-right: 10px;
22
  list-style-type: none;
23
  }
24
 
25
+ .su-jcarousel .jcarousel-prev {
26
  position: absolute;
27
  left: -32px;
28
  top: 0;
31
  background: 0 50% url(../images/jcarousel/arrows.png) no-repeat;
32
  cursor: pointer;
33
  }
34
+ .su-jcarousel .jcarousel-next {
35
  position: absolute;
36
  right: -32px;
37
  top: 0;
40
  background: 100% 50% url(../images/jcarousel/arrows.png) no-repeat;
41
  cursor: pointer;
42
  }
43
+ .su-jcarousel .jcarousel-prev:hover,
44
+ .su-jcarousel .jcarousel-next:hover {
45
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
46
  filter: alpha(opacity=70);
47
  -moz-opacity: 0.7;
lib/shortcodes.php CHANGED
@@ -726,7 +726,7 @@
726
  </script>
727
  ';
728
 
729
- $return .= '<div class="su-carousel" style="width:' . $width . 'px;height:' . $height . 'px;background-color:' . $bg . '"><div class="su-carousel-shell"><ul id="' . $carousel_id . '">';
730
 
731
  foreach ( $attachments as $attachment ) {
732
 
@@ -737,26 +737,26 @@
737
 
738
  // Link to file
739
  if ( $link == 'file' ) {
740
- $return .= '<a href="' . $image[0] . '" title="' . $title . '"><img src="' . su_plugin_url() . '/lib/timthumb.php?src=' . $image[0] . '&amp;w=' . $width . '&amp;h=' . $height . '&amp;q=100&amp;zc=1" width="' . $width . '" height="' . $height . '" alt="' . $title . '" /></a>';
741
  }
742
 
743
  // Link to attachment page
744
  elseif ( $link == 'attachment' ) {
745
- $return .= '<a href="' . get_permalink( $attachment->ID ) . '" title="' . $title . '"><img src="' . su_plugin_url() . '/lib/timthumb.php?src=' . $image[0] . '&amp;w=' . $width . '&amp;h=' . $height . '&amp;q=100&amp;zc=1" width="' . $width . '" height="' . $height . '" alt="' . $title . '" /></a>';
746
  }
747
 
748
  // Custom link
749
  elseif ( $link == 'caption' ) {
750
  if ( $attachment->post_excerpt ) {
751
- $return .= '<a href="' . $attachment->post_excerpt . '" title="' . $title . '"><img src="' . su_plugin_url() . '/lib/timthumb.php?src=' . $image[0] . '&amp;w=' . $width . '&amp;h=' . $height . '&amp;q=100&amp;zc=1" width="' . $width . '" height="' . $height . '" alt="' . $title . '" /></a>';
752
  } else {
753
- $return .= '<img src="' . su_plugin_url() . '/lib/timthumb.php?src=' . $image[0] . '&amp;w=' . $width . '&amp;h=' . $height . '&amp;q=100&amp;zc=1" width="' . $width . '" height="' . $height . '" alt="' . $title . '" />';
754
  }
755
  }
756
 
757
  // No link
758
  else {
759
- $return .= '<img src="' . su_plugin_url() . '/lib/timthumb.php?src=' . $image[0] . '&amp;w=' . $width . '&amp;h=' . $height . '&amp;q=100&amp;zc=1" width="' . $width . '" height="' . $height . '" alt="' . $title . '" />';
760
  }
761
 
762
  $return .= '</li>';
726
  </script>
727
  ';
728
 
729
+ $return .= '<div class="su-jcarousel" style="width:' . $width . 'px;height:' . $height . 'px;background-color:' . $bg . '"><div class="su-jcarousel-shell"><ul id="' . $carousel_id . '">';
730
 
731
  foreach ( $attachments as $attachment ) {
732
 
737
 
738
  // Link to file
739
  if ( $link == 'file' ) {
740
+ $return .= '<a href="' . $image[0] . '" title="' . $title . '"><img src="' . su_plugin_url() . '/lib/timthumb.php?src=' . $image[0] . '&amp;w=' . $item_width . '&amp;h=' . $height . '&amp;q=100&amp;zc=1" width="' . $item_width . '" height="' . $height . '" alt="' . $title . '" /></a>';
741
  }
742
 
743
  // Link to attachment page
744
  elseif ( $link == 'attachment' ) {
745
+ $return .= '<a href="' . get_permalink( $attachment->ID ) . '" title="' . $title . '"><img src="' . su_plugin_url() . '/lib/timthumb.php?src=' . $image[0] . '&amp;w=' . $item_width . '&amp;h=' . $height . '&amp;q=100&amp;zc=1" width="' . $item_width . '" height="' . $height . '" alt="' . $title . '" /></a>';
746
  }
747
 
748
  // Custom link
749
  elseif ( $link == 'caption' ) {
750
  if ( $attachment->post_excerpt ) {
751
+ $return .= '<a href="' . $attachment->post_excerpt . '" title="' . $title . '"><img src="' . su_plugin_url() . '/lib/timthumb.php?src=' . $image[0] . '&amp;w=' . $item_width . '&amp;h=' . $height . '&amp;q=100&amp;zc=1" width="' . $item_width . '" height="' . $height . '" alt="' . $title . '" /></a>';
752
  } else {
753
+ $return .= '<img src="' . su_plugin_url() . '/lib/timthumb.php?src=' . $image[0] . '&amp;w=' . $item_width . '&amp;h=' . $height . '&amp;q=100&amp;zc=1" width="' . $item_width . '" height="' . $height . '" alt="' . $title . '" />';
754
  }
755
  }
756
 
757
  // No link
758
  else {
759
+ $return .= '<img src="' . su_plugin_url() . '/lib/timthumb.php?src=' . $image[0] . '&amp;w=' . $item_width . '&amp;h=' . $height . '&amp;q=100&amp;zc=1" width="' . $item_width . '" height="' . $height . '" alt="' . $title . '" />';
760
  }
761
 
762
  $return .= '</li>';
readme.txt CHANGED
@@ -4,17 +4,13 @@ Donate link: http://ilovecode.ru/donate/
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, jcarousel, rss
5
  Requires at least: 3.0
6
  Tested up to: 3.2
7
- Stable tag: 2.5.2
8
 
9
  Provides support for multiple useful shortcodes
10
 
11
 
12
  == Description ==
13
 
14
- = Critical update! =
15
-
16
- http://ilovecode.ru/shortcodes-ultimate.2.5.2.zip
17
-
18
  With this plugin you can easily add buttons, dividers, spacers, boxes, notes and much more
19
 
20
  = Complete list of available shortcodes =
@@ -48,10 +44,6 @@ With this plugin you can easily add buttons, dividers, spacers, boxes, notes and
48
  * Feed
49
  * Document
50
 
51
- = Theme integration =
52
- Create css file <code>shortcodes-ultimate.css</code> and put it to the root of your theme.
53
- That's all! Original styles will be overriden with styles from your file.
54
-
55
  Bug report / contact author: http://ilovecode.ru/?p=122
56
 
57
  My twitter: http://twitter.com/gn_themes
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, jcarousel, rss
5
  Requires at least: 3.0
6
  Tested up to: 3.2
7
+ Stable tag: 2.5.3
8
 
9
  Provides support for multiple useful shortcodes
10
 
11
 
12
  == Description ==
13
 
 
 
 
 
14
  With this plugin you can easily add buttons, dividers, spacers, boxes, notes and much more
15
 
16
  = Complete list of available shortcodes =
44
  * Feed
45
  * Document
46
 
 
 
 
 
47
  Bug report / contact author: http://ilovecode.ru/?p=122
48
 
49
  My twitter: http://twitter.com/gn_themes
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.5.2
7
  Author: Vladimir Anokhin
8
  Author URI: http://ilovecode.ru/
9
  Description: Provides support for many easy to use shortcodes
@@ -97,18 +97,6 @@
97
  if ( !isset( $disabled_scripts['init'] ) ) {
98
  wp_enqueue_script( 'shortcodes-ultimate' );
99
  }
100
-
101
- // // Custom theme CSS
102
- // $custom_theme_css_location[] = get_template_directory_uri() . '/shortcodes-ultimate.css';
103
- // $custom_theme_css_location[] = get_template_directory_uri() . '/css/shortcodes-ultimate.css';
104
- //
105
- // if ( @fopen( $custom_theme_css_location['0'], 'r' ) ) {
106
- // wp_register_style( 'shortcodes-ultimate-theme-css', $custom_theme_css_location['0'], false, su_get_version(), 'all' );
107
- // wp_enqueue_style( 'shortcodes-ultimate-theme-css' );
108
- // } elseif ( @fopen( $custom_theme_css_location['1'], 'r' ) ) {
109
- // wp_register_style( 'shortcodes-ultimate-theme-css', $custom_theme_css_location['1'], false, su_get_version(), 'all' );
110
- // wp_enqueue_style( 'shortcodes-ultimate-theme-css' );
111
- // }
112
  }
113
 
114
  // Back-end scripts and styles
3
  /*
4
  Plugin Name: Shortcodes Ultimate
5
  Plugin URI: http://ilovecode.ru/?p=122
6
+ Version: 2.5.3
7
  Author: Vladimir Anokhin
8
  Author URI: http://ilovecode.ru/
9
  Description: Provides support for many easy to use shortcodes
97
  if ( !isset( $disabled_scripts['init'] ) ) {
98
  wp_enqueue_script( 'shortcodes-ultimate' );
99
  }
 
 
 
 
 
 
 
 
 
 
 
 
100
  }
101
 
102
  // Back-end scripts and styles