Shortcodes Ultimate - Version 2.5.0

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

Code changes from version 2.4.0 to 2.5.0

Files changed (3) hide show
  1. lib/admin.php +1 -1
  2. readme.txt +14 -8
  3. shortcodes-ultimate.php +13 -1
lib/admin.php CHANGED
@@ -122,7 +122,7 @@
122
  <p class="su-message su-message-loading"><?php _e( 'Saving...', 'shortcodes-ultimate' ); ?></p>
123
  <p class="su-message su-message-success"><?php _e( 'Custom CSS saved', 'shortcodes-ultimate' ); ?></p>
124
  <p><?php _e( 'You can add custom styles, that will override defaults', 'shortcodes-ultimate' ); ?></p>
125
- <p><a href="<?php echo su_plugin_url(); ?>/css/style.css" target="_blank"><?php _e( 'See original styles', 'shortcodes-ultimate' ); ?></a></p>
126
  <p><textarea id="su-custom-css" name="su_custom_css" rows="14" cols="90"><?php echo get_option( 'su_custom_css' ); ?></textarea></p>
127
  <p>
128
  <input type="submit" value="<?php _e( 'Save styles', 'shortcodes-ultimate' ); ?>" class="button-primary su-submit" />
122
  <p class="su-message su-message-loading"><?php _e( 'Saving...', 'shortcodes-ultimate' ); ?></p>
123
  <p class="su-message su-message-success"><?php _e( 'Custom CSS saved', 'shortcodes-ultimate' ); ?></p>
124
  <p><?php _e( 'You can add custom styles, that will override defaults', 'shortcodes-ultimate' ); ?></p>
125
+ <p><a href="<?php echo su_plugin_url(); ?>/css/style.css" target="_blank"><?php _e( 'See original styles', 'shortcodes-ultimate' ); ?></a> ( <a href="<?php echo su_plugin_url(); ?>/css/nivoslider.css" target="_blank">nivoslider.css</a>, <a href="<?php echo su_plugin_url(); ?>/css/jcarousel.css" target="_blank">jcarousel.css</a> )</p>
126
  <p><textarea id="su-custom-css" name="su_custom_css" rows="14" cols="90"><?php echo get_option( 'su_custom_css' ); ?></textarea></p>
127
  <p>
128
  <input type="submit" value="<?php _e( 'Save styles', 'shortcodes-ultimate' ); ?>" class="button-primary su-submit" />
readme.txt CHANGED
@@ -1,20 +1,16 @@
1
  === Plugin Name ===
2
  Contributors: gn_themes
3
- 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.4.0
8
 
9
  Provides support for multiple useful shortcodes
10
 
11
 
12
  == Description ==
13
 
14
- = In this version =
15
- * New shortcode: jcarousel
16
- * New admin page: Demo
17
-
18
  With this plugin you can easily add buttons, dividers, spacers, boxes, notes and much more
19
 
20
  = Complete list of available shortcodes =
@@ -43,10 +39,15 @@ With this plugin you can easily add buttons, dividers, spacers, boxes, notes and
43
  * Media
44
  * Members
45
  * Nivo slider
 
46
  * Photoshop
47
  * Feed
48
  * Document
49
 
 
 
 
 
50
  Bug report / contact author: http://ilovecode.ru/?p=122
51
 
52
  My twitter: http://twitter.com/gn_themes
@@ -82,8 +83,13 @@ See your dashboard
82
 
83
  == Changelog ==
84
 
85
- = 2.3 =
 
 
 
86
  * New shortcode: jcarousel
 
 
87
  * New admin page: Demo
88
 
89
  = 2.2 =
1
  === Plugin Name ===
2
  Contributors: gn_themes
3
+ 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.0
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 =
39
  * Media
40
  * Members
41
  * Nivo slider
42
+ * jCarousel
43
  * Photoshop
44
  * Feed
45
  * Document
46
 
47
+ = Theme integration =
48
+ Create css file <code>shortcodes-ultimate.css</code> and put it to the root of your theme.
49
+ That's all! Original styles will be overriden with styles from your file.
50
+
51
  Bug report / contact author: http://ilovecode.ru/?p=122
52
 
53
  My twitter: http://twitter.com/gn_themes
83
 
84
  == Changelog ==
85
 
86
+ = 2.5 =
87
+ * Theme integration
88
+
89
+ = 2.4 =
90
  * New shortcode: jcarousel
91
+
92
+ = 2.3 =
93
  * New admin page: Demo
94
 
95
  = 2.2 =
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.4.0
7
  Author: Vladimir Anokhin
8
  Author URI: http://ilovecode.ru/
9
  Description: Provides support for many easy to use shortcodes
@@ -97,6 +97,18 @@
97
  if ( !isset( $disabled_scripts['init'] ) ) {
98
  wp_enqueue_script( 'shortcodes-ultimate' );
99
  }
 
 
 
 
 
 
 
 
 
 
 
 
100
  }
101
 
102
  // Back-end scripts and styles
3
  /*
4
  Plugin Name: Shortcodes Ultimate
5
  Plugin URI: http://ilovecode.ru/?p=122
6
+ Version: 2.5.0
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
+ // 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