Shortcodes Ultimate - Version 5.7.0

Version Description

What's new

  • The [su_user] shortcode can now display user meta
  • New option id (HTML Anchor) for the [su_box] shortcode
  • New option id (HTML Anchor) for the [su_note] shortcode
  • Improved compatibility with PHP 7.4, thanks to Jrn Lund
  • New setting Nested shortcodes alternative mode which enables deprecated syntax for nested shortcodes. Details
  • The [su_feed] shortcode is now based on SimplePie
  • The [su_quote] shortcode now supports nesting

Fixes

  • Fixed compatibility issue with WordPress version 4.5 (white screen at the settings screen)
Download this release

Release Info

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

Code changes from version 5.6.2 to 5.7.0

admin/class-shortcodes-ultimate-admin-settings.php CHANGED
@@ -134,7 +134,9 @@ final class Shortcodes_Ultimate_Admin_Settings extends Shortcodes_Ultimate_Admin
134
  return;
135
  }
136
 
137
- wp_enqueue_code_editor( array( 'type' => 'text/css' ) );
 
 
138
 
139
  wp_enqueue_style(
140
  'shortcodes-ultimate-admin-settings',
@@ -289,6 +291,17 @@ final class Shortcodes_Ultimate_Admin_Settings extends Shortcodes_Ultimate_Admin
289
  'description' => __( 'This option hides all deprecated shortcodes from the Insert Shortcode window and at the Available Shortcodes page. Hidden shortcodes will continue to work.', 'shortcodes-ultimate' ),
290
  );
291
 
 
 
 
 
 
 
 
 
 
 
 
292
  }
293
 
294
  return apply_filters( 'su/admin/settings', $this->plugin_settings );
134
  return;
135
  }
136
 
137
+ if ( function_exists( 'wp_enqueue_code_editor' ) ) {
138
+ wp_enqueue_code_editor( array( 'type' => 'text/css' ) );
139
+ }
140
 
141
  wp_enqueue_style(
142
  'shortcodes-ultimate-admin-settings',
291
  'description' => __( 'This option hides all deprecated shortcodes from the Insert Shortcode window and at the Available Shortcodes page. Hidden shortcodes will continue to work.', 'shortcodes-ultimate' ),
292
  );
293
 
294
+ $this->plugin_settings[] = array(
295
+ 'id' => 'su_option_do_nested_shortcodes_alt',
296
+ 'type' => 'checkbox',
297
+ 'sanitize' => array( $this, 'sanitize_checkbox' ),
298
+ 'page' => $this->plugin_prefix . 'advanced-settings',
299
+ 'group' => $this->plugin_prefix . 'advanced-settings',
300
+ 'section' => $this->plugin_prefix . 'advanced',
301
+ 'title' => __( 'Nested shortcodes alternative mode', 'shortcodes-ultimate' ),
302
+ 'description' => __( 'This option enables alternative (deprecated) mode for nested shortcodes.', 'shortcodes-ultimate' ),
303
+ );
304
+
305
  }
306
 
307
  return apply_filters( 'su/admin/settings', $this->plugin_settings );
admin/partials/settings/fields/css.php CHANGED
@@ -58,7 +58,7 @@ jQuery(function() {
58
  <article>
59
  <ul class="ul-disc">
60
  <?php // Translators: %s - link to the shortcodes.css file ?>
61
- <li><?php printf( __( 'Open %s file to see default styles', 'shortcodes-ultimate' ), '<a href="' . esc_url_raw( $this->plugin_url ) . 'includes/css/shortcodes.full.css" target="_blank">shortcodes.full.css</a>' ); ?></li>
62
  <li><?php esc_html_e( 'Help article', 'shortcodes-ultimate' ); ?>: <a href="https://getshortcodes.com/docs/how-to-use-custom-css-editor/" target="_blank"><?php esc_html_e( 'How to use Custom CSS editor', 'shortcodes-ultimate' ); ?></a></li>
63
  </ul>
64
  </article>
58
  <article>
59
  <ul class="ul-disc">
60
  <?php // Translators: %s - link to the shortcodes.css file ?>
61
+ <li><?php printf( esc_html__( 'Open %s file to see default styles', 'shortcodes-ultimate' ), '<a href="https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/trunk/includes/css/shortcodes.full.css" target="_blank">shortcodes.full.css</a>' ); ?></li>
62
  <li><?php esc_html_e( 'Help article', 'shortcodes-ultimate' ); ?>: <a href="https://getshortcodes.com/docs/how-to-use-custom-css-editor/" target="_blank"><?php esc_html_e( 'How to use Custom CSS editor', 'shortcodes-ultimate' ); ?></a></li>
63
  </ul>
64
  </article>
includes/class-shortcodes-ultimate-activator.php CHANGED
@@ -11,8 +11,8 @@
11
  */
12
  class Shortcodes_Ultimate_Activator {
13
 
14
- static private $required_php;
15
- static private $required_wp;
16
 
17
  /**
18
  * Plugin activation.
@@ -21,8 +21,8 @@ class Shortcodes_Ultimate_Activator {
21
  */
22
  public static function activate() {
23
 
24
- self::$required_php = '5.2';
25
- self::$required_wp = '3.5';
26
 
27
  self::check_php_version();
28
  self::check_wp_version();
11
  */
12
  class Shortcodes_Ultimate_Activator {
13
 
14
+ private static $required_php;
15
+ private static $required_wp;
16
 
17
  /**
18
  * Plugin activation.
21
  */
22
  public static function activate() {
23
 
24
+ self::$required_php = '5.3';
25
+ self::$required_wp = '4.5';
26
 
27
  self::check_php_version();
28
  self::check_wp_version();
includes/deprecated/functions.php CHANGED
@@ -127,9 +127,9 @@ function su_hex_shift( $supplied_hex, $shift_method, $percentage = 50 ) {
127
  trigger_error( "Invalid hex color length", E_USER_NOTICE );
128
  }
129
  // Start shifting
130
- $RGB_values['R'] = hexdec( $supplied_hex{0} . $supplied_hex{1} );
131
- $RGB_values['G'] = hexdec( $supplied_hex{2} . $supplied_hex{3} );
132
- $RGB_values['B'] = hexdec( $supplied_hex{4} . $supplied_hex{5} );
133
  foreach ( $RGB_values as $c => $v ) {
134
  switch ( $shift_method ) {
135
  case '-':
127
  trigger_error( "Invalid hex color length", E_USER_NOTICE );
128
  }
129
  // Start shifting
130
+ $RGB_values['R'] = hexdec( $supplied_hex[0] . $supplied_hex[1] );
131
+ $RGB_values['G'] = hexdec( $supplied_hex[2] . $supplied_hex[3] );
132
+ $RGB_values['B'] = hexdec( $supplied_hex[4] . $supplied_hex[5] );
133
  foreach ( $RGB_values as $c => $v ) {
134
  switch ( $shift_method ) {
135
  case '-':
includes/filters.php CHANGED
@@ -26,6 +26,7 @@ function su_filter_disable_wptexturize( $shortcodes ) {
26
  $prefix . 'list',
27
  $prefix . 'note',
28
  $prefix . 'box',
 
29
  );
30
 
31
  return array_merge( $shortcodes, $exclude );
26
  $prefix . 'list',
27
  $prefix . 'note',
28
  $prefix . 'box',
29
+ $prefix . 'quote',
30
  );
31
 
32
  return array_merge( $shortcodes, $exclude );
includes/shortcodes/box.php CHANGED
@@ -1,78 +1,92 @@
1
  <?php
2
 
3
- su_add_shortcode( array(
4
- 'id' => 'box',
 
5
  'callback' => 'su_shortcode_box',
6
- 'image' => su_get_plugin_url() . 'admin/images/shortcodes/box.svg',
7
- 'name' => __( 'Box', 'shortcodes-ultimate' ),
8
- 'type' => 'wrap',
9
- 'group' => 'box',
10
- 'atts' => array(
11
- 'title' => array(
12
- 'values' => array( ),
13
  'default' => __( 'Box title', 'shortcodes-ultimate' ),
14
- 'name' => __( 'Title', 'shortcodes-ultimate' ), 'desc' => __( 'Text for the box title', 'shortcodes-ultimate' )
 
15
  ),
16
- 'style' => array(
17
- 'type' => 'select',
18
- 'values' => array(
19
  'default' => __( 'Default', 'shortcodes-ultimate' ),
20
- 'soft' => __( 'Soft', 'shortcodes-ultimate' ),
21
- 'glass' => __( 'Glass', 'shortcodes-ultimate' ),
22
  'bubbles' => __( 'Bubbles', 'shortcodes-ultimate' ),
23
- 'noise' => __( 'Noise', 'shortcodes-ultimate' )
24
  ),
25
  'default' => 'default',
26
- 'name' => __( 'Style', 'shortcodes-ultimate' ),
27
- 'desc' => __( 'Box style preset', 'shortcodes-ultimate' )
28
  ),
29
- 'box_color' => array(
30
- 'type' => 'color',
31
- 'values' => array( ),
32
  'default' => '#333333',
33
- 'name' => __( 'Color', 'shortcodes-ultimate' ),
34
- 'desc' => __( 'Color for the box title and borders', 'shortcodes-ultimate' )
35
  ),
36
  'title_color' => array(
37
- 'type' => 'color',
38
- 'values' => array( ),
39
  'default' => '#FFFFFF',
40
- 'name' => __( 'Title text color', 'shortcodes-ultimate' ), 'desc' => __( 'Color for the box title text', 'shortcodes-ultimate' )
 
41
  ),
42
- 'radius' => array(
43
- 'type' => 'slider',
44
- 'min' => 0,
45
- 'max' => 20,
46
- 'step' => 1,
47
  'default' => 3,
48
- 'name' => __( 'Radius', 'shortcodes-ultimate' ),
49
- 'desc' => __( 'Box corners radius', 'shortcodes-ultimate' )
50
  ),
51
- 'class' => array(
52
- 'type' => 'extra_css_class',
53
- 'name' => __( 'Extra CSS class', 'shortcodes-ultimate' ),
54
- 'desc' => __( 'Additional CSS class name(s) separated by space(s)', 'shortcodes-ultimate' ),
 
 
 
 
 
55
  'default' => '',
56
  ),
57
  ),
58
- 'content' => __( 'Box content', 'shortcodes-ultimate' ),
59
- 'desc' => __( 'Colored box with caption', 'shortcodes-ultimate' ),
60
- 'icon' => 'list-alt',
61
- ) );
 
62
 
63
  function su_shortcode_box( $atts = null, $content = null ) {
64
 
65
- $atts = shortcode_atts( array(
 
66
  'title' => __( 'This is box title', 'shortcodes-ultimate' ),
67
  'style' => 'default',
68
  'box_color' => '#333333',
69
  'title_color' => '#FFFFFF',
70
  'color' => null, // 3.x
71
  'radius' => '3',
72
- 'class' => ''
73
- ), $atts, 'box' );
 
 
 
 
74
 
75
- if ( $atts['color'] !== null ) {
76
  $atts['box_color'] = $atts['color'];
77
  }
78
 
@@ -88,7 +102,7 @@ function su_shortcode_box( $atts = null, $content = null ) {
88
 
89
  // Return result
90
  return sprintf(
91
- '<div class="su-box su-box-style-%1$s%2$s" style="border-color:%3$s;border-radius:%4$spx"><div class="su-box-title" style="background-color:%5$s;color:%6$s;border-top-left-radius:%7$spx;border-top-right-radius:%7$spx">%8$s</div><div class="su-box-content su-u-clearfix su-u-trim" style="border-bottom-left-radius:%7$spx;border-bottom-right-radius:%7$spx">%9$s</div></div>',
92
  esc_attr( $atts['style'] ),
93
  su_get_css_class( $atts ),
94
  su_adjust_brightness( $atts['box_color'], -20 ),
@@ -97,7 +111,8 @@ function su_shortcode_box( $atts = null, $content = null ) {
97
  $atts['title_color'],
98
  $atts['inner_radius'],
99
  su_do_attribute( $atts['title'] ),
100
- su_do_nested_shortcodes( $content, 'box' )
 
101
  );
102
 
103
  }
1
  <?php
2
 
3
+ su_add_shortcode(
4
+ array(
5
+ 'id' => 'box',
6
  'callback' => 'su_shortcode_box',
7
+ 'image' => su_get_plugin_url() . 'admin/images/shortcodes/box.svg',
8
+ 'name' => __( 'Box', 'shortcodes-ultimate' ),
9
+ 'type' => 'wrap',
10
+ 'group' => 'box',
11
+ 'atts' => array(
12
+ 'title' => array(
13
+ 'values' => array(),
14
  'default' => __( 'Box title', 'shortcodes-ultimate' ),
15
+ 'name' => __( 'Title', 'shortcodes-ultimate' ),
16
+ 'desc' => __( 'Text for the box title', 'shortcodes-ultimate' ),
17
  ),
18
+ 'style' => array(
19
+ 'type' => 'select',
20
+ 'values' => array(
21
  'default' => __( 'Default', 'shortcodes-ultimate' ),
22
+ 'soft' => __( 'Soft', 'shortcodes-ultimate' ),
23
+ 'glass' => __( 'Glass', 'shortcodes-ultimate' ),
24
  'bubbles' => __( 'Bubbles', 'shortcodes-ultimate' ),
25
+ 'noise' => __( 'Noise', 'shortcodes-ultimate' ),
26
  ),
27
  'default' => 'default',
28
+ 'name' => __( 'Style', 'shortcodes-ultimate' ),
29
+ 'desc' => __( 'Box style preset', 'shortcodes-ultimate' ),
30
  ),
31
+ 'box_color' => array(
32
+ 'type' => 'color',
33
+ 'values' => array(),
34
  'default' => '#333333',
35
+ 'name' => __( 'Color', 'shortcodes-ultimate' ),
36
+ 'desc' => __( 'Color for the box title and borders', 'shortcodes-ultimate' ),
37
  ),
38
  'title_color' => array(
39
+ 'type' => 'color',
40
+ 'values' => array(),
41
  'default' => '#FFFFFF',
42
+ 'name' => __( 'Title text color', 'shortcodes-ultimate' ),
43
+ 'desc' => __( 'Color for the box title text', 'shortcodes-ultimate' ),
44
  ),
45
+ 'radius' => array(
46
+ 'type' => 'slider',
47
+ 'min' => 0,
48
+ 'max' => 20,
49
+ 'step' => 1,
50
  'default' => 3,
51
+ 'name' => __( 'Radius', 'shortcodes-ultimate' ),
52
+ 'desc' => __( 'Box corners radius', 'shortcodes-ultimate' ),
53
  ),
54
+ 'class' => array(
55
+ 'type' => 'extra_css_class',
56
+ 'name' => __( 'Extra CSS class', 'shortcodes-ultimate' ),
57
+ 'desc' => __( 'Additional CSS class name(s) separated by space(s)', 'shortcodes-ultimate' ),
58
+ 'default' => '',
59
+ ),
60
+ 'id' => array(
61
+ 'name' => __( 'HTML Anchor', 'shortcodes-ultimate' ),
62
+ 'desc' => __( 'Enter a word or two, without spaces, to make a unique web address just for this element. Then, you\'ll be able to link directly to this section of your page.', 'shortcodes-ultimate' ),
63
  'default' => '',
64
  ),
65
  ),
66
+ 'content' => __( 'Box content', 'shortcodes-ultimate' ),
67
+ 'desc' => __( 'Colored box with caption', 'shortcodes-ultimate' ),
68
+ 'icon' => 'list-alt',
69
+ )
70
+ );
71
 
72
  function su_shortcode_box( $atts = null, $content = null ) {
73
 
74
+ $atts = shortcode_atts(
75
+ array(
76
  'title' => __( 'This is box title', 'shortcodes-ultimate' ),
77
  'style' => 'default',
78
  'box_color' => '#333333',
79
  'title_color' => '#FFFFFF',
80
  'color' => null, // 3.x
81
  'radius' => '3',
82
+ 'class' => '',
83
+ 'id' => '',
84
+ ),
85
+ $atts,
86
+ 'box'
87
+ );
88
 
89
+ if ( null !== $atts['color'] ) {
90
  $atts['box_color'] = $atts['color'];
91
  }
92
 
102
 
103
  // Return result
104
  return sprintf(
105
+ '<div class="su-box su-box-style-%1$s%2$s" id="%10$s" style="border-color:%3$s;border-radius:%4$spx"><div class="su-box-title" style="background-color:%5$s;color:%6$s;border-top-left-radius:%7$spx;border-top-right-radius:%7$spx">%8$s</div><div class="su-box-content su-u-clearfix su-u-trim" style="border-bottom-left-radius:%7$spx;border-bottom-right-radius:%7$spx">%9$s</div></div>',
106
  esc_attr( $atts['style'] ),
107
  su_get_css_class( $atts ),
108
  su_adjust_brightness( $atts['box_color'], -20 ),
111
  $atts['title_color'],
112
  $atts['inner_radius'],
113
  su_do_attribute( $atts['title'] ),
114
+ su_do_nested_shortcodes( $content, 'box' ),
115
+ sanitize_html_class( $atts['id'] )
116
  );
117
 
118
  }
includes/shortcodes/feed.php CHANGED
@@ -1,50 +1,78 @@
1
  <?php
2
 
3
- su_add_shortcode( array(
4
- 'id' => 'feed',
 
5
  'callback' => 'su_shortcode_feed',
6
- 'image' => su_get_plugin_url() . 'admin/images/shortcodes/feed.svg',
7
- 'name' => __( 'RSS feed', 'shortcodes-ultimate' ),
8
- 'type' => 'single',
9
- 'group' => 'content other',
10
- 'atts' => array(
11
- 'url' => array(
12
- 'values' => array( ),
13
  'default' => '',
14
- 'name' => __( 'Url', 'shortcodes-ultimate' ),
15
- 'desc' => __( 'Url to RSS-feed', 'shortcodes-ultimate' )
16
  ),
17
  'limit' => array(
18
- 'type' => 'slider',
19
- 'min' => 1,
20
- 'max' => 20,
21
- 'step' => 1,
22
  'default' => 3,
23
- 'name' => __( 'Limit', 'shortcodes-ultimate' ), 'desc' => __( 'Number of items to show', 'shortcodes-ultimate' )
 
24
  ),
25
  'class' => array(
26
- 'type' => 'extra_css_class',
27
- 'name' => __( 'Extra CSS class', 'shortcodes-ultimate' ),
28
- 'desc' => __( 'Additional CSS class name(s) separated by space(s)', 'shortcodes-ultimate' ),
29
  'default' => '',
30
  ),
31
  ),
32
- 'desc' => __( 'Feed grabber', 'shortcodes-ultimate' ),
33
- 'icon' => 'rss',
34
- ) );
 
35
 
36
  function su_shortcode_feed( $atts = null, $content = null ) {
37
- $atts = shortcode_atts( array(
38
- 'url' => get_bloginfo_rss( 'rss2_url' ),
39
- 'limit' => 3,
40
- 'class' => ''
41
- ), $atts, 'feed' );
42
- if ( !function_exists( 'wp_rss' ) ) include_once ABSPATH . WPINC . '/rss.php';
43
- ob_start();
44
- echo '<div class="su-feed' . su_get_css_class( $atts ) . '">';
45
- wp_rss( $atts['url'], $atts['limit'] );
46
- echo '</div>';
47
- $return = ob_get_contents();
48
- ob_end_clean();
49
- return $return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  }
1
  <?php
2
 
3
+ su_add_shortcode(
4
+ array(
5
+ 'id' => 'feed',
6
  'callback' => 'su_shortcode_feed',
7
+ 'image' => su_get_plugin_url() . 'admin/images/shortcodes/feed.svg',
8
+ 'name' => __( 'RSS feed', 'shortcodes-ultimate' ),
9
+ 'type' => 'single',
10
+ 'group' => 'content other',
11
+ 'atts' => array(
12
+ 'url' => array(
13
+ 'values' => array(),
14
  'default' => '',
15
+ 'name' => __( 'URL', 'shortcodes-ultimate' ),
16
+ 'desc' => __( 'RSS feed URL', 'shortcodes-ultimate' ),
17
  ),
18
  'limit' => array(
19
+ 'type' => 'slider',
20
+ 'min' => 1,
21
+ 'max' => 20,
22
+ 'step' => 1,
23
  'default' => 3,
24
+ 'name' => __( 'Limit', 'shortcodes-ultimate' ),
25
+ 'desc' => __( 'Number of items to show', 'shortcodes-ultimate' ),
26
  ),
27
  'class' => array(
28
+ 'type' => 'extra_css_class',
29
+ 'name' => __( 'Extra CSS class', 'shortcodes-ultimate' ),
30
+ 'desc' => __( 'Additional CSS class name(s) separated by space(s)', 'shortcodes-ultimate' ),
31
  'default' => '',
32
  ),
33
  ),
34
+ 'desc' => __( 'Feed grabber', 'shortcodes-ultimate' ),
35
+ 'icon' => 'rss',
36
+ )
37
+ );
38
 
39
  function su_shortcode_feed( $atts = null, $content = null ) {
40
+
41
+ $atts = su_parse_shortcode_atts( 'feed', $atts );
42
+ $feed = null;
43
+ $items = array();
44
+ $output = '';
45
+
46
+ if ( ! filter_var( $atts['url'], FILTER_VALIDATE_URL ) ) {
47
+ return su_error_message( 'Feed', __( 'invalid feed URL', 'shortcodes-ultimate' ) );
48
+ }
49
+
50
+ $feed = fetch_feed( $atts['url'] );
51
+
52
+ if ( is_wp_error( $feed ) ) {
53
+ return su_error_message( 'Feed', $feed->get_error_message() );
54
+ }
55
+
56
+ $items = $feed->get_items( 0, (int) $atts['limit'] );
57
+
58
+ if ( ! count( $items ) ) {
59
+ return su_error_message( 'Feed', __( 'no items in the feed', 'shortcodes-ultimate' ) );
60
+ }
61
+
62
+ foreach ( $items as $item ) {
63
+
64
+ $output .= sprintf(
65
+ '<li><a href="%s">%s</a></li>',
66
+ $item->get_permalink(),
67
+ $item->get_title()
68
+ );
69
+
70
+ }
71
+
72
+ return sprintf(
73
+ '<ul class="su-feed%s">%s</ul>',
74
+ esc_attr( su_get_css_class( $atts ) ),
75
+ $output
76
+ );
77
+
78
  }
includes/shortcodes/note.php CHANGED
@@ -38,6 +38,11 @@ su_add_shortcode(
38
  'desc' => __( 'Additional CSS class name(s) separated by space(s)', 'shortcodes-ultimate' ),
39
  'default' => '',
40
  ),
 
 
 
 
 
41
  ),
42
  'content' => __( 'Note text', 'shortcodes-ultimate' ),
43
  'desc' => __( 'Colored box', 'shortcodes-ultimate' ),
@@ -55,6 +60,7 @@ function su_shortcode_note( $atts = null, $content = null ) {
55
  'color' => null, // 3.x
56
  'radius' => '3',
57
  'class' => '',
 
58
  ),
59
  $atts,
60
  'note'
@@ -75,6 +81,6 @@ function su_shortcode_note( $atts = null, $content = null ) {
75
 
76
  su_query_asset( 'css', 'su-shortcodes' );
77
 
78
- return '<div class="su-note' . su_get_css_class( $atts ) . '" style="border-color:' . su_adjust_brightness( $atts['note_color'], -10 ) . ';' . $radius . '"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:' . $atts['note_color'] . ';border-color:' . su_adjust_brightness( $atts['note_color'], 80 ) . ';color:' . $atts['text_color'] . ';' . $radius . '">' . su_do_nested_shortcodes( $content, 'note' ) . '</div></div>';
79
 
80
  }
38
  'desc' => __( 'Additional CSS class name(s) separated by space(s)', 'shortcodes-ultimate' ),
39
  'default' => '',
40
  ),
41
+ 'id' => array(
42
+ 'name' => __( 'HTML Anchor', 'shortcodes-ultimate' ),
43
+ 'desc' => __( 'Enter a word or two, without spaces, to make a unique web address just for this element. Then, you\'ll be able to link directly to this section of your page.', 'shortcodes-ultimate' ),
44
+ 'default' => '',
45
+ ),
46
  ),
47
  'content' => __( 'Note text', 'shortcodes-ultimate' ),
48
  'desc' => __( 'Colored box', 'shortcodes-ultimate' ),
60
  'color' => null, // 3.x
61
  'radius' => '3',
62
  'class' => '',
63
+ 'id' => '',
64
  ),
65
  $atts,
66
  'note'
81
 
82
  su_query_asset( 'css', 'su-shortcodes' );
83
 
84
+ return '<div class="su-note' . su_get_css_class( $atts ) . '" id="' . sanitize_html_class( $atts['id'] ) . '" style="border-color:' . su_adjust_brightness( $atts['note_color'], -10 ) . ';' . $radius . '"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:' . $atts['note_color'] . ';border-color:' . su_adjust_brightness( $atts['note_color'], 80 ) . ';color:' . $atts['text_color'] . ';' . $radius . '">' . su_do_nested_shortcodes( $content, 'note' ) . '</div></div>';
85
 
86
  }
includes/shortcodes/posts.php CHANGED
@@ -136,18 +136,19 @@ su_add_shortcode(
136
  'orderby' => array(
137
  'type' => 'select',
138
  'values' => array(
139
- 'none' => __( 'None', 'shortcodes-ultimate' ),
140
- 'id' => __( 'Post ID', 'shortcodes-ultimate' ),
141
- 'author' => __( 'Post author', 'shortcodes-ultimate' ),
142
- 'title' => __( 'Post title', 'shortcodes-ultimate' ),
143
- 'name' => __( 'Post slug', 'shortcodes-ultimate' ),
144
- 'date' => __( 'Date', 'shortcodes-ultimate' ),
145
- 'modified' => __( 'Last modified date', 'shortcodes-ultimate' ),
146
- 'parent' => __( 'Post parent', 'shortcodes-ultimate' ),
147
- 'rand' => __( 'Random', 'shortcodes-ultimate' ),
148
- 'comment_count' => __( 'Comments number', 'shortcodes-ultimate' ),
149
- 'menu_order' => __( 'Menu order', 'shortcodes-ultimate' ),
150
- 'meta_value' => __( 'Meta key values', 'shortcodes-ultimate' ),
 
151
  ),
152
  'default' => 'date',
153
  'name' => __( 'Order by', 'shortcodes-ultimate' ),
136
  'orderby' => array(
137
  'type' => 'select',
138
  'values' => array(
139
+ 'none' => __( 'None', 'shortcodes-ultimate' ),
140
+ 'id' => __( 'Post ID', 'shortcodes-ultimate' ),
141
+ 'author' => __( 'Post author', 'shortcodes-ultimate' ),
142
+ 'title' => __( 'Post title', 'shortcodes-ultimate' ),
143
+ 'name' => __( 'Post slug', 'shortcodes-ultimate' ),
144
+ 'date' => __( 'Date', 'shortcodes-ultimate' ),
145
+ 'modified' => __( 'Last modified date', 'shortcodes-ultimate' ),
146
+ 'parent' => __( 'Post parent', 'shortcodes-ultimate' ),
147
+ 'rand' => __( 'Random', 'shortcodes-ultimate' ),
148
+ 'comment_count' => __( 'Comments number', 'shortcodes-ultimate' ),
149
+ 'menu_order' => __( 'Menu order', 'shortcodes-ultimate' ),
150
+ 'meta_value' => __( 'Meta key values', 'shortcodes-ultimate' ),
151
+ 'meta_value_num' => __( 'Meta key values (Numeric)', 'shortcodes-ultimate' ),
152
  ),
153
  'default' => 'date',
154
  'name' => __( 'Order by', 'shortcodes-ultimate' ),
includes/shortcodes/quote.php CHANGED
@@ -1,53 +1,59 @@
1
  <?php
2
 
3
- su_add_shortcode( array(
4
- 'id' => 'quote',
 
5
  'callback' => 'su_shortcode_quote',
6
- 'image' => su_get_plugin_url() . 'admin/images/shortcodes/quote.svg',
7
- 'name' => __( 'Quote', 'shortcodes-ultimate' ),
8
- 'type' => 'wrap',
9
- 'group' => 'box',
10
- 'atts' => array(
11
  'style' => array(
12
- 'type' => 'select',
13
- 'values' => array(
14
- 'default' => __( 'Default', 'shortcodes-ultimate' )
15
  ),
16
  'default' => 'default',
17
- 'name' => __( 'Style', 'shortcodes-ultimate' ),
18
- 'desc' => __( 'Choose style for this quote', 'shortcodes-ultimate' ) . '%su_skins_link%'
19
  ),
20
- 'cite' => array(
21
  'default' => '',
22
- 'name' => __( 'Cite', 'shortcodes-ultimate' ),
23
- 'desc' => __( 'Quote author name', 'shortcodes-ultimate' )
24
  ),
25
- 'url' => array(
26
- 'values' => array( ),
27
  'default' => '',
28
- 'name' => __( 'Cite url', 'shortcodes-ultimate' ),
29
- 'desc' => __( 'Url of the quote author. Leave empty to disable link', 'shortcodes-ultimate' )
30
  ),
31
  'class' => array(
32
- 'type' => 'extra_css_class',
33
- 'name' => __( 'Extra CSS class', 'shortcodes-ultimate' ),
34
- 'desc' => __( 'Additional CSS class name(s) separated by space(s)', 'shortcodes-ultimate' ),
35
  'default' => '',
36
  ),
37
  ),
38
- 'content' => __( 'Quote', 'shortcodes-ultimate' ),
39
- 'desc' => __( 'Blockquote alternative', 'shortcodes-ultimate' ),
40
- 'icon' => 'quote-right',
41
- ) );
 
42
 
43
  function su_shortcode_quote( $atts = null, $content = null ) {
44
 
45
- $atts = shortcode_atts( array(
 
46
  'style' => 'default',
47
  'cite' => false,
48
  'url' => false,
49
- 'class' => ''
50
- ), $atts, 'quote' );
 
 
 
51
 
52
  $cite_link = $atts['url'] && $atts['cite']
53
  ? '<a href="' . $atts['url'] . '" target="_blank">' . $atts['cite'] . '</a>'
@@ -63,6 +69,6 @@ function su_shortcode_quote( $atts = null, $content = null ) {
63
 
64
  su_query_asset( 'css', 'su-shortcodes' );
65
 
66
- return '<div class="su-quote su-quote-style-' . $atts['style'] . $cite_class . su_get_css_class( $atts ) . '"><div class="su-quote-inner su-u-clearfix su-u-trim">' . do_shortcode( $content ) . su_do_attribute( $cite ) . '</div></div>';
67
 
68
  }
1
  <?php
2
 
3
+ su_add_shortcode(
4
+ array(
5
+ 'id' => 'quote',
6
  'callback' => 'su_shortcode_quote',
7
+ 'image' => su_get_plugin_url() . 'admin/images/shortcodes/quote.svg',
8
+ 'name' => __( 'Quote', 'shortcodes-ultimate' ),
9
+ 'type' => 'wrap',
10
+ 'group' => 'box',
11
+ 'atts' => array(
12
  'style' => array(
13
+ 'type' => 'select',
14
+ 'values' => array(
15
+ 'default' => __( 'Default', 'shortcodes-ultimate' ),
16
  ),
17
  'default' => 'default',
18
+ 'name' => __( 'Style', 'shortcodes-ultimate' ),
19
+ 'desc' => __( 'Choose style for this quote', 'shortcodes-ultimate' ) . '%su_skins_link%',
20
  ),
21
+ 'cite' => array(
22
  'default' => '',
23
+ 'name' => __( 'Cite', 'shortcodes-ultimate' ),
24
+ 'desc' => __( 'Quote author name', 'shortcodes-ultimate' ),
25
  ),
26
+ 'url' => array(
27
+ 'values' => array(),
28
  'default' => '',
29
+ 'name' => __( 'Cite url', 'shortcodes-ultimate' ),
30
+ 'desc' => __( 'Url of the quote author. Leave empty to disable link', 'shortcodes-ultimate' ),
31
  ),
32
  'class' => array(
33
+ 'type' => 'extra_css_class',
34
+ 'name' => __( 'Extra CSS class', 'shortcodes-ultimate' ),
35
+ 'desc' => __( 'Additional CSS class name(s) separated by space(s)', 'shortcodes-ultimate' ),
36
  'default' => '',
37
  ),
38
  ),
39
+ 'content' => __( 'Quote', 'shortcodes-ultimate' ),
40
+ 'desc' => __( 'Blockquote alternative', 'shortcodes-ultimate' ),
41
+ 'icon' => 'quote-right',
42
+ )
43
+ );
44
 
45
  function su_shortcode_quote( $atts = null, $content = null ) {
46
 
47
+ $atts = shortcode_atts(
48
+ array(
49
  'style' => 'default',
50
  'cite' => false,
51
  'url' => false,
52
+ 'class' => '',
53
+ ),
54
+ $atts,
55
+ 'quote'
56
+ );
57
 
58
  $cite_link = $atts['url'] && $atts['cite']
59
  ? '<a href="' . $atts['url'] . '" target="_blank">' . $atts['cite'] . '</a>'
69
 
70
  su_query_asset( 'css', 'su-shortcodes' );
71
 
72
+ return '<div class="su-quote su-quote-style-' . $atts['style'] . $cite_class . su_get_css_class( $atts ) . '"><div class="su-quote-inner su-u-clearfix su-u-trim">' . su_do_nested_shortcodes( $content, 'quote' ) . su_do_attribute( $cite ) . '</div></div>';
73
 
74
  }
includes/shortcodes/user.php CHANGED
@@ -1,16 +1,17 @@
1
  <?php
2
 
3
- su_add_shortcode( array(
4
- 'id' => 'user',
 
5
  'callback' => 'su_shortcode_user',
6
- 'image' => su_get_plugin_url() . 'admin/images/shortcodes/user.svg',
7
- 'name' => __( 'User data', 'shortcodes-ultimate' ),
8
- 'type' => 'single',
9
- 'group' => 'data',
10
- 'atts' => array(
11
- 'field' => array(
12
- 'type' => 'select',
13
- 'values' => array(
14
  'display_name' => __( 'Display name', 'shortcodes-ultimate' ),
15
  'ID' => __( 'ID', 'shortcodes-ultimate' ),
16
  'user_login' => __( 'Login', 'shortcodes-ultimate' ),
@@ -19,69 +20,94 @@ su_add_shortcode( array(
19
  'user_url' => __( 'URL', 'shortcodes-ultimate' ),
20
  'user_registered' => __( 'Registered', 'shortcodes-ultimate' ),
21
  'user_activation_key' => __( 'Activation key', 'shortcodes-ultimate' ),
22
- 'user_status' => __( 'Status', 'shortcodes-ultimate' )
23
  ),
24
  'default' => 'display_name',
25
- 'name' => __( 'Field', 'shortcodes-ultimate' ),
26
- 'desc' => __( 'User data field name', 'shortcodes-ultimate' )
27
  ),
28
  'default' => array(
29
  'default' => '',
30
- 'name' => __( 'Default', 'shortcodes-ultimate' ),
31
- 'desc' => __( 'This text will be shown if data is not found', 'shortcodes-ultimate' )
32
  ),
33
- 'before' => array(
34
  'default' => '',
35
- 'name' => __( 'Before', 'shortcodes-ultimate' ),
36
- 'desc' => __( 'This content will be shown before the value', 'shortcodes-ultimate' )
37
  ),
38
- 'after' => array(
39
  'default' => '',
40
- 'name' => __( 'After', 'shortcodes-ultimate' ),
41
- 'desc' => __( 'This content will be shown after the value', 'shortcodes-ultimate' )
42
  ),
43
  'user_id' => array(
44
  'default' => '',
45
- 'name' => __( 'User ID', 'shortcodes-ultimate' ),
46
- 'desc' => __( 'You can specify custom user ID. Leave this field empty to use an ID of the current user', 'shortcodes-ultimate' )
47
  ),
48
- 'filter' => array(
49
  'default' => '',
50
- 'name' => __( 'Filter', 'shortcodes-ultimate' ),
51
- 'desc' => __( 'You can apply custom filter to the retrieved value. Enter here function name. Your function must accept one argument and return modified value. Name of your function must include word <b>filter</b>. Example function: ', 'shortcodes-ultimate' ) . "<br /><pre><code style='display:block;padding:5px'>function my_custom_filter( \$value ) {\n\treturn 'Value is: ' . \$value;\n}</code></pre>"
52
- )
53
  ),
54
- 'desc' => __( 'User data', 'shortcodes-ultimate' ),
55
- 'icon' => 'info-circle',
56
- ) );
 
57
 
58
  function su_shortcode_user( $atts = null, $content = null ) {
59
- $atts = shortcode_atts( array(
60
- 'field' => 'display_name',
61
- 'default' => '',
62
- 'before' => '',
63
- 'after' => '',
64
- 'user_id' => '',
65
- 'filter' => ''
66
- ), $atts, 'user' );
67
- // Check for password requests
68
- if ( $atts['field'] === 'user_pass' ) return sprintf( '<p class="su-error">User: %s</p>', __( 'password field is not allowed', 'shortcodes-ultimate' ) );
69
- // Define current user ID
70
- if ( !$atts['user_id'] ) $atts['user_id'] = get_current_user_id();
71
- // Check user ID
72
- if ( !is_numeric( $atts['user_id'] ) || $atts['user_id'] < 0 ) return sprintf( '<p class="su-error">User: %s</p>', __( 'user ID is incorrect', 'shortcodes-ultimate' ) );
73
- // Get user data
 
 
 
 
 
 
 
 
 
 
74
  $user = get_user_by( 'id', $atts['user_id'] );
75
- // Get user data if user was found
76
- $user = ( $user && isset( $user->data->{$atts['field']} ) ) ? $user->data->{$atts['field']} : $atts['default'];
77
- // Apply cutom filter
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  if (
79
  $atts['filter'] &&
80
  su_is_filter_safe( $atts['filter'] ) &&
81
  function_exists( $atts['filter'] )
82
  ) {
83
- $user = call_user_func( $atts['filter'], $user );
84
  }
85
- // Return result
86
- return ( $user ) ? $atts['before'] . $user . $atts['after'] : '';
 
87
  }
1
  <?php
2
 
3
+ su_add_shortcode(
4
+ array(
5
+ 'id' => 'user',
6
  'callback' => 'su_shortcode_user',
7
+ 'image' => su_get_plugin_url() . 'admin/images/shortcodes/user.svg',
8
+ 'name' => __( 'User data', 'shortcodes-ultimate' ),
9
+ 'type' => 'single',
10
+ 'group' => 'data',
11
+ 'atts' => array(
12
+ 'field' => array(
13
+ 'type' => 'select',
14
+ 'values' => array(
15
  'display_name' => __( 'Display name', 'shortcodes-ultimate' ),
16
  'ID' => __( 'ID', 'shortcodes-ultimate' ),
17
  'user_login' => __( 'Login', 'shortcodes-ultimate' ),
20
  'user_url' => __( 'URL', 'shortcodes-ultimate' ),
21
  'user_registered' => __( 'Registered', 'shortcodes-ultimate' ),
22
  'user_activation_key' => __( 'Activation key', 'shortcodes-ultimate' ),
23
+ 'user_status' => __( 'Status', 'shortcodes-ultimate' ),
24
  ),
25
  'default' => 'display_name',
26
+ 'name' => __( 'Field', 'shortcodes-ultimate' ),
27
+ 'desc' => __( 'User data field name', 'shortcodes-ultimate' ),
28
  ),
29
  'default' => array(
30
  'default' => '',
31
+ 'name' => __( 'Default', 'shortcodes-ultimate' ),
32
+ 'desc' => __( 'This text will be shown if data is not found', 'shortcodes-ultimate' ),
33
  ),
34
+ 'before' => array(
35
  'default' => '',
36
+ 'name' => __( 'Before', 'shortcodes-ultimate' ),
37
+ 'desc' => __( 'This content will be shown before the value', 'shortcodes-ultimate' ),
38
  ),
39
+ 'after' => array(
40
  'default' => '',
41
+ 'name' => __( 'After', 'shortcodes-ultimate' ),
42
+ 'desc' => __( 'This content will be shown after the value', 'shortcodes-ultimate' ),
43
  ),
44
  'user_id' => array(
45
  'default' => '',
46
+ 'name' => __( 'User ID', 'shortcodes-ultimate' ),
47
+ 'desc' => __( 'You can specify custom user ID. Leave this field empty to use an ID of the current user', 'shortcodes-ultimate' ),
48
  ),
49
+ 'filter' => array(
50
  'default' => '',
51
+ 'name' => __( 'Filter', 'shortcodes-ultimate' ),
52
+ 'desc' => __( 'You can apply custom filter to the retrieved value. Enter here function name. Your function must accept one argument and return modified value. Name of your function must include word <b>filter</b>. Example function: ', 'shortcodes-ultimate' ) . "<br /><pre><code style='display:block;padding:5px'>function my_custom_filter( \$value ) {\n\treturn 'Value is: ' . \$value;\n}</code></pre>",
53
+ ),
54
  ),
55
+ 'desc' => __( 'User data', 'shortcodes-ultimate' ),
56
+ 'icon' => 'info-circle',
57
+ )
58
+ );
59
 
60
  function su_shortcode_user( $atts = null, $content = null ) {
61
+
62
+ $atts = su_parse_shortcode_atts( 'user', $atts );
63
+
64
+ if ( 'user_pass' === $atts['field'] ) {
65
+
66
+ return su_error_message(
67
+ 'User',
68
+ __( 'password field is not allowed', 'shortcodes-ultimate' )
69
+ );
70
+
71
+ }
72
+
73
+ if ( ! $atts['user_id'] ) {
74
+ $atts['user_id'] = get_current_user_id();
75
+ }
76
+
77
+ if ( ! is_numeric( $atts['user_id'] ) || $atts['user_id'] < 0 ) {
78
+
79
+ return su_error_message(
80
+ 'User',
81
+ __( 'invalid user ID', 'shortcodes-ultimate' )
82
+ );
83
+
84
+ }
85
+
86
  $user = get_user_by( 'id', $atts['user_id'] );
87
+
88
+ if ( ! $user ) {
89
+
90
+ return su_error_message(
91
+ 'User',
92
+ __( 'user not found', 'shortcodes-ultimate' )
93
+ );
94
+
95
+ }
96
+
97
+ $data = $user->get( $atts['field'] );
98
+
99
+ if ( ! is_string( $data ) || '' === $data ) {
100
+ $data = su_do_attribute( $atts['default'] );
101
+ }
102
+
103
  if (
104
  $atts['filter'] &&
105
  su_is_filter_safe( $atts['filter'] ) &&
106
  function_exists( $atts['filter'] )
107
  ) {
108
+ $data = call_user_func( $atts['filter'], $data );
109
  }
110
+
111
+ return $data ? $atts['before'] . $data . $atts['after'] : '';
112
+
113
  }
languages/shortcodes-ultimate.pot CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2019 Shortcodes Ultimate
2
  # This file is distributed under the same license as the Shortcodes Ultimate package.
3
  msgid ""
4
  msgstr ""
@@ -82,91 +82,99 @@ msgstr ""
82
  msgid "Shadow"
83
  msgstr ""
84
 
85
- #: admin/class-shortcodes-ultimate-admin-settings.php:70, admin/class-shortcodes-ultimate-admin-settings.php:71, admin/class-shortcodes-ultimate-admin-settings.php:184, inc/core/generator.php:176
86
  msgid "Settings"
87
  msgstr ""
88
 
89
- #: admin/class-shortcodes-ultimate-admin-settings.php:88, admin/class-shortcodes-ultimate-admin-settings.php:163
90
  msgid "General settings"
91
  msgstr ""
92
 
93
- #: admin/class-shortcodes-ultimate-admin-settings.php:211
94
  msgid "Custom CSS code"
95
  msgstr ""
96
 
97
- #: admin/class-shortcodes-ultimate-admin-settings.php:212
98
  msgid "In this field you can write your custom CSS code for shortcodes. These styles will have higher priority compared to original styles of shortcodes. You can use variables in your CSS code. These variables will be replaced by respective values."
99
  msgstr ""
100
 
101
- #: admin/class-shortcodes-ultimate-admin-settings.php:219
102
  msgid "Supported blocks"
103
  msgstr ""
104
 
105
- #: admin/class-shortcodes-ultimate-admin-settings.php:220
106
  msgid "Enable the \"Insert Shortcode\" button in selected blocks"
107
  msgstr ""
108
 
109
- #: admin/class-shortcodes-ultimate-admin-settings.php:228
110
  msgid "Enable shortcodes in"
111
  msgstr ""
112
 
113
- #: admin/class-shortcodes-ultimate-admin-settings.php:229
114
  msgid "This option allows you to enable shortcodes in places where they are disabled by default"
115
  msgstr ""
116
 
117
- #: admin/class-shortcodes-ultimate-admin-settings.php:231
118
  msgid "Term descriptions (Categories, Tags, Custom Taxonomies)"
119
  msgstr ""
120
 
121
- #: admin/class-shortcodes-ultimate-admin-settings.php:232
122
  msgid "Text widgets"
123
  msgstr ""
124
 
125
- #: admin/class-shortcodes-ultimate-admin-settings.php:246
126
  msgid "Shortcodes prefix"
127
  msgstr ""
128
 
129
- #: admin/class-shortcodes-ultimate-admin-settings.php:247
130
  msgid "This prefix will be used in shortcode names. For example: set <code>MY_</code> prefix and shortcodes will look like <code>[MY_button]</code>. Please note that this setting does not change shortcodes that have been inserted earlier. Change this setting very carefully."
131
  msgstr ""
132
 
133
- #: admin/class-shortcodes-ultimate-admin-settings.php:257
134
  msgid "Custom formatting"
135
  msgstr ""
136
 
137
- #: admin/class-shortcodes-ultimate-admin-settings.php:258
138
  msgid "Enable this option if you face any problems with formatting of nested shortcodes."
139
  msgstr ""
140
 
141
- #: admin/class-shortcodes-ultimate-admin-settings.php:268
142
  msgid "Skip default settings"
143
  msgstr ""
144
 
145
- #: admin/class-shortcodes-ultimate-admin-settings.php:269
146
  msgid "Enable this option if you don't want the inserted shortcode to contain any settings that were not changed by you. As a result, inserted shortcodes will be much shorter."
147
  msgstr ""
148
 
149
- #: admin/class-shortcodes-ultimate-admin-settings.php:277
150
  msgid "Required user capability"
151
  msgstr ""
152
 
153
- #: admin/class-shortcodes-ultimate-admin-settings.php:278
154
  msgid "A user must have this capability to be able to use the \"Insert Shortcode\" button. Do not change this value if you do not understand its meaning as this may lower the plugin security."
155
  msgstr ""
156
 
157
- #: admin/class-shortcodes-ultimate-admin-settings.php:288
158
  msgid "Hide deprecated shortcodes"
159
  msgstr ""
160
 
161
- #: admin/class-shortcodes-ultimate-admin-settings.php:289
162
  msgid "This option hides all deprecated shortcodes from the Insert Shortcode window and at the Available Shortcodes page. Hidden shortcodes will continue to work."
163
  msgstr ""
164
 
 
 
 
 
 
 
 
 
165
  #: admin/class-shortcodes-ultimate-admin-shortcodes.php:26, admin/class-shortcodes-ultimate-admin-shortcodes.php:27
166
  msgid "Available shortcodes"
167
  msgstr ""
168
 
169
- #: admin/class-shortcodes-ultimate-admin-shortcodes.php:88, admin/class-shortcodes-ultimate-admin-top-level.php:39, admin/class-shortcodes-ultimate-admin.php:267, includes/filters.php:65, inc/core/widget.php:14, inc/core/widget.php:40, admin/partials/help/sidebar.php:3
170
  msgid "Shortcodes Ultimate"
171
  msgstr ""
172
 
@@ -264,11 +272,11 @@ msgstr ""
264
  msgid "Shortcodes Ultimate is not activated, because it requires WordPress version %1$s (or higher). You have version %2$s."
265
  msgstr ""
266
 
267
- #: includes/filters.php:62
268
  msgid "Slide link"
269
  msgstr ""
270
 
271
- #: includes/filters.php:65
272
  msgid "Use this field to add custom links to slides used with Slider, Carousel and Custom Gallery shortcodes"
273
  msgstr ""
274
 
@@ -389,7 +397,7 @@ msgstr ""
389
  msgid "Blur"
390
  msgstr ""
391
 
392
- #: inc/core/generator-views.php:124, includes/shortcodes/box.php:33
393
  msgid "Color"
394
  msgstr ""
395
 
@@ -601,7 +609,7 @@ msgstr ""
601
  msgid "All"
602
  msgstr ""
603
 
604
- #: includes/config/groups.php:8, includes/shortcodes/box.php:7
605
  msgid "Box"
606
  msgstr ""
607
 
@@ -637,11 +645,11 @@ msgstr ""
637
  msgid "Accordion"
638
  msgstr ""
639
 
640
- #: includes/shortcodes/accordion.php:14, includes/shortcodes/animate.php:44, includes/shortcodes/audio.php:37, includes/shortcodes/box.php:53, includes/shortcodes/button.php:144, includes/shortcodes/carousel.php:141, includes/shortcodes/column.php:40, includes/shortcodes/csv-table.php:52, includes/shortcodes/custom-gallery.php:82, includes/shortcodes/dailymotion.php:103, includes/shortcodes/divider.php:68, includes/shortcodes/document.php:49, includes/shortcodes/dropcap.php:33, includes/shortcodes/dummy-image.php:53, includes/shortcodes/dummy-text.php:46, includes/shortcodes/expand.php:88, includes/shortcodes/feed.php:27, includes/shortcodes/frame.php:25, includes/shortcodes/gmap.php:58, includes/shortcodes/guests.php:13, includes/shortcodes/heading.php:56, includes/shortcodes/highlight.php:26, includes/shortcodes/image-carousel.php:187, includes/shortcodes/label.php:27, includes/shortcodes/lightbox-content.php:78, includes/shortcodes/lightbox.php:38, includes/shortcodes/list.php:35, includes/shortcodes/members.php:35, includes/shortcodes/menu.php:18, includes/shortcodes/note.php:37, includes/shortcodes/permalink.php:38, includes/shortcodes/private.php:13, includes/shortcodes/pullquote.php:22, includes/shortcodes/qrcode.php:81, includes/shortcodes/quote.php:33, includes/shortcodes/row.php:15, includes/shortcodes/service.php:41, includes/shortcodes/siblings.php:19, includes/shortcodes/slider.php:122, includes/shortcodes/spacer.php:22, includes/shortcodes/spoiler.php:61, includes/shortcodes/subpages.php:25, includes/shortcodes/table.php:34, includes/shortcodes/tabs.php:52, includes/shortcodes/tabs.php:111, includes/shortcodes/tooltip.php:99, includes/shortcodes/video.php:67, includes/shortcodes/vimeo.php:71, includes/shortcodes/youtube-advanced.php:134, includes/shortcodes/youtube.php:60
641
  msgid "Extra CSS class"
642
  msgstr ""
643
 
644
- #: includes/shortcodes/accordion.php:15, includes/shortcodes/animate.php:45, includes/shortcodes/audio.php:38, includes/shortcodes/box.php:54, includes/shortcodes/button.php:145, includes/shortcodes/carousel.php:142, includes/shortcodes/column.php:41, includes/shortcodes/csv-table.php:53, includes/shortcodes/custom-gallery.php:83, includes/shortcodes/dailymotion.php:104, includes/shortcodes/divider.php:69, includes/shortcodes/document.php:50, includes/shortcodes/dropcap.php:34, includes/shortcodes/dummy-image.php:54, includes/shortcodes/dummy-text.php:47, includes/shortcodes/expand.php:89, includes/shortcodes/feed.php:28, includes/shortcodes/gmap.php:59, includes/shortcodes/guests.php:14, includes/shortcodes/heading.php:57, includes/shortcodes/highlight.php:27, includes/shortcodes/image-carousel.php:188, includes/shortcodes/label.php:28, includes/shortcodes/lightbox-content.php:79, includes/shortcodes/lightbox.php:39, includes/shortcodes/list.php:36, includes/shortcodes/members.php:36, includes/shortcodes/menu.php:19, includes/shortcodes/note.php:38, includes/shortcodes/permalink.php:39, includes/shortcodes/private.php:14, includes/shortcodes/pullquote.php:23, includes/shortcodes/qrcode.php:82, includes/shortcodes/quote.php:34, includes/shortcodes/row.php:16, includes/shortcodes/service.php:42, includes/shortcodes/siblings.php:20, includes/shortcodes/slider.php:123, includes/shortcodes/spacer.php:23, includes/shortcodes/spoiler.php:62, includes/shortcodes/subpages.php:26, includes/shortcodes/table.php:35, includes/shortcodes/tabs.php:53, includes/shortcodes/tabs.php:112, includes/shortcodes/tooltip.php:100, includes/shortcodes/video.php:68, includes/shortcodes/vimeo.php:72, includes/shortcodes/youtube-advanced.php:135, includes/shortcodes/youtube.php:61
645
  msgid "Additional CSS class name(s) separated by space(s)"
646
  msgstr ""
647
 
@@ -737,75 +745,83 @@ msgstr ""
737
  msgid "please specify correct url"
738
  msgstr ""
739
 
740
- #: includes/shortcodes/box.php:13
741
  msgid "Box title"
742
  msgstr ""
743
 
744
- #: includes/shortcodes/box.php:14, includes/shortcodes/dailymotion.php:97, includes/shortcodes/document.php:43, includes/shortcodes/gmap.php:52, includes/shortcodes/permalink.php:28, includes/shortcodes/qrcode.php:19, includes/shortcodes/service.php:15, includes/shortcodes/spoiler.php:13, includes/shortcodes/tabs.php:80, includes/shortcodes/video.php:26, includes/shortcodes/vimeo.php:60, includes/shortcodes/youtube-advanced.php:128, includes/shortcodes/youtube.php:54
745
  msgid "Title"
746
  msgstr ""
747
 
748
- #: includes/shortcodes/box.php:14
749
  msgid "Text for the box title"
750
  msgstr ""
751
 
752
- #: includes/shortcodes/box.php:19, includes/shortcodes/button.php:31, includes/shortcodes/divider.php:25, includes/shortcodes/dropcap.php:14, includes/shortcodes/expand.php:53, includes/shortcodes/heading.php:14, includes/shortcodes/image-carousel.php:38, includes/shortcodes/label.php:14, includes/shortcodes/meta.php:18, includes/shortcodes/post.php:43, includes/shortcodes/quote.php:14, includes/shortcodes/spoiler.php:25, includes/shortcodes/tabs.php:18, includes/shortcodes/tooltip.php:58, includes/shortcodes/user.php:30
753
  msgid "Default"
754
  msgstr ""
755
 
756
- #: includes/shortcodes/box.php:20, includes/shortcodes/button.php:34
757
  msgid "Soft"
758
  msgstr ""
759
 
760
- #: includes/shortcodes/box.php:21, includes/shortcodes/button.php:35
761
  msgid "Glass"
762
  msgstr ""
763
 
764
- #: includes/shortcodes/box.php:22, includes/shortcodes/button.php:36
765
  msgid "Bubbles"
766
  msgstr ""
767
 
768
- #: includes/shortcodes/box.php:23, includes/shortcodes/button.php:37
769
  msgid "Noise"
770
  msgstr ""
771
 
772
- #: includes/shortcodes/box.php:26, includes/shortcodes/button.php:42, includes/shortcodes/divider.php:31, includes/shortcodes/dropcap.php:20, includes/shortcodes/heading.php:17, includes/shortcodes/quote.php:17, includes/shortcodes/spoiler.php:30, includes/shortcodes/tabs.php:21, includes/shortcodes/tooltip.php:28
773
  msgid "Style"
774
  msgstr ""
775
 
776
- #: includes/shortcodes/box.php:27
777
  msgid "Box style preset"
778
  msgstr ""
779
 
780
- #: includes/shortcodes/box.php:34
781
  msgid "Color for the box title and borders"
782
  msgstr ""
783
 
784
- #: includes/shortcodes/box.php:40
785
  msgid "Title text color"
786
  msgstr ""
787
 
788
- #: includes/shortcodes/box.php:40
789
  msgid "Color for the box title text"
790
  msgstr ""
791
 
792
- #: includes/shortcodes/box.php:48, includes/shortcodes/button.php:91, includes/shortcodes/note.php:32
793
  msgid "Radius"
794
  msgstr ""
795
 
796
- #: includes/shortcodes/box.php:49
797
  msgid "Box corners radius"
798
  msgstr ""
799
 
800
- #: includes/shortcodes/box.php:58
 
 
 
 
 
 
 
 
801
  msgid "Box content"
802
  msgstr ""
803
 
804
- #: includes/shortcodes/box.php:59
805
  msgid "Colored box with caption"
806
  msgstr ""
807
 
808
- #: includes/shortcodes/box.php:66
809
  msgid "This is box title"
810
  msgstr ""
811
 
@@ -1005,7 +1021,7 @@ msgstr ""
1005
  msgid "Choose images source. You can use images from Media library or retrieve it from posts (thumbnails) posted under specified blog category. You can also pick any custom taxonomy"
1006
  msgstr ""
1007
 
1008
- #: includes/shortcodes/carousel.php:28, includes/shortcodes/custom-gallery.php:24, includes/shortcodes/feed.php:23, includes/shortcodes/image-carousel.php:32, includes/shortcodes/slider.php:28
1009
  msgid "Limit"
1010
  msgstr ""
1011
 
@@ -1309,7 +1325,7 @@ msgstr ""
1309
  msgid "Dailymotion"
1310
  msgstr ""
1311
 
1312
- #: includes/shortcodes/dailymotion.php:14, includes/shortcodes/document.php:15, includes/shortcodes/feed.php:14, includes/shortcodes/vimeo.php:14, includes/shortcodes/youtube-advanced.php:15, includes/shortcodes/youtube.php:14
1313
  msgid "Url"
1314
  msgstr ""
1315
 
@@ -1517,7 +1533,7 @@ msgstr ""
1517
  msgid "Image height"
1518
  msgstr ""
1519
 
1520
- #: includes/shortcodes/dummy-image.php:32, includes/shortcodes/posts.php:175
1521
  msgid "Any"
1522
  msgstr ""
1523
 
@@ -1737,22 +1753,34 @@ msgstr ""
1737
  msgid "Expandable text block"
1738
  msgstr ""
1739
 
1740
- #: includes/shortcodes/feed.php:7
1741
  msgid "RSS feed"
1742
  msgstr ""
1743
 
1744
- #: includes/shortcodes/feed.php:15
1745
- msgid "Url to RSS-feed"
 
 
 
 
1746
  msgstr ""
1747
 
1748
- #: includes/shortcodes/feed.php:23
1749
  msgid "Number of items to show"
1750
  msgstr ""
1751
 
1752
- #: includes/shortcodes/feed.php:32
1753
  msgid "Feed grabber"
1754
  msgstr ""
1755
 
 
 
 
 
 
 
 
 
1756
  #: includes/shortcodes/frame.php:7
1757
  msgid "Frame"
1758
  msgstr ""
@@ -2117,7 +2145,7 @@ msgstr ""
2117
  msgid "Lightbox content"
2118
  msgstr ""
2119
 
2120
- #: includes/shortcodes/lightbox-content.php:15, includes/shortcodes/permalink.php:13, includes/shortcodes/user.php:15
2121
  msgid "ID"
2122
  msgstr ""
2123
 
@@ -2330,23 +2358,23 @@ msgstr ""
2330
  msgid "Meta key name"
2331
  msgstr ""
2332
 
2333
- #: includes/shortcodes/meta.php:19, includes/shortcodes/post.php:44, includes/shortcodes/user.php:31
2334
  msgid "This text will be shown if data is not found"
2335
  msgstr ""
2336
 
2337
- #: includes/shortcodes/meta.php:23, includes/shortcodes/post.php:48, includes/shortcodes/user.php:35
2338
  msgid "Before"
2339
  msgstr ""
2340
 
2341
- #: includes/shortcodes/meta.php:24, includes/shortcodes/post.php:49, includes/shortcodes/user.php:36
2342
  msgid "This content will be shown before the value"
2343
  msgstr ""
2344
 
2345
- #: includes/shortcodes/meta.php:28, includes/shortcodes/post.php:53, includes/shortcodes/user.php:40
2346
  msgid "After"
2347
  msgstr ""
2348
 
2349
- #: includes/shortcodes/meta.php:29, includes/shortcodes/post.php:54, includes/shortcodes/user.php:41
2350
  msgid "This content will be shown after the value"
2351
  msgstr ""
2352
 
@@ -2358,11 +2386,11 @@ msgstr ""
2358
  msgid "You can specify custom post ID. Leave this field empty to use an ID of the current post. Current post ID may not work in Live Preview mode"
2359
  msgstr ""
2360
 
2361
- #: includes/shortcodes/meta.php:38, includes/shortcodes/post.php:69, includes/shortcodes/user.php:50
2362
  msgid "Filter"
2363
  msgstr ""
2364
 
2365
- #: includes/shortcodes/meta.php:39, includes/shortcodes/post.php:70, includes/shortcodes/user.php:51
2366
  msgid "You can apply custom filter to the retrieved value. Enter here function name. Your function must accept one argument and return modified value. Name of your function must include word <b>filter</b>. Example function: "
2367
  msgstr ""
2368
 
@@ -2394,11 +2422,11 @@ msgstr ""
2394
  msgid "Note corners radius"
2395
  msgstr ""
2396
 
2397
- #: includes/shortcodes/note.php:42
2398
  msgid "Note text"
2399
  msgstr ""
2400
 
2401
- #: includes/shortcodes/note.php:43
2402
  msgid "Colored box"
2403
  msgstr ""
2404
 
@@ -2458,7 +2486,7 @@ msgstr ""
2458
  msgid "Post excerpt"
2459
  msgstr ""
2460
 
2461
- #: includes/shortcodes/post.php:23, includes/shortcodes/posts.php:178
2462
  msgid "Post status"
2463
  msgstr ""
2464
 
@@ -2482,7 +2510,7 @@ msgstr ""
2482
  msgid "Filtered post content"
2483
  msgstr ""
2484
 
2485
- #: includes/shortcodes/post.php:30, includes/shortcodes/posts.php:146, includes/shortcodes/posts.php:158
2486
  msgid "Post parent"
2487
  msgstr ""
2488
 
@@ -2506,7 +2534,7 @@ msgstr ""
2506
  msgid "Comment count"
2507
  msgstr ""
2508
 
2509
- #: includes/shortcodes/post.php:38, includes/shortcodes/user.php:25
2510
  msgid "Field"
2511
  msgstr ""
2512
 
@@ -2658,71 +2686,75 @@ msgstr ""
2658
  msgid "Meta key values"
2659
  msgstr ""
2660
 
2661
- #: includes/shortcodes/posts.php:153
2662
- msgid "Order by"
2663
  msgstr ""
2664
 
2665
  #: includes/shortcodes/posts.php:154
 
 
 
 
2666
  msgid "Order posts by"
2667
  msgstr ""
2668
 
2669
- #: includes/shortcodes/posts.php:159
2670
  msgid "Show childrens of entered post (enter post ID)"
2671
  msgstr ""
2672
 
2673
- #: includes/shortcodes/posts.php:167
2674
  msgid "Published"
2675
  msgstr ""
2676
 
2677
- #: includes/shortcodes/posts.php:168
2678
  msgid "Pending"
2679
  msgstr ""
2680
 
2681
- #: includes/shortcodes/posts.php:169
2682
  msgid "Draft"
2683
  msgstr ""
2684
 
2685
- #: includes/shortcodes/posts.php:170
2686
  msgid "Auto-draft"
2687
  msgstr ""
2688
 
2689
- #: includes/shortcodes/posts.php:171
2690
  msgid "Future post"
2691
  msgstr ""
2692
 
2693
- #: includes/shortcodes/posts.php:172
2694
  msgid "Private post"
2695
  msgstr ""
2696
 
2697
- #: includes/shortcodes/posts.php:173
2698
  msgid "Inherit"
2699
  msgstr ""
2700
 
2701
- #: includes/shortcodes/posts.php:174
2702
  msgid "Trashed"
2703
  msgstr ""
2704
 
2705
- #: includes/shortcodes/posts.php:179
2706
  msgid "Show only posts with selected status"
2707
  msgstr ""
2708
 
2709
- #: includes/shortcodes/posts.php:187
2710
  msgid "Ignore sticky"
2711
  msgstr ""
2712
 
2713
- #: includes/shortcodes/posts.php:188
2714
  msgid "Select Yes to ignore posts that is sticked"
2715
  msgstr ""
2716
 
2717
- #: includes/shortcodes/posts.php:194
2718
  msgid "Custom posts query with customizable template"
2719
  msgstr ""
2720
 
2721
- #: includes/shortcodes/posts.php:231, includes/shortcodes/template.php:33
2722
  msgid "invalid template name"
2723
  msgstr ""
2724
 
2725
- #: includes/shortcodes/posts.php:408
2726
  msgid "template not found"
2727
  msgstr ""
2728
 
@@ -2794,31 +2826,31 @@ msgstr ""
2794
  msgid "please specify the data"
2795
  msgstr ""
2796
 
2797
- #: includes/shortcodes/quote.php:7, includes/shortcodes/quote.php:38
2798
  msgid "Quote"
2799
  msgstr ""
2800
 
2801
- #: includes/shortcodes/quote.php:18
2802
  msgid "Choose style for this quote"
2803
  msgstr ""
2804
 
2805
- #: includes/shortcodes/quote.php:22
2806
  msgid "Cite"
2807
  msgstr ""
2808
 
2809
- #: includes/shortcodes/quote.php:23
2810
  msgid "Quote author name"
2811
  msgstr ""
2812
 
2813
- #: includes/shortcodes/quote.php:28
2814
  msgid "Cite url"
2815
  msgstr ""
2816
 
2817
- #: includes/shortcodes/quote.php:29
2818
  msgid "Url of the quote author. Leave empty to disable link"
2819
  msgstr ""
2820
 
2821
- #: includes/shortcodes/quote.php:39
2822
  msgid "Blockquote alternative"
2823
  msgstr ""
2824
 
@@ -3228,10 +3260,6 @@ msgstr ""
3228
  msgid "You can use unique anchor for this tab to access it with hash in page url. For example: use <b%value>Hello</b> and then navigate to url like http://example.com/page-url#Hello. This tab will be activated and scrolled in"
3229
  msgstr ""
3230
 
3231
- #: includes/shortcodes/tabs.php:96, includes/shortcodes/user.php:19
3232
- msgid "URL"
3233
- msgstr ""
3234
-
3235
  #: includes/shortcodes/tabs.php:97
3236
  msgid "Link tab to any webpage. Use full URL to turn the tab title into link"
3237
  msgstr ""
@@ -3405,47 +3433,47 @@ msgstr ""
3405
  msgid "Tooltip window with custom content"
3406
  msgstr ""
3407
 
3408
- #: includes/shortcodes/user.php:7, includes/shortcodes/user.php:54
3409
  msgid "User data"
3410
  msgstr ""
3411
 
3412
- #: includes/shortcodes/user.php:14
3413
  msgid "Display name"
3414
  msgstr ""
3415
 
3416
- #: includes/shortcodes/user.php:16
3417
  msgid "Login"
3418
  msgstr ""
3419
 
3420
- #: includes/shortcodes/user.php:17
3421
  msgid "Nice name"
3422
  msgstr ""
3423
 
3424
- #: includes/shortcodes/user.php:18
3425
  msgid "Email"
3426
  msgstr ""
3427
 
3428
- #: includes/shortcodes/user.php:20
3429
  msgid "Registered"
3430
  msgstr ""
3431
 
3432
- #: includes/shortcodes/user.php:21
3433
  msgid "Activation key"
3434
  msgstr ""
3435
 
3436
- #: includes/shortcodes/user.php:22
3437
  msgid "Status"
3438
  msgstr ""
3439
 
3440
- #: includes/shortcodes/user.php:26
3441
  msgid "User data field name"
3442
  msgstr ""
3443
 
3444
- #: includes/shortcodes/user.php:45
3445
  msgid "User ID"
3446
  msgstr ""
3447
 
3448
- #: includes/shortcodes/user.php:46
3449
  msgid "You can specify custom user ID. Leave this field empty to use an ID of the current user"
3450
  msgstr ""
3451
 
@@ -3453,8 +3481,12 @@ msgstr ""
3453
  msgid "password field is not allowed"
3454
  msgstr ""
3455
 
3456
- #: includes/shortcodes/user.php:72
3457
- msgid "user ID is incorrect"
 
 
 
 
3458
  msgstr ""
3459
 
3460
  #: includes/shortcodes/video.php:7
1
+ # Copyright (C) 2020 Shortcodes Ultimate
2
  # This file is distributed under the same license as the Shortcodes Ultimate package.
3
  msgid ""
4
  msgstr ""
82
  msgid "Shadow"
83
  msgstr ""
84
 
85
+ #: admin/class-shortcodes-ultimate-admin-settings.php:70, admin/class-shortcodes-ultimate-admin-settings.php:71, admin/class-shortcodes-ultimate-admin-settings.php:186, inc/core/generator.php:176
86
  msgid "Settings"
87
  msgstr ""
88
 
89
+ #: admin/class-shortcodes-ultimate-admin-settings.php:88, admin/class-shortcodes-ultimate-admin-settings.php:165
90
  msgid "General settings"
91
  msgstr ""
92
 
93
+ #: admin/class-shortcodes-ultimate-admin-settings.php:213
94
  msgid "Custom CSS code"
95
  msgstr ""
96
 
97
+ #: admin/class-shortcodes-ultimate-admin-settings.php:214
98
  msgid "In this field you can write your custom CSS code for shortcodes. These styles will have higher priority compared to original styles of shortcodes. You can use variables in your CSS code. These variables will be replaced by respective values."
99
  msgstr ""
100
 
101
+ #: admin/class-shortcodes-ultimate-admin-settings.php:221
102
  msgid "Supported blocks"
103
  msgstr ""
104
 
105
+ #: admin/class-shortcodes-ultimate-admin-settings.php:222
106
  msgid "Enable the \"Insert Shortcode\" button in selected blocks"
107
  msgstr ""
108
 
109
+ #: admin/class-shortcodes-ultimate-admin-settings.php:230
110
  msgid "Enable shortcodes in"
111
  msgstr ""
112
 
113
+ #: admin/class-shortcodes-ultimate-admin-settings.php:231
114
  msgid "This option allows you to enable shortcodes in places where they are disabled by default"
115
  msgstr ""
116
 
117
+ #: admin/class-shortcodes-ultimate-admin-settings.php:233
118
  msgid "Term descriptions (Categories, Tags, Custom Taxonomies)"
119
  msgstr ""
120
 
121
+ #: admin/class-shortcodes-ultimate-admin-settings.php:234
122
  msgid "Text widgets"
123
  msgstr ""
124
 
125
+ #: admin/class-shortcodes-ultimate-admin-settings.php:248
126
  msgid "Shortcodes prefix"
127
  msgstr ""
128
 
129
+ #: admin/class-shortcodes-ultimate-admin-settings.php:249
130
  msgid "This prefix will be used in shortcode names. For example: set <code>MY_</code> prefix and shortcodes will look like <code>[MY_button]</code>. Please note that this setting does not change shortcodes that have been inserted earlier. Change this setting very carefully."
131
  msgstr ""
132
 
133
+ #: admin/class-shortcodes-ultimate-admin-settings.php:259
134
  msgid "Custom formatting"
135
  msgstr ""
136
 
137
+ #: admin/class-shortcodes-ultimate-admin-settings.php:260
138
  msgid "Enable this option if you face any problems with formatting of nested shortcodes."
139
  msgstr ""
140
 
141
+ #: admin/class-shortcodes-ultimate-admin-settings.php:270
142
  msgid "Skip default settings"
143
  msgstr ""
144
 
145
+ #: admin/class-shortcodes-ultimate-admin-settings.php:271
146
  msgid "Enable this option if you don't want the inserted shortcode to contain any settings that were not changed by you. As a result, inserted shortcodes will be much shorter."
147
  msgstr ""
148
 
149
+ #: admin/class-shortcodes-ultimate-admin-settings.php:279
150
  msgid "Required user capability"
151
  msgstr ""
152
 
153
+ #: admin/class-shortcodes-ultimate-admin-settings.php:280
154
  msgid "A user must have this capability to be able to use the \"Insert Shortcode\" button. Do not change this value if you do not understand its meaning as this may lower the plugin security."
155
  msgstr ""
156
 
157
+ #: admin/class-shortcodes-ultimate-admin-settings.php:290
158
  msgid "Hide deprecated shortcodes"
159
  msgstr ""
160
 
161
+ #: admin/class-shortcodes-ultimate-admin-settings.php:291
162
  msgid "This option hides all deprecated shortcodes from the Insert Shortcode window and at the Available Shortcodes page. Hidden shortcodes will continue to work."
163
  msgstr ""
164
 
165
+ #: admin/class-shortcodes-ultimate-admin-settings.php:301
166
+ msgid "Nested shortcodes alternative mode"
167
+ msgstr ""
168
+
169
+ #: admin/class-shortcodes-ultimate-admin-settings.php:302
170
+ msgid "This option enables alternative (deprecated) mode for nested shortcodes."
171
+ msgstr ""
172
+
173
  #: admin/class-shortcodes-ultimate-admin-shortcodes.php:26, admin/class-shortcodes-ultimate-admin-shortcodes.php:27
174
  msgid "Available shortcodes"
175
  msgstr ""
176
 
177
+ #: admin/class-shortcodes-ultimate-admin-shortcodes.php:88, admin/class-shortcodes-ultimate-admin-top-level.php:39, admin/class-shortcodes-ultimate-admin.php:267, includes/filters.php:66, inc/core/widget.php:14, inc/core/widget.php:40, admin/partials/help/sidebar.php:3
178
  msgid "Shortcodes Ultimate"
179
  msgstr ""
180
 
272
  msgid "Shortcodes Ultimate is not activated, because it requires WordPress version %1$s (or higher). You have version %2$s."
273
  msgstr ""
274
 
275
+ #: includes/filters.php:63
276
  msgid "Slide link"
277
  msgstr ""
278
 
279
+ #: includes/filters.php:66
280
  msgid "Use this field to add custom links to slides used with Slider, Carousel and Custom Gallery shortcodes"
281
  msgstr ""
282
 
397
  msgid "Blur"
398
  msgstr ""
399
 
400
+ #: inc/core/generator-views.php:124, includes/shortcodes/box.php:35
401
  msgid "Color"
402
  msgstr ""
403
 
609
  msgid "All"
610
  msgstr ""
611
 
612
+ #: includes/config/groups.php:8, includes/shortcodes/box.php:8
613
  msgid "Box"
614
  msgstr ""
615
 
645
  msgid "Accordion"
646
  msgstr ""
647
 
648
+ #: includes/shortcodes/accordion.php:14, includes/shortcodes/animate.php:44, includes/shortcodes/audio.php:37, includes/shortcodes/box.php:56, includes/shortcodes/button.php:144, includes/shortcodes/carousel.php:141, includes/shortcodes/column.php:40, includes/shortcodes/csv-table.php:52, includes/shortcodes/custom-gallery.php:82, includes/shortcodes/dailymotion.php:103, includes/shortcodes/divider.php:68, includes/shortcodes/document.php:49, includes/shortcodes/dropcap.php:33, includes/shortcodes/dummy-image.php:53, includes/shortcodes/dummy-text.php:46, includes/shortcodes/expand.php:88, includes/shortcodes/feed.php:29, includes/shortcodes/frame.php:25, includes/shortcodes/gmap.php:58, includes/shortcodes/guests.php:13, includes/shortcodes/heading.php:56, includes/shortcodes/highlight.php:26, includes/shortcodes/image-carousel.php:187, includes/shortcodes/label.php:27, includes/shortcodes/lightbox-content.php:78, includes/shortcodes/lightbox.php:38, includes/shortcodes/list.php:35, includes/shortcodes/members.php:35, includes/shortcodes/menu.php:18, includes/shortcodes/note.php:37, includes/shortcodes/permalink.php:38, includes/shortcodes/private.php:13, includes/shortcodes/pullquote.php:22, includes/shortcodes/qrcode.php:81, includes/shortcodes/quote.php:34, includes/shortcodes/row.php:15, includes/shortcodes/service.php:41, includes/shortcodes/siblings.php:19, includes/shortcodes/slider.php:122, includes/shortcodes/spacer.php:22, includes/shortcodes/spoiler.php:61, includes/shortcodes/subpages.php:25, includes/shortcodes/table.php:34, includes/shortcodes/tabs.php:52, includes/shortcodes/tabs.php:111, includes/shortcodes/tooltip.php:99, includes/shortcodes/video.php:67, includes/shortcodes/vimeo.php:71, includes/shortcodes/youtube-advanced.php:134, includes/shortcodes/youtube.php:60
649
  msgid "Extra CSS class"
650
  msgstr ""
651
 
652
+ #: includes/shortcodes/accordion.php:15, includes/shortcodes/animate.php:45, includes/shortcodes/audio.php:38, includes/shortcodes/box.php:57, includes/shortcodes/button.php:145, includes/shortcodes/carousel.php:142, includes/shortcodes/column.php:41, includes/shortcodes/csv-table.php:53, includes/shortcodes/custom-gallery.php:83, includes/shortcodes/dailymotion.php:104, includes/shortcodes/divider.php:69, includes/shortcodes/document.php:50, includes/shortcodes/dropcap.php:34, includes/shortcodes/dummy-image.php:54, includes/shortcodes/dummy-text.php:47, includes/shortcodes/expand.php:89, includes/shortcodes/feed.php:30, includes/shortcodes/gmap.php:59, includes/shortcodes/guests.php:14, includes/shortcodes/heading.php:57, includes/shortcodes/highlight.php:27, includes/shortcodes/image-carousel.php:188, includes/shortcodes/label.php:28, includes/shortcodes/lightbox-content.php:79, includes/shortcodes/lightbox.php:39, includes/shortcodes/list.php:36, includes/shortcodes/members.php:36, includes/shortcodes/menu.php:19, includes/shortcodes/note.php:38, includes/shortcodes/permalink.php:39, includes/shortcodes/private.php:14, includes/shortcodes/pullquote.php:23, includes/shortcodes/qrcode.php:82, includes/shortcodes/quote.php:35, includes/shortcodes/row.php:16, includes/shortcodes/service.php:42, includes/shortcodes/siblings.php:20, includes/shortcodes/slider.php:123, includes/shortcodes/spacer.php:23, includes/shortcodes/spoiler.php:62, includes/shortcodes/subpages.php:26, includes/shortcodes/table.php:35, includes/shortcodes/tabs.php:53, includes/shortcodes/tabs.php:112, includes/shortcodes/tooltip.php:100, includes/shortcodes/video.php:68, includes/shortcodes/vimeo.php:72, includes/shortcodes/youtube-advanced.php:135, includes/shortcodes/youtube.php:61
653
  msgid "Additional CSS class name(s) separated by space(s)"
654
  msgstr ""
655
 
745
  msgid "please specify correct url"
746
  msgstr ""
747
 
748
+ #: includes/shortcodes/box.php:14
749
  msgid "Box title"
750
  msgstr ""
751
 
752
+ #: includes/shortcodes/box.php:15, includes/shortcodes/dailymotion.php:97, includes/shortcodes/document.php:43, includes/shortcodes/gmap.php:52, includes/shortcodes/permalink.php:28, includes/shortcodes/qrcode.php:19, includes/shortcodes/service.php:15, includes/shortcodes/spoiler.php:13, includes/shortcodes/tabs.php:80, includes/shortcodes/video.php:26, includes/shortcodes/vimeo.php:60, includes/shortcodes/youtube-advanced.php:128, includes/shortcodes/youtube.php:54
753
  msgid "Title"
754
  msgstr ""
755
 
756
+ #: includes/shortcodes/box.php:16
757
  msgid "Text for the box title"
758
  msgstr ""
759
 
760
+ #: includes/shortcodes/box.php:21, includes/shortcodes/button.php:31, includes/shortcodes/divider.php:25, includes/shortcodes/dropcap.php:14, includes/shortcodes/expand.php:53, includes/shortcodes/heading.php:14, includes/shortcodes/image-carousel.php:38, includes/shortcodes/label.php:14, includes/shortcodes/meta.php:18, includes/shortcodes/post.php:43, includes/shortcodes/quote.php:15, includes/shortcodes/spoiler.php:25, includes/shortcodes/tabs.php:18, includes/shortcodes/tooltip.php:58, includes/shortcodes/user.php:31
761
  msgid "Default"
762
  msgstr ""
763
 
764
+ #: includes/shortcodes/box.php:22, includes/shortcodes/button.php:34
765
  msgid "Soft"
766
  msgstr ""
767
 
768
+ #: includes/shortcodes/box.php:23, includes/shortcodes/button.php:35
769
  msgid "Glass"
770
  msgstr ""
771
 
772
+ #: includes/shortcodes/box.php:24, includes/shortcodes/button.php:36
773
  msgid "Bubbles"
774
  msgstr ""
775
 
776
+ #: includes/shortcodes/box.php:25, includes/shortcodes/button.php:37
777
  msgid "Noise"
778
  msgstr ""
779
 
780
+ #: includes/shortcodes/box.php:28, includes/shortcodes/button.php:42, includes/shortcodes/divider.php:31, includes/shortcodes/dropcap.php:20, includes/shortcodes/heading.php:17, includes/shortcodes/quote.php:18, includes/shortcodes/spoiler.php:30, includes/shortcodes/tabs.php:21, includes/shortcodes/tooltip.php:28
781
  msgid "Style"
782
  msgstr ""
783
 
784
+ #: includes/shortcodes/box.php:29
785
  msgid "Box style preset"
786
  msgstr ""
787
 
788
+ #: includes/shortcodes/box.php:36
789
  msgid "Color for the box title and borders"
790
  msgstr ""
791
 
792
+ #: includes/shortcodes/box.php:42
793
  msgid "Title text color"
794
  msgstr ""
795
 
796
+ #: includes/shortcodes/box.php:43
797
  msgid "Color for the box title text"
798
  msgstr ""
799
 
800
+ #: includes/shortcodes/box.php:51, includes/shortcodes/button.php:91, includes/shortcodes/note.php:32
801
  msgid "Radius"
802
  msgstr ""
803
 
804
+ #: includes/shortcodes/box.php:52
805
  msgid "Box corners radius"
806
  msgstr ""
807
 
808
+ #: includes/shortcodes/box.php:61, includes/shortcodes/note.php:42
809
+ msgid "HTML Anchor"
810
+ msgstr ""
811
+
812
+ #: includes/shortcodes/box.php:62, includes/shortcodes/note.php:43
813
+ msgid "Enter a word or two, without spaces, to make a unique web address just for this element. Then, you'll be able to link directly to this section of your page."
814
+ msgstr ""
815
+
816
+ #: includes/shortcodes/box.php:66
817
  msgid "Box content"
818
  msgstr ""
819
 
820
+ #: includes/shortcodes/box.php:67
821
  msgid "Colored box with caption"
822
  msgstr ""
823
 
824
+ #: includes/shortcodes/box.php:76
825
  msgid "This is box title"
826
  msgstr ""
827
 
1021
  msgid "Choose images source. You can use images from Media library or retrieve it from posts (thumbnails) posted under specified blog category. You can also pick any custom taxonomy"
1022
  msgstr ""
1023
 
1024
+ #: includes/shortcodes/carousel.php:28, includes/shortcodes/custom-gallery.php:24, includes/shortcodes/feed.php:24, includes/shortcodes/image-carousel.php:32, includes/shortcodes/slider.php:28
1025
  msgid "Limit"
1026
  msgstr ""
1027
 
1325
  msgid "Dailymotion"
1326
  msgstr ""
1327
 
1328
+ #: includes/shortcodes/dailymotion.php:14, includes/shortcodes/document.php:15, includes/shortcodes/vimeo.php:14, includes/shortcodes/youtube-advanced.php:15, includes/shortcodes/youtube.php:14
1329
  msgid "Url"
1330
  msgstr ""
1331
 
1533
  msgid "Image height"
1534
  msgstr ""
1535
 
1536
+ #: includes/shortcodes/dummy-image.php:32, includes/shortcodes/posts.php:176
1537
  msgid "Any"
1538
  msgstr ""
1539
 
1753
  msgid "Expandable text block"
1754
  msgstr ""
1755
 
1756
+ #: includes/shortcodes/feed.php:8
1757
  msgid "RSS feed"
1758
  msgstr ""
1759
 
1760
+ #: includes/shortcodes/feed.php:15, includes/shortcodes/tabs.php:96, includes/shortcodes/user.php:20
1761
+ msgid "URL"
1762
+ msgstr ""
1763
+
1764
+ #: includes/shortcodes/feed.php:16
1765
+ msgid "RSS feed URL"
1766
  msgstr ""
1767
 
1768
+ #: includes/shortcodes/feed.php:25
1769
  msgid "Number of items to show"
1770
  msgstr ""
1771
 
1772
+ #: includes/shortcodes/feed.php:34
1773
  msgid "Feed grabber"
1774
  msgstr ""
1775
 
1776
+ #: includes/shortcodes/feed.php:47
1777
+ msgid "invalid feed URL"
1778
+ msgstr ""
1779
+
1780
+ #: includes/shortcodes/feed.php:59
1781
+ msgid "no items in the feed"
1782
+ msgstr ""
1783
+
1784
  #: includes/shortcodes/frame.php:7
1785
  msgid "Frame"
1786
  msgstr ""
2145
  msgid "Lightbox content"
2146
  msgstr ""
2147
 
2148
+ #: includes/shortcodes/lightbox-content.php:15, includes/shortcodes/permalink.php:13, includes/shortcodes/user.php:16
2149
  msgid "ID"
2150
  msgstr ""
2151
 
2358
  msgid "Meta key name"
2359
  msgstr ""
2360
 
2361
+ #: includes/shortcodes/meta.php:19, includes/shortcodes/post.php:44, includes/shortcodes/user.php:32
2362
  msgid "This text will be shown if data is not found"
2363
  msgstr ""
2364
 
2365
+ #: includes/shortcodes/meta.php:23, includes/shortcodes/post.php:48, includes/shortcodes/user.php:36
2366
  msgid "Before"
2367
  msgstr ""
2368
 
2369
+ #: includes/shortcodes/meta.php:24, includes/shortcodes/post.php:49, includes/shortcodes/user.php:37
2370
  msgid "This content will be shown before the value"
2371
  msgstr ""
2372
 
2373
+ #: includes/shortcodes/meta.php:28, includes/shortcodes/post.php:53, includes/shortcodes/user.php:41
2374
  msgid "After"
2375
  msgstr ""
2376
 
2377
+ #: includes/shortcodes/meta.php:29, includes/shortcodes/post.php:54, includes/shortcodes/user.php:42
2378
  msgid "This content will be shown after the value"
2379
  msgstr ""
2380
 
2386
  msgid "You can specify custom post ID. Leave this field empty to use an ID of the current post. Current post ID may not work in Live Preview mode"
2387
  msgstr ""
2388
 
2389
+ #: includes/shortcodes/meta.php:38, includes/shortcodes/post.php:69, includes/shortcodes/user.php:51
2390
  msgid "Filter"
2391
  msgstr ""
2392
 
2393
+ #: includes/shortcodes/meta.php:39, includes/shortcodes/post.php:70, includes/shortcodes/user.php:52
2394
  msgid "You can apply custom filter to the retrieved value. Enter here function name. Your function must accept one argument and return modified value. Name of your function must include word <b>filter</b>. Example function: "
2395
  msgstr ""
2396
 
2422
  msgid "Note corners radius"
2423
  msgstr ""
2424
 
2425
+ #: includes/shortcodes/note.php:47
2426
  msgid "Note text"
2427
  msgstr ""
2428
 
2429
+ #: includes/shortcodes/note.php:48
2430
  msgid "Colored box"
2431
  msgstr ""
2432
 
2486
  msgid "Post excerpt"
2487
  msgstr ""
2488
 
2489
+ #: includes/shortcodes/post.php:23, includes/shortcodes/posts.php:179
2490
  msgid "Post status"
2491
  msgstr ""
2492
 
2510
  msgid "Filtered post content"
2511
  msgstr ""
2512
 
2513
+ #: includes/shortcodes/post.php:30, includes/shortcodes/posts.php:146, includes/shortcodes/posts.php:159
2514
  msgid "Post parent"
2515
  msgstr ""
2516
 
2534
  msgid "Comment count"
2535
  msgstr ""
2536
 
2537
+ #: includes/shortcodes/post.php:38, includes/shortcodes/user.php:26
2538
  msgid "Field"
2539
  msgstr ""
2540
 
2686
  msgid "Meta key values"
2687
  msgstr ""
2688
 
2689
+ #: includes/shortcodes/posts.php:151
2690
+ msgid "Meta key values (Numeric)"
2691
  msgstr ""
2692
 
2693
  #: includes/shortcodes/posts.php:154
2694
+ msgid "Order by"
2695
+ msgstr ""
2696
+
2697
+ #: includes/shortcodes/posts.php:155
2698
  msgid "Order posts by"
2699
  msgstr ""
2700
 
2701
+ #: includes/shortcodes/posts.php:160
2702
  msgid "Show childrens of entered post (enter post ID)"
2703
  msgstr ""
2704
 
2705
+ #: includes/shortcodes/posts.php:168
2706
  msgid "Published"
2707
  msgstr ""
2708
 
2709
+ #: includes/shortcodes/posts.php:169
2710
  msgid "Pending"
2711
  msgstr ""
2712
 
2713
+ #: includes/shortcodes/posts.php:170
2714
  msgid "Draft"
2715
  msgstr ""
2716
 
2717
+ #: includes/shortcodes/posts.php:171
2718
  msgid "Auto-draft"
2719
  msgstr ""
2720
 
2721
+ #: includes/shortcodes/posts.php:172
2722
  msgid "Future post"
2723
  msgstr ""
2724
 
2725
+ #: includes/shortcodes/posts.php:173
2726
  msgid "Private post"
2727
  msgstr ""
2728
 
2729
+ #: includes/shortcodes/posts.php:174
2730
  msgid "Inherit"
2731
  msgstr ""
2732
 
2733
+ #: includes/shortcodes/posts.php:175
2734
  msgid "Trashed"
2735
  msgstr ""
2736
 
2737
+ #: includes/shortcodes/posts.php:180
2738
  msgid "Show only posts with selected status"
2739
  msgstr ""
2740
 
2741
+ #: includes/shortcodes/posts.php:188
2742
  msgid "Ignore sticky"
2743
  msgstr ""
2744
 
2745
+ #: includes/shortcodes/posts.php:189
2746
  msgid "Select Yes to ignore posts that is sticked"
2747
  msgstr ""
2748
 
2749
+ #: includes/shortcodes/posts.php:195
2750
  msgid "Custom posts query with customizable template"
2751
  msgstr ""
2752
 
2753
+ #: includes/shortcodes/posts.php:232, includes/shortcodes/template.php:33
2754
  msgid "invalid template name"
2755
  msgstr ""
2756
 
2757
+ #: includes/shortcodes/posts.php:409
2758
  msgid "template not found"
2759
  msgstr ""
2760
 
2826
  msgid "please specify the data"
2827
  msgstr ""
2828
 
2829
+ #: includes/shortcodes/quote.php:8, includes/shortcodes/quote.php:39
2830
  msgid "Quote"
2831
  msgstr ""
2832
 
2833
+ #: includes/shortcodes/quote.php:19
2834
  msgid "Choose style for this quote"
2835
  msgstr ""
2836
 
2837
+ #: includes/shortcodes/quote.php:23
2838
  msgid "Cite"
2839
  msgstr ""
2840
 
2841
+ #: includes/shortcodes/quote.php:24
2842
  msgid "Quote author name"
2843
  msgstr ""
2844
 
2845
+ #: includes/shortcodes/quote.php:29
2846
  msgid "Cite url"
2847
  msgstr ""
2848
 
2849
+ #: includes/shortcodes/quote.php:30
2850
  msgid "Url of the quote author. Leave empty to disable link"
2851
  msgstr ""
2852
 
2853
+ #: includes/shortcodes/quote.php:40
2854
  msgid "Blockquote alternative"
2855
  msgstr ""
2856
 
3260
  msgid "You can use unique anchor for this tab to access it with hash in page url. For example: use <b%value>Hello</b> and then navigate to url like http://example.com/page-url#Hello. This tab will be activated and scrolled in"
3261
  msgstr ""
3262
 
 
 
 
 
3263
  #: includes/shortcodes/tabs.php:97
3264
  msgid "Link tab to any webpage. Use full URL to turn the tab title into link"
3265
  msgstr ""
3433
  msgid "Tooltip window with custom content"
3434
  msgstr ""
3435
 
3436
+ #: includes/shortcodes/user.php:8, includes/shortcodes/user.php:55
3437
  msgid "User data"
3438
  msgstr ""
3439
 
3440
+ #: includes/shortcodes/user.php:15
3441
  msgid "Display name"
3442
  msgstr ""
3443
 
3444
+ #: includes/shortcodes/user.php:17
3445
  msgid "Login"
3446
  msgstr ""
3447
 
3448
+ #: includes/shortcodes/user.php:18
3449
  msgid "Nice name"
3450
  msgstr ""
3451
 
3452
+ #: includes/shortcodes/user.php:19
3453
  msgid "Email"
3454
  msgstr ""
3455
 
3456
+ #: includes/shortcodes/user.php:21
3457
  msgid "Registered"
3458
  msgstr ""
3459
 
3460
+ #: includes/shortcodes/user.php:22
3461
  msgid "Activation key"
3462
  msgstr ""
3463
 
3464
+ #: includes/shortcodes/user.php:23
3465
  msgid "Status"
3466
  msgstr ""
3467
 
3468
+ #: includes/shortcodes/user.php:27
3469
  msgid "User data field name"
3470
  msgstr ""
3471
 
3472
+ #: includes/shortcodes/user.php:46
3473
  msgid "User ID"
3474
  msgstr ""
3475
 
3476
+ #: includes/shortcodes/user.php:47
3477
  msgid "You can specify custom user ID. Leave this field empty to use an ID of the current user"
3478
  msgstr ""
3479
 
3481
  msgid "password field is not allowed"
3482
  msgstr ""
3483
 
3484
+ #: includes/shortcodes/user.php:81
3485
+ msgid "invalid user ID"
3486
+ msgstr ""
3487
+
3488
+ #: includes/shortcodes/user.php:92
3489
+ msgid "user not found"
3490
  msgstr ""
3491
 
3492
  #: includes/shortcodes/video.php:7
readme.txt CHANGED
@@ -1,12 +1,12 @@
1
- === Shortcodes Ultimate ===
2
  Contributors: gn_themes
3
  License: GPLv3
4
  Donate link: https://paypal.me/anovladimir
5
- Tags: shortcode, toggle, columns, button, slider, video, map, visual, responsive, shortcodes, youtube, vimeo, audio, mp3, tabs, jquery, box, accordion, toggle, pullquote, list, image, gallery, navigation, permalink, feed, rss, members, membership, guests, carousel, icons, rtl, multilingual
6
  Requires at least: 4.6
7
  Requires PHP: 5.3
8
  Tested up to: 5.3
9
- Stable tag: 5.6.2
10
 
11
  A comprehensive collection of visual components for your site
12
 
@@ -151,6 +151,24 @@ For help with premium add-ons, please [open new support ticket](https://getshort
151
 
152
  == Changelog ==
153
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
154
  = 5.6.2 =
155
 
156
  **Fixes**
1
+ === WordPress Shortcodes Plugin — Shortcodes Ultimate ===
2
  Contributors: gn_themes
3
  License: GPLv3
4
  Donate link: https://paypal.me/anovladimir
5
+ Tags: shortcode, toggle, columns, button, slider
6
  Requires at least: 4.6
7
  Requires PHP: 5.3
8
  Tested up to: 5.3
9
+ Stable tag: 5.7.0
10
 
11
  A comprehensive collection of visual components for your site
12
 
151
 
152
  == Changelog ==
153
 
154
+ = 5.7.0 =
155
+
156
+ **What's new**
157
+
158
+ - The `[su_user]` shortcode can now display user meta
159
+ - New option `id` (HTML Anchor) for the `[su_box]` shortcode
160
+ - New option `id` (HTML Anchor) for the `[su_note]` shortcode
161
+ - Improved compatibility with PHP 7.4, thanks to [Jörn Lund](https://github.com/vanokhin/shortcodes-ultimate/issues/100)
162
+ - New setting *Nested shortcodes alternative mode* which enables deprecated syntax for nested shortcodes. [Details](https://getshortcodes.com/docs/nested-shortcodes-shortcodes-in-attributes/#nested-shortcodes-with-the-same-tag-names)
163
+ - The `[su_feed]` shortcode is now based on SimplePie
164
+ - The `[su_quote]` shortcode now supports nesting
165
+
166
+
167
+ **Fixes**
168
+
169
+ - Fixed compatibility issue with WordPress version 4.5 (white screen at the settings screen)
170
+
171
+
172
  = 5.6.2 =
173
 
174
  **Fixes**
shortcodes-ultimate.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Shortcodes Ultimate
4
  * Plugin URI: https://getshortcodes.com/
5
- * Version: 5.6.2
6
  * Author: Vladimir Anokhin
7
  * Author URI: https://vanokhin.com/
8
  * Description: A comprehensive collection of visual components for WordPress
@@ -14,7 +14,7 @@
14
  * Define plugin constants.
15
  */
16
  define( 'SU_PLUGIN_FILE', __FILE__ );
17
- define( 'SU_PLUGIN_VERSION', '5.6.2' );
18
 
19
  /**
20
  * Load dependencies.
2
  /**
3
  * Plugin Name: Shortcodes Ultimate
4
  * Plugin URI: https://getshortcodes.com/
5
+ * Version: 5.7.0
6
  * Author: Vladimir Anokhin
7
  * Author URI: https://vanokhin.com/
8
  * Description: A comprehensive collection of visual components for WordPress
14
  * Define plugin constants.
15
  */
16
  define( 'SU_PLUGIN_FILE', __FILE__ );
17
+ define( 'SU_PLUGIN_VERSION', '5.7.0' );
18
 
19
  /**
20
  * Load dependencies.