Shortcodes Ultimate - Version 4.4.1

Version Description

  • Fixed file_get_contents() (disabled http wrappers) issue at the examples page
Download this release

Release Info

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

Code changes from version 4.4.0 to 4.4.1

inc/core/data.php CHANGED
@@ -50,37 +50,37 @@ class Su_Data {
50
  array(
51
  'name' => __( 'Accordions, spoilers, different styles, anchors', 'su' ),
52
  'id' => 'spoilers',
53
- 'code' => plugins_url( 'inc/examples/spoilers.example', SU_PLUGIN_FILE ),
54
  'icon' => 'tasks'
55
  ),
56
  array(
57
  'name' => __( 'Tabs, vertical tabs, tab anchors', 'su' ),
58
  'id' => 'tabs',
59
- 'code' => plugins_url( 'inc/examples/tabs.example', SU_PLUGIN_FILE ),
60
  'icon' => 'folder'
61
  ),
62
  array(
63
  'name' => __( 'Column layouts', 'su' ),
64
  'id' => 'columns',
65
- 'code' => plugins_url( 'inc/examples/columns.example', SU_PLUGIN_FILE ),
66
  'icon' => 'th-large'
67
  ),
68
  array(
69
  'name' => __( 'Media elements, YouTube, Vimeo, Screenr and self-hosted videos, audio player', 'su' ),
70
  'id' => 'media',
71
- 'code' => plugins_url( 'inc/examples/media.example', SU_PLUGIN_FILE ),
72
  'icon' => 'play-circle'
73
  ),
74
  array(
75
  'name' => __( 'Unlimited buttons', 'su' ),
76
  'id' => 'buttons',
77
- 'code' => plugins_url( 'inc/examples/buttons.example', SU_PLUGIN_FILE ),
78
  'icon' => 'heart'
79
  ),
80
  array(
81
  'name' => __( 'Animations', 'su' ),
82
  'id' => 'animations',
83
- 'code' => plugins_url( 'inc/examples/animations.example', SU_PLUGIN_FILE ),
84
  'icon' => 'bolt'
85
  ),
86
  )
@@ -91,13 +91,13 @@ class Su_Data {
91
  array(
92
  'name' => __( 'Interacting with posts shortcode', 'su' ),
93
  'id' => 'posts',
94
- 'code' => plugins_url( 'inc/examples/posts.example', SU_PLUGIN_FILE ),
95
  'icon' => 'list'
96
  ),
97
  array(
98
  'name' => __( 'Nested shortcodes, shortcodes inside of attributes', 'su' ),
99
  'id' => 'nested',
100
- 'code' => plugins_url( 'inc/examples/nested.example', SU_PLUGIN_FILE ),
101
  'icon' => 'indent'
102
  ),
103
  )
50
  array(
51
  'name' => __( 'Accordions, spoilers, different styles, anchors', 'su' ),
52
  'id' => 'spoilers',
53
+ 'code' => plugin_dir_path( SU_PLUGIN_FILE ) . '/inc/examples/spoilers.example',
54
  'icon' => 'tasks'
55
  ),
56
  array(
57
  'name' => __( 'Tabs, vertical tabs, tab anchors', 'su' ),
58
  'id' => 'tabs',
59
+ 'code' => plugin_dir_path( SU_PLUGIN_FILE ) . '/inc/examples/tabs.example',
60
  'icon' => 'folder'
61
  ),
62
  array(
63
  'name' => __( 'Column layouts', 'su' ),
64
  'id' => 'columns',
65
+ 'code' => plugin_dir_path( SU_PLUGIN_FILE ) . '/inc/examples/columns.example',
66
  'icon' => 'th-large'
67
  ),
68
  array(
69
  'name' => __( 'Media elements, YouTube, Vimeo, Screenr and self-hosted videos, audio player', 'su' ),
70
  'id' => 'media',
71
+ 'code' => plugin_dir_path( SU_PLUGIN_FILE ) . '/inc/examples/media.example',
72
  'icon' => 'play-circle'
73
  ),
74
  array(
75
  'name' => __( 'Unlimited buttons', 'su' ),
76
  'id' => 'buttons',
77
+ 'code' => plugin_dir_path( SU_PLUGIN_FILE ) . '/inc/examples/buttons.example',
78
  'icon' => 'heart'
79
  ),
80
  array(
81
  'name' => __( 'Animations', 'su' ),
82
  'id' => 'animations',
83
+ 'code' => plugin_dir_path( SU_PLUGIN_FILE ) . '/inc/examples/animations.example',
84
  'icon' => 'bolt'
85
  ),
86
  )
91
  array(
92
  'name' => __( 'Interacting with posts shortcode', 'su' ),
93
  'id' => 'posts',
94
+ 'code' => plugin_dir_path( SU_PLUGIN_FILE ) . '/inc/examples/posts.example',
95
  'icon' => 'list'
96
  ),
97
  array(
98
  'name' => __( 'Nested shortcodes, shortcodes inside of attributes', 'su' ),
99
  'id' => 'nested',
100
+ 'code' => plugin_dir_path( SU_PLUGIN_FILE ) . '/inc/examples/nested.example',
101
  'icon' => 'indent'
102
  ),
103
  )
inc/core/shortcodes.php CHANGED
@@ -16,7 +16,7 @@ class Su_Shortcodes {
16
  ), $atts );
17
  su_query_asset( 'css', 'su-content-shortcodes' );
18
  do_action( 'su/shortcode/heading', $atts );
19
- return '<div class="su-heading su-heading-style-' . $atts['style'] . ' su-heading-align-' . $atts['align'] . su_ecssc( $atts ) . '" style="font-size:' . intVal( $atts['size'] ) . 'px;margin-bottom:' . $atts['margin'] . 'px"><div class="su-heading-inner">' . $content . '</div></div>';
20
  }
21
 
22
  public static function tabs( $atts = null, $content = null ) {
16
  ), $atts );
17
  su_query_asset( 'css', 'su-content-shortcodes' );
18
  do_action( 'su/shortcode/heading', $atts );
19
+ return '<div class="su-heading su-heading-style-' . $atts['style'] . ' su-heading-align-' . $atts['align'] . su_ecssc( $atts ) . '" style="font-size:' . intVal( $atts['size'] ) . 'px;margin-bottom:' . $atts['margin'] . 'px"><div class="su-heading-inner">' . do_shortcode( $content ) . '</div></div>';
20
  }
21
 
22
  public static function tabs( $atts = null, $content = null ) {
readme.txt CHANGED
@@ -16,6 +16,10 @@ Supercharge your WordPress theme with mega pack of shortcodes
16
 
17
  With this plugin you can easily create tabs, buttons, boxes, different sliders, responsive videos and much, much more. Turn your free theme to premium in just a few clicks. Using Shortcodes Ultimate you can quickly and easily retrieve premium themes features and display it on your site. See screenshots for more information.
18
 
 
 
 
 
19
  = Features =
20
  * Shortcode Generator
21
  * 40+ amazing shortcodes
@@ -25,10 +29,6 @@ With this plugin you can easily create tabs, buttons, boxes, different sliders,
25
  * Special widget
26
  * Rich API
27
 
28
- = Premium Add-ons =
29
- * __[Extra Skins](http://gndev.info/shortcodes-ultimate/skins/)__ - 60+ additional skins for plugin shortcodes
30
- * __[Shortcode Creator](http://gndev.info/shortcodes-ultimate/maker/)__ - allows you to create your own custom shortcodes
31
-
32
  = Demo video =
33
  [youtube http://www.youtube.com/watch?v=DR2c266yWEA]
34
 
@@ -97,6 +97,9 @@ Upgrade normally via your Wordpress admin -> Plugins panel.
97
 
98
  == Changelog ==
99
 
 
 
 
100
  = 4.4.0 =
101
  * __IMPORTANT__: new galleries mechanism. Your created galleries will work but will not be visible in admin panel. Now, you're able to create galleries right in "Insert shortcode" window. Also, you can now create galleries from posts, categories or even custom taxonomies.
102
  * New shortocde [dummy_image]
16
 
17
  With this plugin you can easily create tabs, buttons, boxes, different sliders, responsive videos and much, much more. Turn your free theme to premium in just a few clicks. Using Shortcodes Ultimate you can quickly and easily retrieve premium themes features and display it on your site. See screenshots for more information.
18
 
19
+ = Premium Add-ons =
20
+ * __[Extra Skins](http://gndev.info/shortcodes-ultimate/skins/)__ - 60+ additional skins for plugin shortcodes
21
+ * __[Shortcode Creator](http://gndev.info/shortcodes-ultimate/maker/)__ - allows you to create your own custom shortcodes
22
+
23
  = Features =
24
  * Shortcode Generator
25
  * 40+ amazing shortcodes
29
  * Special widget
30
  * Rich API
31
 
 
 
 
 
32
  = Demo video =
33
  [youtube http://www.youtube.com/watch?v=DR2c266yWEA]
34
 
97
 
98
  == Changelog ==
99
 
100
+ = 4.4.1 =
101
+ * Fixed file_get_contents() (disabled http wrappers) issue at the examples page
102
+
103
  = 4.4.0 =
104
  * __IMPORTANT__: new galleries mechanism. Your created galleries will work but will not be visible in admin panel. Now, you're able to create galleries right in "Insert shortcode" window. Also, you can now create galleries from posts, categories or even custom taxonomies.
105
  * New shortocde [dummy_image]
shortcodes-ultimate.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Shortcodes Ultimate
4
  Plugin URI: http://gndev.info/shortcodes-ultimate/
5
- Version: 4.4.0
6
  Author: Vladimir Anokhin
7
  Author URI: http://gndev.info/
8
  Description: Supercharge your WordPress theme with mega pack of shortcodes
@@ -13,7 +13,7 @@
13
 
14
  // Define plugin file constant
15
  define( 'SU_PLUGIN_FILE', __FILE__ );
16
- define( 'SU_PLUGIN_VERSION', '4.4.0' );
17
  define( 'SU_ENABLE_CACHE', true );
18
 
19
  // Includes
2
  /*
3
  Plugin Name: Shortcodes Ultimate
4
  Plugin URI: http://gndev.info/shortcodes-ultimate/
5
+ Version: 4.4.1
6
  Author: Vladimir Anokhin
7
  Author URI: http://gndev.info/
8
  Description: Supercharge your WordPress theme with mega pack of shortcodes
13
 
14
  // Define plugin file constant
15
  define( 'SU_PLUGIN_FILE', __FILE__ );
16
+ define( 'SU_PLUGIN_VERSION', '4.4.1' );
17
  define( 'SU_ENABLE_CACHE', true );
18
 
19
  // Includes