Premium Addons for Elementor - Version 3.2.8

Version Description

  • Tweak: Added Thumbnail Min/Max Height, Fit option for Blog widget.
  • Fixed: Blog masonry is triggered even with Grid option is disabled.
  • Fixed: Self hosted videos are stretched on full screen mode in Video Box widget.
Download this release

Release Info

Developer leap13
Plugin Icon 128x128 Premium Addons for Elementor
Version 3.2.8
Comparing to
See all releases

Code changes from version 3.2.7 to 3.2.8

admin/assets/{admin.css → css/admin.css} RENAMED
File without changes
admin/assets/{notice.css → css/notice.css} RENAMED
@@ -58,4 +58,4 @@
58
  }
59
  .error.pa-notice-wrap .pa-text-wrap a:not(:first-of-type) {
60
  margin-left: 0.3em;
61
- }
58
  }
59
  .error.pa-notice-wrap .pa-text-wrap a:not(:first-of-type) {
60
  margin-left: 0.3em;
61
+ }
admin/assets/{admin.js → js/admin.js} RENAMED
@@ -1,8 +1,9 @@
1
- ( function ( $ ){
 
2
  var redirectionLink = " https://premiumaddons.com/pro/?utm_source=wp-menu&utm_medium=wp-dash&utm_campaign=get-pro&utm_term=";
3
  "use strict";
4
 
5
- $(".pa-checkbox").on("click", function(){
6
  if($(this).prop("checked") == true) {
7
  $(".pa-elements-table input").prop("checked", 1);
8
  }else if($(this).prop("checked") == false){
1
+ ( function ( $ ) {
2
+
3
  var redirectionLink = " https://premiumaddons.com/pro/?utm_source=wp-menu&utm_medium=wp-dash&utm_campaign=get-pro&utm_term=";
4
  "use strict";
5
 
6
+ $(".pa-checkbox").on("click", function() {
7
  if($(this).prop("checked") == true) {
8
  $(".pa-elements-table input").prop("checked", 1);
9
  }else if($(this).prop("checked") == false){
admin/assets/js/pa-notice.js ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ( function ( $ ) {
2
+
3
+ var $noticeWrap = $( ".pa-notice-wrap" ),
4
+ notice = $noticeWrap.data('notice');
5
+
6
+ if( undefined !== notice ) {
7
+
8
+ $noticeWrap.find('.pa-notice-reset').on( "click", function() {
9
+
10
+ $noticeWrap.css('display', 'none');
11
+
12
+ $.ajax({
13
+ url: ajaxurl,
14
+ type: 'POST',
15
+ data: {
16
+ action: 'pa-dismiss-admin-notice',
17
+ notice: $noticeWrap.data( 'notice' )
18
+ }
19
+ });
20
+
21
+
22
+ } );
23
+ }
24
+
25
+
26
+ } )(jQuery);
admin/includes/notices.php CHANGED
@@ -23,6 +23,10 @@ class Premium_Admin_Notices {
23
 
24
  add_action('admin_notices', array( $this, 'admin_notices' ) );
25
 
 
 
 
 
26
  }
27
 
28
  /**
@@ -31,13 +35,13 @@ class Premium_Admin_Notices {
31
  public function init() {
32
  $this->handle_review_notice();
33
  //$this->handle_pbg_notice();
34
- // $this->handle_image_scroll_notice();
35
  }
36
 
37
  /**
38
  * init notices check functions
39
  */
40
  public function admin_notices() {
 
41
  $this->required_plugins_check();
42
 
43
  $cache_key = 'premium_notice_' . PREMIUM_ADDONS_VERSION;
@@ -48,7 +52,6 @@ class Premium_Admin_Notices {
48
  $this->get_review_notice();
49
  }
50
  //$this->get_pbg_notice();
51
- // $this->get_image_scroll_notice();
52
  }
53
 
54
  /**
@@ -69,6 +72,7 @@ class Premium_Admin_Notices {
69
  }
70
 
71
  wp_redirect( remove_query_arg( 'pa_review' ) );
 
72
  exit;
73
  }
74
 
@@ -93,31 +97,14 @@ class Premium_Admin_Notices {
93
  }
94
 
95
  /**
96
- * Checks if image scroll message is dismissed.
97
- * @access public
98
- * @return void
99
- */
100
- public function handle_image_scroll_notice() {
101
- if ( ! isset( $_GET['image_scroll'] ) ) {
102
- return;
103
- }
104
-
105
- if ( 'opt_out' === $_GET['image_scroll'] ) {
106
- check_admin_referer( 'opt_out' );
107
-
108
- update_option( 'image_scroll_notice', '1' );
109
- }
110
-
111
- wp_redirect( remove_query_arg( 'image_scroll' ) );
112
- exit;
113
- }
114
-
115
-
116
- /**
117
- * Shows an admin notice when Elementor is missing.
118
- * @since 1.0.0
119
- * @return boolean
120
- */
121
  public function required_plugins_check() {
122
 
123
  $elementor_path = sprintf( '%1$s/%1$s.php', self::$elementor );
@@ -130,7 +117,7 @@ class Premium_Admin_Notices {
130
 
131
  $install_url = wp_nonce_url( self_admin_url( sprintf( 'update.php?action=install-plugin&plugin=%s', self::$elementor ) ), 'install-plugin_elementor' );
132
 
133
- $message = __( '<p>Premium Addons for Elementor is not working because you need to Install Elementor plugin.</p>', 'premium-addons-for-elementor' );
134
 
135
  $message .= sprintf( '<p><a href="%s" class="button-primary">%s</a></p>', $install_url, __( 'Install Now', 'premium-addons-for-elementor' ) );
136
 
@@ -151,19 +138,22 @@ class Premium_Admin_Notices {
151
  }
152
 
153
  /**
154
- * Renders admin review notice HTML
155
- * @since 2.8.4
156
- * @return void
157
- */
158
- public function get_review_text($review_url, $optout_url){
 
 
 
159
  $notice = sprintf(
160
  '<p>' . __('Did you like','premium-addons-for-elementor') . '<strong>&nbspPremium Addons for Elementor&nbsp</strong>' . __('Plugin?','premium-addons-for-elementor') . '</p>
161
  <p>' . __('Could you please do us a BIG favor ? if you could take 2 min of your time, we\'d really appreciate if you give Premium Addons for Elementor 5-star rating on WordPress. By spreading the love, we can create even greater free stuff in the future!','premium-addons-for-elementor') . '</p>
162
  <p><a class="button button-primary" href="%s" target="_blank"><span><i class="dashicons dashicons-external"></i>' . __('Leave a Review','premium-addons-for-elementor') . '</span></a>
163
- <a class="button button-secondary" href="%2$s"><span><i class="dashicons dashicons-calendar-alt"></i>' . __('Maybe Later','premium-addons-for-elementor') . '</span></a>
164
  <a class="button button-secondary" href="%2$s"><span><i class="dashicons dashicons-smiley"></i>' . __('I Already did','premium-addons-for-elementor') . '</span></a>
165
  </p>',
166
- $review_url, $optout_url);
167
 
168
  return $notice;
169
  }
@@ -185,15 +175,15 @@ class Premium_Admin_Notices {
185
  $optout_url = wp_nonce_url( add_query_arg( 'pa_review', 'opt_out' ), 'opt_out' );
186
  ?>
187
 
188
- <div class="error pa-notice-wrap">
189
  <div class="pa-img-wrap">
190
  <img src="<?php echo PREMIUM_ADDONS_URL .'admin/images/premium-addons-logo.png'; ?>">
191
  </div>
192
  <div class="pa-text-wrap">
193
- <?php echo $this->get_review_text($review_url, $optout_url); ?>
194
  </div>
195
  <div class="pa-notice-close">
196
- <a href="<?php echo esc_url($optout_url); ?>"><span class="dashicons dashicons-dismiss"></span></a>
197
  </div>
198
  </div>
199
 
@@ -245,35 +235,6 @@ class Premium_Admin_Notices {
245
 
246
  }
247
 
248
- /**
249
- * Shows an admin notice for Image Scroll.
250
- * @since 3.1.3
251
- * @return void
252
- */
253
- public function get_image_scroll_notice() {
254
-
255
- $scroll_notice = get_option( 'image_scroll_notice' );
256
-
257
- $theme = self::get_installed_theme();
258
-
259
- $notice_url = sprintf( 'https://premiumaddons.com/elementor-image-scroll-widget?utm_source=imagescroll-notification&utm_medium=wp-dash&utm_campaign=get-pro&utm_term=%s', $theme );
260
-
261
- if ( '1' === $scroll_notice ) {
262
- return;
263
- } else if ( '1' !== $scroll_notice ) {
264
- $optout_url = wp_nonce_url( add_query_arg( 'image_scroll', 'opt_out' ), 'opt_out' );
265
-
266
- $scroll_message = sprintf( __('<p style="display: flex; align-items: center; padding:10px 10px 10px 0;"><img src="%s" style="margin-right: 0.8em; width: 40px;"><span>NEW!&nbsp</span><strong><span>Image Scroll Widget for Elementor&nbsp</strong>is Now Available in Premium Addons for Elementor.&nbsp</span><a href="%s" target="_blank" style="flex-grow: 2;"> Check it out now.</a>', 'premium-addons-for-elementor' ), PREMIUM_ADDONS_URL .'admin/images/premium-addons-logo.png', $notice_url );
267
-
268
- $scroll_message .= sprintf(__('<a href="%s" style="text-decoration: none; margin-left: 1em; float:right; "><span class="dashicons dashicons-dismiss"></span></a></p>', 'premium-addons-for-elementor'), $optout_url );
269
-
270
- $this->render_admin_notices( $scroll_message );
271
-
272
- }
273
-
274
- }
275
-
276
-
277
  /**
278
  * Returns the active theme slug
279
  */
@@ -298,10 +259,12 @@ class Premium_Admin_Notices {
298
 
299
 
300
  /**
301
- * Checks if a plugin is installed
302
- * @since 1.0.0
303
- * @return boolean
304
- */
 
 
305
  public static function is_plugin_installed( $plugin_path ){
306
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
307
  $plugins = get_plugins();
@@ -309,20 +272,24 @@ class Premium_Admin_Notices {
309
  }
310
 
311
  /**
312
- * Checks user credentials
313
- * @since 2.6.8
314
- * @return boolean
315
- */
316
- public static function check_user_can($action) {
 
 
317
  return current_user_can( $action );
318
  }
319
 
320
  /**
321
- * Renders an admin notice error message
322
- * @since 1.0.0
323
- * @access private
324
- * @return void
325
- */
 
 
326
  private function render_admin_notices( $message ) {
327
  ?>
328
  <div class="error">
@@ -330,8 +297,55 @@ class Premium_Admin_Notices {
330
  </div>
331
  <?php
332
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
333
 
334
- public static function get_instance(){
335
  if( self::$instance == null ) {
336
  self::$instance = new self;
337
  }
23
 
24
  add_action('admin_notices', array( $this, 'admin_notices' ) );
25
 
26
+ add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
27
+
28
+ add_action( 'wp_ajax_pa-dismiss-admin-notice', array( $this, 'dismiss_admin_notice' ) );
29
+
30
  }
31
 
32
  /**
35
  public function init() {
36
  $this->handle_review_notice();
37
  //$this->handle_pbg_notice();
 
38
  }
39
 
40
  /**
41
  * init notices check functions
42
  */
43
  public function admin_notices() {
44
+
45
  $this->required_plugins_check();
46
 
47
  $cache_key = 'premium_notice_' . PREMIUM_ADDONS_VERSION;
52
  $this->get_review_notice();
53
  }
54
  //$this->get_pbg_notice();
 
55
  }
56
 
57
  /**
72
  }
73
 
74
  wp_redirect( remove_query_arg( 'pa_review' ) );
75
+
76
  exit;
77
  }
78
 
97
  }
98
 
99
  /**
100
+ * Required plugin check
101
+ *
102
+ * Shows an admin notice when Elementor is missing.
103
+ *
104
+ * @access public
105
+ *
106
+ * @return boolean
107
+ */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  public function required_plugins_check() {
109
 
110
  $elementor_path = sprintf( '%1$s/%1$s.php', self::$elementor );
117
 
118
  $install_url = wp_nonce_url( self_admin_url( sprintf( 'update.php?action=install-plugin&plugin=%s', self::$elementor ) ), 'install-plugin_elementor' );
119
 
120
+ $message = sprintf( '<p>%s</p>', __('Premium Addons for Elementor is not working because you need to Install Elementor plugin.', 'premium-addons-for-elementor' ) );
121
 
122
  $message .= sprintf( '<p><a href="%s" class="button-primary">%s</a></p>', $install_url, __( 'Install Now', 'premium-addons-for-elementor' ) );
123
 
138
  }
139
 
140
  /**
141
+ * Gets admin review notice HTML
142
+ *
143
+ * @since 2.8.4
144
+ * @return void
145
+ *
146
+ */
147
+ public function get_review_text( $review_url, $optout_url ) {
148
+
149
  $notice = sprintf(
150
  '<p>' . __('Did you like','premium-addons-for-elementor') . '<strong>&nbspPremium Addons for Elementor&nbsp</strong>' . __('Plugin?','premium-addons-for-elementor') . '</p>
151
  <p>' . __('Could you please do us a BIG favor ? if you could take 2 min of your time, we\'d really appreciate if you give Premium Addons for Elementor 5-star rating on WordPress. By spreading the love, we can create even greater free stuff in the future!','premium-addons-for-elementor') . '</p>
152
  <p><a class="button button-primary" href="%s" target="_blank"><span><i class="dashicons dashicons-external"></i>' . __('Leave a Review','premium-addons-for-elementor') . '</span></a>
153
+ <a class="button button-secondary pa-notice-reset"><span><i class="dashicons dashicons-calendar-alt"></i>' . __('Maybe Later','premium-addons-for-elementor') . '</span></a>
154
  <a class="button button-secondary" href="%2$s"><span><i class="dashicons dashicons-smiley"></i>' . __('I Already did','premium-addons-for-elementor') . '</span></a>
155
  </p>',
156
+ $review_url, $optout_url );
157
 
158
  return $notice;
159
  }
175
  $optout_url = wp_nonce_url( add_query_arg( 'pa_review', 'opt_out' ), 'opt_out' );
176
  ?>
177
 
178
+ <div class="error pa-notice-wrap" data-notice="pa-review">
179
  <div class="pa-img-wrap">
180
  <img src="<?php echo PREMIUM_ADDONS_URL .'admin/images/premium-addons-logo.png'; ?>">
181
  </div>
182
  <div class="pa-text-wrap">
183
+ <?php echo $this->get_review_text( $review_url, $optout_url ); ?>
184
  </div>
185
  <div class="pa-notice-close">
186
+ <a href="<?php echo esc_url( $optout_url ); ?>"><span class="dashicons dashicons-dismiss"></span></a>
187
  </div>
188
  </div>
189
 
235
 
236
  }
237
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
238
  /**
239
  * Returns the active theme slug
240
  */
259
 
260
 
261
  /**
262
+ * Checks if a plugin is installed
263
+ *
264
+ * @since 1.0.0
265
+ * @return boolean
266
+ *
267
+ */
268
  public static function is_plugin_installed( $plugin_path ){
269
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
270
  $plugins = get_plugins();
272
  }
273
 
274
  /**
275
+ * Checks user credentials
276
+ *
277
+ * @since 2.6.8
278
+ *
279
+ * @return boolean
280
+ */
281
+ public static function check_user_can( $action ) {
282
  return current_user_can( $action );
283
  }
284
 
285
  /**
286
+ * Renders an admin notice error message
287
+ *
288
+ * @since 1.0.0
289
+ * @access private
290
+ *
291
+ * @return void
292
+ */
293
  private function render_admin_notices( $message ) {
294
  ?>
295
  <div class="error">
297
  </div>
298
  <?php
299
  }
300
+
301
+ /*
302
+ * Register admin scripts
303
+ *
304
+ * @since 3.2.8
305
+ * @access public
306
+ *
307
+ */
308
+ public function admin_enqueue_scripts() {
309
+
310
+ wp_enqueue_script(
311
+ 'pa-notice',
312
+ PREMIUM_ADDONS_URL . 'admin/assets/js/pa-notice.js',
313
+ array( 'jquery' ),
314
+ PREMIUM_ADDONS_VERSION,
315
+ true
316
+ );
317
+
318
+ }
319
+
320
+ /**
321
+ * Set transient for admin notice
322
+ *
323
+ * @since 3.2.8
324
+ * @access public
325
+ *
326
+ * @return void
327
+ */
328
+ public function dismiss_admin_notice() {
329
+
330
+ $key = isset( $_POST['notice'] ) ? $_POST['notice'] : '';
331
+
332
+ if ( ! empty( $key) ) {
333
+
334
+ $cache_key = 'premium_notice_' . PREMIUM_ADDONS_VERSION;
335
+
336
+ set_transient( $cache_key, true, WEEK_IN_SECONDS );
337
+
338
+ wp_send_json_success();
339
+
340
+ } else {
341
+
342
+ wp_send_json_error();
343
+
344
+ }
345
+
346
+ }
347
 
348
+ public static function get_instance() {
349
  if( self::$instance == null ) {
350
  self::$instance = new self;
351
  }
admin/settings/elements.php CHANGED
@@ -20,7 +20,7 @@ class PA_admin_settings {
20
 
21
  add_action( 'admin_menu', array( $this,'pa_admin_menu') );
22
 
23
- add_action('admin_enqueue_scripts', array( $this, 'pa_admin_page_scripts' ) );
24
 
25
  add_action( 'wp_ajax_pa_save_admin_addons_settings', array( $this, 'pa_save_settings_with_ajax' ) );
26
 
@@ -63,13 +63,13 @@ class PA_admin_settings {
63
  public function pa_admin_page_scripts () {
64
  wp_enqueue_style( 'pa_admin_icon', PREMIUM_ADDONS_URL .'admin/assets/pa-elements-font/css/pafont.css' );
65
  $current_screen = get_current_screen();
66
- wp_enqueue_style( 'pa-notice-css', PREMIUM_ADDONS_URL.'admin/assets/notice.css' );
67
  if( strpos($current_screen->id , $this->page_slug) !== false ){
68
- wp_enqueue_style( 'pa-admin-css', PREMIUM_ADDONS_URL.'admin/assets/admin.css' );
69
 
70
  wp_enqueue_style( 'premium-addons-sweetalert-style', PREMIUM_ADDONS_URL.'admin/assets/js/sweetalert2/sweetalert2.min.css' );
71
 
72
- wp_enqueue_script('pa-admin-js', PREMIUM_ADDONS_URL .'admin/assets/admin.js' , array('jquery'), PREMIUM_ADDONS_VERSION , true );
73
 
74
  wp_enqueue_script('pa-admin-dialog', PREMIUM_ADDONS_URL . 'admin/assets/js/dialog/dialog.js',array('jquery-ui-position'),PREMIUM_ADDONS_VERSION,true);
75
 
20
 
21
  add_action( 'admin_menu', array( $this,'pa_admin_menu') );
22
 
23
+ add_action( 'admin_enqueue_scripts', array( $this, 'pa_admin_page_scripts' ) );
24
 
25
  add_action( 'wp_ajax_pa_save_admin_addons_settings', array( $this, 'pa_save_settings_with_ajax' ) );
26
 
63
  public function pa_admin_page_scripts () {
64
  wp_enqueue_style( 'pa_admin_icon', PREMIUM_ADDONS_URL .'admin/assets/pa-elements-font/css/pafont.css' );
65
  $current_screen = get_current_screen();
66
+ wp_enqueue_style( 'pa-notice-css', PREMIUM_ADDONS_URL.'admin/assets/css/notice.css' );
67
  if( strpos($current_screen->id , $this->page_slug) !== false ){
68
+ wp_enqueue_style( 'pa-admin-css', PREMIUM_ADDONS_URL.'admin/assets/css/admin.css' );
69
 
70
  wp_enqueue_style( 'premium-addons-sweetalert-style', PREMIUM_ADDONS_URL.'admin/assets/js/sweetalert2/sweetalert2.min.css' );
71
 
72
+ wp_enqueue_script('pa-admin-js', PREMIUM_ADDONS_URL .'admin/assets/js/admin.js' , array('jquery'), PREMIUM_ADDONS_VERSION , true );
73
 
74
  wp_enqueue_script('pa-admin-dialog', PREMIUM_ADDONS_URL . 'admin/assets/js/dialog/dialog.js',array('jquery-ui-position'),PREMIUM_ADDONS_VERSION,true);
75
 
assets/css/premium-addons.css CHANGED
@@ -1529,14 +1529,14 @@ button.premium-modal-box-modal-close {
1529
  content: '';
1530
  border: 3px solid transparent;
1531
  }
1532
- /*Style 7 Strip Container*/
1533
  .premium-title-style7-strip{
1534
  display: block;
1535
  margin: 0;
1536
  float: none;
1537
  clear: both;
1538
  }
1539
- /*Strip Style*/
1540
  .premium-title-style7-strip:before{
1541
  display: block;
1542
  position: relative;
@@ -1624,8 +1624,8 @@ button.premium-modal-box-modal-close {
1624
  border: none;
1625
  }
1626
  .premium-video-box-video-container video {
1627
- -o-object-fit: cover;
1628
- object-fit: cover;
1629
  }
1630
  /**************** Premium Blog *****************/
1631
  /***********************************************/
1529
  content: '';
1530
  border: 3px solid transparent;
1531
  }
1532
+ /*Style 7 Stripe Container*/
1533
  .premium-title-style7-strip{
1534
  display: block;
1535
  margin: 0;
1536
  float: none;
1537
  clear: both;
1538
  }
1539
+ /*Stripe Style*/
1540
  .premium-title-style7-strip:before{
1541
  display: block;
1542
  position: relative;
1624
  border: none;
1625
  }
1626
  .premium-video-box-video-container video {
1627
+ -o-object-fit: contain;
1628
+ object-fit: contain;
1629
  }
1630
  /**************** Premium Blog *****************/
1631
  /***********************************************/
assets/js/premium-addons.js CHANGED
@@ -583,24 +583,24 @@
583
  transformOffset = null;
584
 
585
  function startTransform() {
586
- imageScroll.css("transform", (direction == "vertical" ? "translateY" : "translateX") + "( -" + transformOffset + "px)");
587
  }
588
 
589
  function endTransform() {
590
- imageScroll.css("transform", (direction == 'vertical' ? "translateY" : "translateX") + "(0px)");
591
  }
592
 
593
  function setTransform() {
594
- if( direction == "vertical" ) {
595
  transformOffset = imageScroll.height() - scrollElement.height();
596
  } else {
597
  transformOffset = imageScroll.width() - scrollElement.width();
598
  }
599
  }
600
 
601
- if( dataElement["trigger"] == "scroll" ) {
602
  scrollElement.addClass("premium-container-scroll");
603
- if ( direction == "vertical" ) {
604
  scrollVertical.addClass("premium-image-scroll-ver");
605
  } else {
606
  scrollElement.imagesLoaded(function() {
@@ -615,7 +615,7 @@
615
  startTransform();
616
  });
617
  }
618
- if ( direction == "vertical" ) {
619
  scrollVertical.removeClass("premium-image-scroll-ver");
620
  }
621
  scrollElement.mouseenter(function() {
583
  transformOffset = null;
584
 
585
  function startTransform() {
586
+ imageScroll.css("transform", (direction === "vertical" ? "translateY" : "translateX") + "( -" + transformOffset + "px)");
587
  }
588
 
589
  function endTransform() {
590
+ imageScroll.css("transform", (direction === 'vertical' ? "translateY" : "translateX") + "(0px)");
591
  }
592
 
593
  function setTransform() {
594
+ if( direction === "vertical" ) {
595
  transformOffset = imageScroll.height() - scrollElement.height();
596
  } else {
597
  transformOffset = imageScroll.width() - scrollElement.width();
598
  }
599
  }
600
 
601
+ if( dataElement["trigger"] === "scroll" ) {
602
  scrollElement.addClass("premium-container-scroll");
603
+ if ( direction === "vertical" ) {
604
  scrollVertical.addClass("premium-image-scroll-ver");
605
  } else {
606
  scrollElement.imagesLoaded(function() {
615
  startTransform();
616
  });
617
  }
618
+ if ( direction === "vertical" ) {
619
  scrollVertical.removeClass("premium-image-scroll-ver");
620
  }
621
  scrollElement.mouseenter(function() {
includes/compatibility/widgets/grid.php CHANGED
@@ -7,7 +7,7 @@ use WPML_Elementor_Module_With_Items;
7
  if ( ! defined('ABSPATH') ) exit; // No access of directly access
8
 
9
  /**
10
- * Fancy Text
11
  *
12
  * Registers translatable widget with items.
13
  *
7
  if ( ! defined('ABSPATH') ) exit; // No access of directly access
8
 
9
  /**
10
+ * Grid
11
  *
12
  * Registers translatable widget with items.
13
  *
languages/premium-addons-for-elementor.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Premium Addons for Elementor\n"
5
- "POT-Creation-Date: 2019-04-14 15:15+0200\n"
6
  "PO-Revision-Date: 2018-02-15 10:41+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Leap13\n"
@@ -19,35 +19,35 @@ msgstr ""
19
  "X-Poedit-SearchPathExcluded-0: assets/js\n"
20
  "X-Poedit-SearchPathExcluded-1: admin/assets/js\n"
21
 
22
- #: admin/includes/notices.php:133
23
  msgid ""
24
- "<p>Premium Addons for Elementor is not working because you need to Install "
25
- "Elementor plugin.</p>"
26
  msgstr ""
27
 
28
- #: admin/includes/notices.php:135
29
  msgid "Install Now"
30
  msgstr ""
31
 
32
- #: admin/includes/notices.php:143
33
  msgid ""
34
  "Premium Addons for Elementor is not working because you need to activate "
35
  "Elementor plugin."
36
  msgstr ""
37
 
38
- #: admin/includes/notices.php:145
39
  msgid "Activate Now"
40
  msgstr ""
41
 
42
- #: admin/includes/notices.php:160
43
  msgid "Did you like"
44
  msgstr ""
45
 
46
- #: admin/includes/notices.php:160
47
  msgid "Plugin?"
48
  msgstr ""
49
 
50
- #: admin/includes/notices.php:161
51
  msgid ""
52
  "Could you please do us a BIG favor ? if you could take 2 min of your time, "
53
  "we'd really appreciate if you give Premium Addons for Elementor 5-star "
@@ -55,47 +55,30 @@ msgid ""
55
  "stuff in the future!"
56
  msgstr ""
57
 
58
- #: admin/includes/notices.php:162
59
  msgid "Leave a Review"
60
  msgstr ""
61
 
62
- #: admin/includes/notices.php:163
63
  msgid "Maybe Later"
64
  msgstr ""
65
 
66
- #: admin/includes/notices.php:164
67
  msgid "I Already did"
68
  msgstr ""
69
 
70
- #: admin/includes/notices.php:232
71
  msgid "Premium Block for Gutenberg"
72
  msgstr ""
73
 
74
- #: admin/includes/notices.php:232
75
  msgid "is Now Available."
76
  msgstr ""
77
 
78
- #: admin/includes/notices.php:233
79
  msgid "Install it Now."
80
  msgstr ""
81
 
82
- #: admin/includes/notices.php:266
83
- #, php-format
84
- msgid ""
85
- "<p style=\"display: flex; align-items: center; padding:10px 10px 10px 0;"
86
- "\"><img src=\"%s\" style=\"margin-right: 0.8em; width: 40px;\"><span>NEW!"
87
- "&nbsp</span><strong><span>Image Scroll Widget for Elementor&nbsp</strong>is "
88
- "Now Available in Premium Addons for Elementor.&nbsp</span><a href=\"%s\" "
89
- "target=\"_blank\" style=\"flex-grow: 2;\"> Check it out now.</a>"
90
- msgstr ""
91
-
92
- #: admin/includes/notices.php:268
93
- #, php-format
94
- msgid ""
95
- "<a href=\"%s\" style=\"text-decoration: none; margin-left: 1em; float:right; "
96
- "\"><span class=\"dashicons dashicons-dismiss\"></span></a></p>"
97
- msgstr ""
98
-
99
  #: admin/settings/about.php:13
100
  msgid "About"
101
  msgstr ""
@@ -593,7 +576,7 @@ msgid "Rolling Back to Version "
593
  msgstr ""
594
 
595
  #: widgets/premium-banner.php:42 widgets/premium-banner.php:428
596
- #: widgets/premium-blog.php:43 widgets/premium-blog.php:575
597
  #: widgets/premium-grid.php:646 widgets/premium-image-scroll.php:56
598
  #: widgets/premium-image-scroll.php:256 widgets/premium-image-separator.php:43
599
  #: widgets/premium-modalbox.php:239 widgets/premium-modalbox.php:423
@@ -613,7 +596,7 @@ msgid "Select an image for the Banner"
613
  msgstr ""
614
 
615
  #: widgets/premium-banner.php:61 widgets/premium-banner.php:326
616
- #: widgets/premium-blog.php:231 widgets/premium-button.php:68
617
  #: widgets/premium-dual-header.php:103 widgets/premium-dual-header.php:127
618
  #: widgets/premium-grid.php:359 widgets/premium-image-button.php:64
619
  #: widgets/premium-image-scroll.php:94 widgets/premium-image-separator.php:119
@@ -694,7 +677,7 @@ msgid "Hover Effect"
694
  msgstr ""
695
 
696
  #: widgets/premium-banner.php:157 widgets/premium-blog.php:53
697
- #: widgets/premium-blog.php:74 widgets/premium-blog.php:368
698
  #: widgets/premium-button.php:104 widgets/premium-grid.php:481
699
  #: widgets/premium-image-button.php:100 widgets/premium-modalbox.php:68
700
  #: widgets/premium-person.php:104 widgets/premium-progressbar.php:140
@@ -790,7 +773,7 @@ msgid ""
790
  "this class for your customizations."
791
  msgstr ""
792
 
793
- #: widgets/premium-banner.php:231 widgets/premium-blog.php:731
794
  #: widgets/premium-carousel.php:81 widgets/premium-grid.php:718
795
  #: widgets/premium-modalbox.php:46 widgets/premium-modalbox.php:143
796
  #: widgets/premium-modalbox.php:165 widgets/premium-testimonials.php:182
@@ -799,7 +782,7 @@ msgid "Content"
799
  msgstr ""
800
 
801
  #: widgets/premium-banner.php:237 widgets/premium-banner.php:516
802
- #: widgets/premium-blog.php:371 widgets/premium-blog.php:638
803
  #: widgets/premium-counter.php:43 widgets/premium-counter.php:362
804
  #: widgets/premium-grid.php:323 widgets/premium-grid.php:724
805
  #: widgets/premium-maps.php:180 widgets/premium-maps.php:364
@@ -885,8 +868,8 @@ msgstr ""
885
  msgid "URL"
886
  msgstr ""
887
 
888
- #: widgets/premium-banner.php:360 widgets/premium-blog.php:174
889
- #: widgets/premium-blog.php:427 widgets/premium-button.php:420
890
  #: widgets/premium-countdown.php:110 widgets/premium-dual-header.php:161
891
  #: widgets/premium-fancytext.php:98 widgets/premium-image-button.php:320
892
  #: widgets/premium-maps.php:419 widgets/premium-maps.php:501
@@ -895,8 +878,8 @@ msgstr ""
895
  msgid "Alignment"
896
  msgstr ""
897
 
898
- #: widgets/premium-banner.php:364 widgets/premium-blog.php:178
899
- #: widgets/premium-blog.php:431 widgets/premium-button.php:163
900
  #: widgets/premium-button.php:424 widgets/premium-countdown.php:114
901
  #: widgets/premium-counter.php:165 widgets/premium-dual-header.php:165
902
  #: widgets/premium-fancytext.php:102 widgets/premium-fancytext.php:291
@@ -911,8 +894,8 @@ msgstr ""
911
  msgid "Left"
912
  msgstr ""
913
 
914
- #: widgets/premium-banner.php:368 widgets/premium-blog.php:182
915
- #: widgets/premium-blog.php:435 widgets/premium-button.php:428
916
  #: widgets/premium-countdown.php:118 widgets/premium-dual-header.php:169
917
  #: widgets/premium-fancytext.php:106 widgets/premium-fancytext.php:295
918
  #: widgets/premium-grid.php:160 widgets/premium-grid.php:524
@@ -924,8 +907,8 @@ msgstr ""
924
  msgid "Center"
925
  msgstr ""
926
 
927
- #: widgets/premium-banner.php:372 widgets/premium-blog.php:186
928
- #: widgets/premium-blog.php:439 widgets/premium-button.php:164
929
  #: widgets/premium-button.php:432 widgets/premium-countdown.php:122
930
  #: widgets/premium-counter.php:164 widgets/premium-dual-header.php:173
931
  #: widgets/premium-fancytext.php:110 widgets/premium-fancytext.php:299
@@ -971,9 +954,9 @@ msgid "Note: maximum size for extra small screens is 767px."
971
  msgstr ""
972
 
973
  #: widgets/premium-banner.php:435 widgets/premium-banner.php:662
974
- #: widgets/premium-blog.php:761 widgets/premium-blog.php:877
975
- #: widgets/premium-blog.php:949 widgets/premium-blog.php:986
976
- #: widgets/premium-blog.php:1083 widgets/premium-button.php:522
977
  #: widgets/premium-button.php:670 widgets/premium-carousel.php:582
978
  #: widgets/premium-contactform.php:477 widgets/premium-contactform.php:533
979
  #: widgets/premium-countdown.php:379 widgets/premium-countdown.php:456
@@ -987,8 +970,8 @@ msgstr ""
987
  #: widgets/premium-pricing-table.php:525 widgets/premium-pricing-table.php:1620
988
  #: widgets/premium-pricing-table.php:1637 widgets/premium-title.php:287
989
  #: widgets/premium-title.php:309 widgets/premium-videobox.php:514
990
- #: widgets/premium-vscroll.php:473 widgets/premium-vscroll.php:567
991
- #: widgets/premium-vscroll.php:626
992
  msgid "Background Color"
993
  msgstr ""
994
 
@@ -1001,7 +984,7 @@ msgid "Hover Opacity"
1001
  msgstr ""
1002
 
1003
  #: widgets/premium-banner.php:503 widgets/premium-banner.php:690
1004
- #: widgets/premium-blog.php:1013 widgets/premium-blog.php:1097
1005
  #: widgets/premium-button.php:546 widgets/premium-button.php:695
1006
  #: widgets/premium-carousel.php:766 widgets/premium-contactform.php:264
1007
  #: widgets/premium-contactform.php:500 widgets/premium-countdown.php:420
@@ -1023,17 +1006,17 @@ msgstr ""
1023
  #: widgets/premium-pricing-table.php:1692
1024
  #: widgets/premium-pricing-table.php:1770 widgets/premium-progressbar.php:247
1025
  #: widgets/premium-title.php:496 widgets/premium-videobox.php:317
1026
- #: widgets/premium-videobox.php:409 widgets/premium-vscroll.php:362
1027
- #: widgets/premium-vscroll.php:487 widgets/premium-vscroll.php:660
1028
  msgid "Border Radius"
1029
  msgstr ""
1030
 
1031
  #: widgets/premium-banner.php:523 widgets/premium-banner.php:579
1032
- #: widgets/premium-banner.php:624 widgets/premium-blog.php:645
1033
- #: widgets/premium-blog.php:691 widgets/premium-blog.php:738
1034
- #: widgets/premium-blog.php:781 widgets/premium-blog.php:849
1035
- #: widgets/premium-blog.php:935 widgets/premium-blog.php:972
1036
- #: widgets/premium-blog.php:1058 widgets/premium-carousel.php:543
1037
  #: widgets/premium-carousel.php:702 widgets/premium-countdown.php:353
1038
  #: widgets/premium-countdown.php:441 widgets/premium-counter.php:192
1039
  #: widgets/premium-counter.php:369 widgets/premium-counter.php:409
@@ -1082,25 +1065,25 @@ msgstr ""
1082
  #: widgets/premium-pricing-table.php:1705
1083
  #: widgets/premium-pricing-table.php:1783 widgets/premium-title.php:427
1084
  #: widgets/premium-videobox.php:329 widgets/premium-videobox.php:540
1085
- #: widgets/premium-vscroll.php:499 widgets/premium-vscroll.php:582
1086
- #: widgets/premium-vscroll.php:641
1087
  msgid "Shadow"
1088
  msgstr ""
1089
 
1090
- #: widgets/premium-banner.php:638 widgets/premium-blog.php:668
1091
- #: widgets/premium-blog.php:715 widgets/premium-blog.php:804
1092
- #: widgets/premium-blog.php:863 widgets/premium-modalbox.php:528
1093
  #: widgets/premium-person.php:508 widgets/premium-videobox.php:363
1094
  #: widgets/premium-videobox.php:491
1095
  msgid "Hover Color"
1096
  msgstr ""
1097
 
1098
- #: widgets/premium-banner.php:672 widgets/premium-blog.php:891
1099
  msgid "Hover Background Color"
1100
  msgstr ""
1101
 
1102
- #: widgets/premium-banner.php:710 widgets/premium-blog.php:1035
1103
- #: widgets/premium-blog.php:1108 widgets/premium-button.php:603
1104
  #: widgets/premium-button.php:767 widgets/premium-contactform.php:244
1105
  #: widgets/premium-contactform.php:446 widgets/premium-dual-header.php:317
1106
  #: widgets/premium-dual-header.php:459 widgets/premium-grid.php:633
@@ -1121,7 +1104,7 @@ msgstr ""
1121
  #: widgets/premium-pricing-table.php:1725
1122
  #: widgets/premium-pricing-table.php:1803 widgets/premium-title.php:520
1123
  #: widgets/premium-videobox.php:424 widgets/premium-videobox.php:528
1124
- #: widgets/premium-vscroll.php:401 widgets/premium-vscroll.php:682
1125
  msgid "Padding"
1126
  msgstr ""
1127
 
@@ -1199,256 +1182,284 @@ msgstr ""
1199
  msgid "4 Columns"
1200
  msgstr ""
1201
 
1202
- #: widgets/premium-blog.php:154 widgets/premium-pricing-table.php:1138
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1203
  msgid "Spacing"
1204
  msgstr ""
1205
 
1206
- #: widgets/premium-blog.php:201
1207
  msgid "Post Options"
1208
  msgstr ""
1209
 
1210
- #: widgets/premium-blog.php:207
1211
  msgid "Excerpt"
1212
  msgstr ""
1213
 
1214
- #: widgets/premium-blog.php:209
1215
  msgid ""
1216
  "Excerpt is used for article summary with a link to the whole entry. The "
1217
  "default except length is 55"
1218
  msgstr ""
1219
 
1220
- #: widgets/premium-blog.php:216
1221
  msgid "Excerpt Length"
1222
  msgstr ""
1223
 
1224
- #: widgets/premium-blog.php:227
1225
  msgid "Excerpt Type"
1226
  msgstr ""
1227
 
1228
- #: widgets/premium-blog.php:230 widgets/premium-carousel.php:115
1229
- #: widgets/premium-vscroll.php:417
1230
  msgid "Dots"
1231
  msgstr ""
1232
 
1233
- #: widgets/premium-blog.php:240
1234
  msgid "Link Text"
1235
  msgstr ""
1236
 
1237
- #: widgets/premium-blog.php:242
1238
  msgid "continue reading"
1239
  msgstr ""
1240
 
1241
- #: widgets/premium-blog.php:252
1242
  msgid "Author Meta"
1243
  msgstr ""
1244
 
1245
- #: widgets/premium-blog.php:260
1246
  msgid "Date Meta"
1247
  msgstr ""
1248
 
1249
- #: widgets/premium-blog.php:268
1250
  msgid "Categories Meta"
1251
  msgstr ""
1252
 
1253
- #: widgets/premium-blog.php:270
1254
  msgid "Display or hide categories mata"
1255
  msgstr ""
1256
 
1257
- #: widgets/premium-blog.php:277
1258
  msgid "Comments Meta"
1259
  msgstr ""
1260
 
1261
- #: widgets/premium-blog.php:278
1262
  msgid "Display or hide comments mata"
1263
  msgstr ""
1264
 
1265
- #: widgets/premium-blog.php:286
1266
  msgid "Tags Meta"
1267
  msgstr ""
1268
 
1269
- #: widgets/premium-blog.php:288
1270
  msgid "Display or hide post tags"
1271
  msgstr ""
1272
 
1273
- #: widgets/premium-blog.php:295 widgets/premium-blog.php:820
1274
  msgid "Post Format Icon"
1275
  msgstr ""
1276
 
1277
- #: widgets/premium-blog.php:303
1278
  msgid "Edit Post Icon"
1279
  msgstr ""
1280
 
1281
- #: widgets/premium-blog.php:305
1282
  msgid "Display or hide edit post option"
1283
  msgstr ""
1284
 
1285
- #: widgets/premium-blog.php:314 widgets/premium-image-scroll.php:158
1286
  msgid "Advanced Settings"
1287
  msgstr ""
1288
 
1289
- #: widgets/premium-blog.php:320
1290
  msgid "Filter By Category"
1291
  msgstr ""
1292
 
1293
- #: widgets/premium-blog.php:322
1294
  msgid "Get posts for specific category(s)"
1295
  msgstr ""
1296
 
1297
- #: widgets/premium-blog.php:331
1298
  msgid "Filter By Tag"
1299
  msgstr ""
1300
 
1301
- #: widgets/premium-blog.php:333
1302
  msgid "Get posts for specific tag(s)"
1303
  msgstr ""
1304
 
1305
- #: widgets/premium-blog.php:342
1306
  msgid "Filter By Author"
1307
  msgstr ""
1308
 
1309
- #: widgets/premium-blog.php:344
1310
  msgid "Get posts for specific author(s)"
1311
  msgstr ""
1312
 
1313
- #: widgets/premium-blog.php:353
1314
  msgid "Posts to Exclude"
1315
  msgstr ""
1316
 
1317
- #: widgets/premium-blog.php:355
1318
  msgid "Add post(s) to exclude"
1319
  msgstr ""
1320
 
1321
- #: widgets/premium-blog.php:364
1322
  msgid "Order By"
1323
  msgstr ""
1324
 
1325
- #: widgets/premium-blog.php:369 widgets/premium-videobox.php:61
1326
  msgid "ID"
1327
  msgstr ""
1328
 
1329
- #: widgets/premium-blog.php:370 widgets/premium-testimonials.php:30
1330
  #: widgets/premium-testimonials.php:272
1331
  msgid "Author"
1332
  msgstr ""
1333
 
1334
- #: widgets/premium-blog.php:372 widgets/premium-person.php:132
1335
  #: widgets/premium-person.php:376 widgets/premium-testimonials.php:66
1336
  #: widgets/premium-testimonials.php:107
1337
  msgid "Name"
1338
  msgstr ""
1339
 
1340
- #: widgets/premium-blog.php:373
1341
  msgid "Date"
1342
  msgstr ""
1343
 
1344
- #: widgets/premium-blog.php:374
1345
  msgid "Last Modified"
1346
  msgstr ""
1347
 
1348
- #: widgets/premium-blog.php:375
1349
  msgid "Random"
1350
  msgstr ""
1351
 
1352
- #: widgets/premium-blog.php:376
1353
  msgid "Number of Comments"
1354
  msgstr ""
1355
 
1356
- #: widgets/premium-blog.php:384
1357
  msgid "Order"
1358
  msgstr ""
1359
 
1360
- #: widgets/premium-blog.php:388
1361
  msgid "Descending"
1362
  msgstr ""
1363
 
1364
- #: widgets/premium-blog.php:389
1365
  msgid "Ascending"
1366
  msgstr ""
1367
 
1368
- #: widgets/premium-blog.php:397
1369
  msgid "Pagination"
1370
  msgstr ""
1371
 
1372
- #: widgets/premium-blog.php:399
1373
  msgid "Pagination is the process of dividing the posts into discrete pages"
1374
  msgstr ""
1375
 
1376
- #: widgets/premium-blog.php:405
1377
  msgid "Next Page String"
1378
  msgstr ""
1379
 
1380
- #: widgets/premium-blog.php:407
1381
  msgid "Next"
1382
  msgstr ""
1383
 
1384
- #: widgets/premium-blog.php:416
1385
  msgid "Previous Page String"
1386
  msgstr ""
1387
 
1388
- #: widgets/premium-blog.php:418
1389
  msgid "Previous"
1390
  msgstr ""
1391
 
1392
- #: widgets/premium-blog.php:455
1393
  msgid "Links in New Tab"
1394
  msgstr ""
1395
 
1396
- #: widgets/premium-blog.php:457
1397
  msgid "Enable links to be opened in a new tab"
1398
  msgstr ""
1399
 
1400
- #: widgets/premium-blog.php:464
1401
  msgid "Posts Per Page"
1402
  msgstr ""
1403
 
1404
- #: widgets/premium-blog.php:465
1405
  msgid "Choose how many posts do you want to be displayed per page"
1406
  msgstr ""
1407
 
1408
- #: widgets/premium-blog.php:474
1409
  msgid "Total Number of Posts"
1410
  msgstr ""
1411
 
1412
- #: widgets/premium-blog.php:486
1413
  msgid "Offset Count"
1414
  msgstr ""
1415
 
1416
- #: widgets/premium-blog.php:487
1417
  msgid "The index of post to start with"
1418
  msgstr ""
1419
 
1420
- #: widgets/premium-blog.php:498 widgets/premium-blog.php:1048
1421
  #: widgets/premium-carousel.php:47
1422
  msgid "Carousel"
1423
  msgstr ""
1424
 
1425
- #: widgets/premium-blog.php:507
1426
  msgid "Enable Carousel"
1427
  msgstr ""
1428
 
1429
- #: widgets/premium-blog.php:514 widgets/premium-carousel.php:238
1430
  msgid "Fade"
1431
  msgstr ""
1432
 
1433
- #: widgets/premium-blog.php:524
1434
  msgid "Auto Play"
1435
  msgstr ""
1436
 
1437
- #: widgets/premium-blog.php:534 widgets/premium-carousel.php:278
1438
  msgid "Autoplay Speed"
1439
  msgstr ""
1440
 
1441
- #: widgets/premium-blog.php:535 widgets/premium-carousel.php:279
1442
  msgid ""
1443
  "Autoplay Speed means at which time the next slide should come. Set a value "
1444
  "in milliseconds (ms)"
1445
  msgstr ""
1446
 
1447
- #: widgets/premium-blog.php:547
1448
  msgid "Arrows Position"
1449
  msgstr ""
1450
 
1451
- #: widgets/premium-blog.php:582 widgets/premium-button.php:505
1452
  #: widgets/premium-button.php:637 widgets/premium-button.php:654
1453
  #: widgets/premium-image-button.php:405 widgets/premium-image-button.php:534
1454
  #: widgets/premium-image-button.php:551 widgets/premium-image-scroll.php:263
@@ -1456,26 +1467,26 @@ msgstr ""
1456
  msgid "Icon Color"
1457
  msgstr ""
1458
 
1459
- #: widgets/premium-blog.php:596 widgets/premium-grid.php:984
1460
  #: widgets/premium-image-button.php:567 widgets/premium-image-button.php:584
1461
  #: widgets/premium-image-button.php:610 widgets/premium-image-scroll.php:276
1462
  msgid "Overlay Color"
1463
  msgstr ""
1464
 
1465
- #: widgets/premium-blog.php:610 widgets/premium-carousel.php:600
1466
  #: widgets/premium-contactform.php:544
1467
  msgid "Border Color"
1468
  msgstr ""
1469
 
1470
- #: widgets/premium-blog.php:684
1471
  msgid "Meta"
1472
  msgstr ""
1473
 
1474
- #: widgets/premium-blog.php:774
1475
  msgid "Tags"
1476
  msgstr ""
1477
 
1478
- #: widgets/premium-blog.php:830 widgets/premium-blog.php:1072
1479
  #: widgets/premium-button.php:403 widgets/premium-carousel.php:560
1480
  #: widgets/premium-counter.php:209 widgets/premium-counter.php:231
1481
  #: widgets/premium-image-button.php:303 widgets/premium-modalbox.php:843
@@ -1487,25 +1498,25 @@ msgstr ""
1487
  msgid "Size"
1488
  msgstr ""
1489
 
1490
- #: widgets/premium-blog.php:832
1491
  msgid "Choose icon size in (PX, EM)"
1492
  msgstr ""
1493
 
1494
- #: widgets/premium-blog.php:907
1495
  msgid "Pagination Style"
1496
  msgstr ""
1497
 
1498
- #: widgets/premium-blog.php:928 widgets/premium-button.php:486
1499
  #: widgets/premium-contactform.php:459 widgets/premium-grid.php:889
1500
  #: widgets/premium-grid.php:1237 widgets/premium-image-button.php:386
1501
  #: widgets/premium-image-scroll.php:291 widgets/premium-image-scroll.php:336
1502
  #: widgets/premium-modalbox.php:596 widgets/premium-modalbox.php:859
1503
  #: widgets/premium-modalbox.php:1028 widgets/premium-pricing-table.php:1375
1504
- #: widgets/premium-pricing-table.php:1666 widgets/premium-vscroll.php:533
1505
  msgid "Normal"
1506
  msgstr ""
1507
 
1508
- #: widgets/premium-blog.php:965 widgets/premium-button.php:615
1509
  #: widgets/premium-contactform.php:517 widgets/premium-grid.php:978
1510
  #: widgets/premium-grid.php:1340 widgets/premium-image-button.php:512
1511
  #: widgets/premium-image-scroll.php:190 widgets/premium-image-scroll.php:307
@@ -1516,7 +1527,7 @@ msgstr ""
1516
  msgid "Hover"
1517
  msgstr ""
1518
 
1519
- #: widgets/premium-blog.php:1024 widgets/premium-button.php:592
1520
  #: widgets/premium-button.php:756 widgets/premium-contactform.php:276
1521
  #: widgets/premium-dual-header.php:305 widgets/premium-dual-header.php:447
1522
  #: widgets/premium-grid.php:622 widgets/premium-grid.php:693
@@ -1539,8 +1550,8 @@ msgstr ""
1539
  #: widgets/premium-pricing-table.php:1792 widgets/premium-progressbar.php:304
1540
  #: widgets/premium-progressbar.php:362 widgets/premium-progressbar.php:407
1541
  #: widgets/premium-testimonials.php:392 widgets/premium-title.php:414
1542
- #: widgets/premium-title.php:508 widgets/premium-vscroll.php:387
1543
- #: widgets/premium-vscroll.php:671
1544
  msgid "Margin"
1545
  msgstr ""
1546
 
@@ -1734,8 +1745,8 @@ msgstr ""
1734
  #: widgets/premium-dual-header.php:230 widgets/premium-dual-header.php:372
1735
  #: widgets/premium-grid.php:1243 widgets/premium-image-button.php:392
1736
  #: widgets/premium-image-button.php:518 widgets/premium-pricing-table.php:1547
1737
- #: widgets/premium-videobox.php:477 widgets/premium-vscroll.php:539
1738
- #: widgets/premium-vscroll.php:598
1739
  msgid "Text Color"
1740
  msgstr ""
1741
 
@@ -2036,7 +2047,7 @@ msgstr ""
2036
  msgid "Position (PX)"
2037
  msgstr ""
2038
 
2039
- #: widgets/premium-carousel.php:664 widgets/premium-vscroll.php:285
2040
  msgid "Navigation Dots"
2041
  msgstr ""
2042
 
@@ -2798,8 +2809,8 @@ msgstr ""
2798
  msgid "Spinner Color"
2799
  msgstr ""
2800
 
2801
- #: widgets/premium-grid.php:1346 widgets/premium-vscroll.php:553
2802
- #: widgets/premium-vscroll.php:612
2803
  msgid "Text Hover Color"
2804
  msgstr ""
2805
 
@@ -2903,7 +2914,7 @@ msgstr ""
2903
  #: widgets/premium-image-scroll.php:327 widgets/premium-pricing-table.php:578
2904
  #: widgets/premium-pricing-table.php:1014
2905
  #: widgets/premium-pricing-table.php:1161
2906
- #: widgets/premium-pricing-table.php:1272 widgets/premium-vscroll.php:467
2907
  msgid "Container"
2908
  msgstr ""
2909
 
@@ -3434,7 +3445,7 @@ msgid "Solid"
3434
  msgstr ""
3435
 
3436
  #: widgets/premium-progressbar.php:194
3437
- msgid "Stripped"
3438
  msgstr ""
3439
 
3440
  #: widgets/premium-progressbar.php:201
@@ -3753,7 +3764,7 @@ msgstr ""
3753
  msgid "Navigation"
3754
  msgstr ""
3755
 
3756
- #: widgets/premium-vscroll.php:145 widgets/premium-vscroll.php:513
3757
  msgid "Navigation Menu"
3758
  msgstr ""
3759
 
@@ -3805,30 +3816,34 @@ msgstr ""
3805
  msgid "Full Section Scroll"
3806
  msgstr ""
3807
 
3808
- #: widgets/premium-vscroll.php:294
 
 
 
 
3809
  msgid "Tooltips"
3810
  msgstr ""
3811
 
3812
- #: widgets/premium-vscroll.php:303
3813
  msgid "Tooltips Text Color"
3814
  msgstr ""
3815
 
3816
- #: widgets/premium-vscroll.php:332
3817
  msgid "Tooltips Background"
3818
  msgstr ""
3819
 
3820
- #: widgets/premium-vscroll.php:423
3821
  msgid "Dots Color"
3822
  msgstr ""
3823
 
3824
- #: widgets/premium-vscroll.php:437
3825
  msgid "Active Dot Color"
3826
  msgstr ""
3827
 
3828
- #: widgets/premium-vscroll.php:451
3829
  msgid "Dots Border Color"
3830
  msgstr ""
3831
 
3832
- #: widgets/premium-vscroll.php:592
3833
  msgid "Active"
3834
  msgstr ""
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Premium Addons for Elementor\n"
5
+ "POT-Creation-Date: 2019-04-18 12:29+0200\n"
6
  "PO-Revision-Date: 2018-02-15 10:41+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Leap13\n"
19
  "X-Poedit-SearchPathExcluded-0: assets/js\n"
20
  "X-Poedit-SearchPathExcluded-1: admin/assets/js\n"
21
 
22
+ #: admin/includes/notices.php:135
23
  msgid ""
24
+ "Premium Addons for Elementor is not working because you need to Install "
25
+ "Elementor plugin."
26
  msgstr ""
27
 
28
+ #: admin/includes/notices.php:137
29
  msgid "Install Now"
30
  msgstr ""
31
 
32
+ #: admin/includes/notices.php:145
33
  msgid ""
34
  "Premium Addons for Elementor is not working because you need to activate "
35
  "Elementor plugin."
36
  msgstr ""
37
 
38
+ #: admin/includes/notices.php:147
39
  msgid "Activate Now"
40
  msgstr ""
41
 
42
+ #: admin/includes/notices.php:162
43
  msgid "Did you like"
44
  msgstr ""
45
 
46
+ #: admin/includes/notices.php:162
47
  msgid "Plugin?"
48
  msgstr ""
49
 
50
+ #: admin/includes/notices.php:163
51
  msgid ""
52
  "Could you please do us a BIG favor ? if you could take 2 min of your time, "
53
  "we'd really appreciate if you give Premium Addons for Elementor 5-star "
55
  "stuff in the future!"
56
  msgstr ""
57
 
58
+ #: admin/includes/notices.php:164
59
  msgid "Leave a Review"
60
  msgstr ""
61
 
62
+ #: admin/includes/notices.php:165
63
  msgid "Maybe Later"
64
  msgstr ""
65
 
66
+ #: admin/includes/notices.php:166
67
  msgid "I Already did"
68
  msgstr ""
69
 
70
+ #: admin/includes/notices.php:234
71
  msgid "Premium Block for Gutenberg"
72
  msgstr ""
73
 
74
+ #: admin/includes/notices.php:234
75
  msgid "is Now Available."
76
  msgstr ""
77
 
78
+ #: admin/includes/notices.php:235
79
  msgid "Install it Now."
80
  msgstr ""
81
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  #: admin/settings/about.php:13
83
  msgid "About"
84
  msgstr ""
576
  msgstr ""
577
 
578
  #: widgets/premium-banner.php:42 widgets/premium-banner.php:428
579
+ #: widgets/premium-blog.php:43 widgets/premium-blog.php:645
580
  #: widgets/premium-grid.php:646 widgets/premium-image-scroll.php:56
581
  #: widgets/premium-image-scroll.php:256 widgets/premium-image-separator.php:43
582
  #: widgets/premium-modalbox.php:239 widgets/premium-modalbox.php:423
596
  msgstr ""
597
 
598
  #: widgets/premium-banner.php:61 widgets/premium-banner.php:326
599
+ #: widgets/premium-blog.php:301 widgets/premium-button.php:68
600
  #: widgets/premium-dual-header.php:103 widgets/premium-dual-header.php:127
601
  #: widgets/premium-grid.php:359 widgets/premium-image-button.php:64
602
  #: widgets/premium-image-scroll.php:94 widgets/premium-image-separator.php:119
677
  msgstr ""
678
 
679
  #: widgets/premium-banner.php:157 widgets/premium-blog.php:53
680
+ #: widgets/premium-blog.php:74 widgets/premium-blog.php:438
681
  #: widgets/premium-button.php:104 widgets/premium-grid.php:481
682
  #: widgets/premium-image-button.php:100 widgets/premium-modalbox.php:68
683
  #: widgets/premium-person.php:104 widgets/premium-progressbar.php:140
773
  "this class for your customizations."
774
  msgstr ""
775
 
776
+ #: widgets/premium-banner.php:231 widgets/premium-blog.php:799
777
  #: widgets/premium-carousel.php:81 widgets/premium-grid.php:718
778
  #: widgets/premium-modalbox.php:46 widgets/premium-modalbox.php:143
779
  #: widgets/premium-modalbox.php:165 widgets/premium-testimonials.php:182
782
  msgstr ""
783
 
784
  #: widgets/premium-banner.php:237 widgets/premium-banner.php:516
785
+ #: widgets/premium-blog.php:441 widgets/premium-blog.php:708
786
  #: widgets/premium-counter.php:43 widgets/premium-counter.php:362
787
  #: widgets/premium-grid.php:323 widgets/premium-grid.php:724
788
  #: widgets/premium-maps.php:180 widgets/premium-maps.php:364
868
  msgid "URL"
869
  msgstr ""
870
 
871
+ #: widgets/premium-banner.php:360 widgets/premium-blog.php:244
872
+ #: widgets/premium-blog.php:497 widgets/premium-button.php:420
873
  #: widgets/premium-countdown.php:110 widgets/premium-dual-header.php:161
874
  #: widgets/premium-fancytext.php:98 widgets/premium-image-button.php:320
875
  #: widgets/premium-maps.php:419 widgets/premium-maps.php:501
878
  msgid "Alignment"
879
  msgstr ""
880
 
881
+ #: widgets/premium-banner.php:364 widgets/premium-blog.php:248
882
+ #: widgets/premium-blog.php:501 widgets/premium-button.php:163
883
  #: widgets/premium-button.php:424 widgets/premium-countdown.php:114
884
  #: widgets/premium-counter.php:165 widgets/premium-dual-header.php:165
885
  #: widgets/premium-fancytext.php:102 widgets/premium-fancytext.php:291
894
  msgid "Left"
895
  msgstr ""
896
 
897
+ #: widgets/premium-banner.php:368 widgets/premium-blog.php:252
898
+ #: widgets/premium-blog.php:505 widgets/premium-button.php:428
899
  #: widgets/premium-countdown.php:118 widgets/premium-dual-header.php:169
900
  #: widgets/premium-fancytext.php:106 widgets/premium-fancytext.php:295
901
  #: widgets/premium-grid.php:160 widgets/premium-grid.php:524
907
  msgid "Center"
908
  msgstr ""
909
 
910
+ #: widgets/premium-banner.php:372 widgets/premium-blog.php:256
911
+ #: widgets/premium-blog.php:509 widgets/premium-button.php:164
912
  #: widgets/premium-button.php:432 widgets/premium-countdown.php:122
913
  #: widgets/premium-counter.php:164 widgets/premium-dual-header.php:173
914
  #: widgets/premium-fancytext.php:110 widgets/premium-fancytext.php:299
954
  msgstr ""
955
 
956
  #: widgets/premium-banner.php:435 widgets/premium-banner.php:662
957
+ #: widgets/premium-blog.php:828 widgets/premium-blog.php:943
958
+ #: widgets/premium-blog.php:1014 widgets/premium-blog.php:1051
959
+ #: widgets/premium-blog.php:1148 widgets/premium-button.php:522
960
  #: widgets/premium-button.php:670 widgets/premium-carousel.php:582
961
  #: widgets/premium-contactform.php:477 widgets/premium-contactform.php:533
962
  #: widgets/premium-countdown.php:379 widgets/premium-countdown.php:456
970
  #: widgets/premium-pricing-table.php:525 widgets/premium-pricing-table.php:1620
971
  #: widgets/premium-pricing-table.php:1637 widgets/premium-title.php:287
972
  #: widgets/premium-title.php:309 widgets/premium-videobox.php:514
973
+ #: widgets/premium-vscroll.php:484 widgets/premium-vscroll.php:578
974
+ #: widgets/premium-vscroll.php:637
975
  msgid "Background Color"
976
  msgstr ""
977
 
984
  msgstr ""
985
 
986
  #: widgets/premium-banner.php:503 widgets/premium-banner.php:690
987
+ #: widgets/premium-blog.php:1078 widgets/premium-blog.php:1162
988
  #: widgets/premium-button.php:546 widgets/premium-button.php:695
989
  #: widgets/premium-carousel.php:766 widgets/premium-contactform.php:264
990
  #: widgets/premium-contactform.php:500 widgets/premium-countdown.php:420
1006
  #: widgets/premium-pricing-table.php:1692
1007
  #: widgets/premium-pricing-table.php:1770 widgets/premium-progressbar.php:247
1008
  #: widgets/premium-title.php:496 widgets/premium-videobox.php:317
1009
+ #: widgets/premium-videobox.php:409 widgets/premium-vscroll.php:373
1010
+ #: widgets/premium-vscroll.php:498 widgets/premium-vscroll.php:671
1011
  msgid "Border Radius"
1012
  msgstr ""
1013
 
1014
  #: widgets/premium-banner.php:523 widgets/premium-banner.php:579
1015
+ #: widgets/premium-banner.php:624 widgets/premium-blog.php:715
1016
+ #: widgets/premium-blog.php:760 widgets/premium-blog.php:806
1017
+ #: widgets/premium-blog.php:848 widgets/premium-blog.php:915
1018
+ #: widgets/premium-blog.php:1000 widgets/premium-blog.php:1037
1019
+ #: widgets/premium-blog.php:1123 widgets/premium-carousel.php:543
1020
  #: widgets/premium-carousel.php:702 widgets/premium-countdown.php:353
1021
  #: widgets/premium-countdown.php:441 widgets/premium-counter.php:192
1022
  #: widgets/premium-counter.php:369 widgets/premium-counter.php:409
1065
  #: widgets/premium-pricing-table.php:1705
1066
  #: widgets/premium-pricing-table.php:1783 widgets/premium-title.php:427
1067
  #: widgets/premium-videobox.php:329 widgets/premium-videobox.php:540
1068
+ #: widgets/premium-vscroll.php:510 widgets/premium-vscroll.php:593
1069
+ #: widgets/premium-vscroll.php:652
1070
  msgid "Shadow"
1071
  msgstr ""
1072
 
1073
+ #: widgets/premium-banner.php:638 widgets/premium-blog.php:737
1074
+ #: widgets/premium-blog.php:783 widgets/premium-blog.php:870
1075
+ #: widgets/premium-blog.php:929 widgets/premium-modalbox.php:528
1076
  #: widgets/premium-person.php:508 widgets/premium-videobox.php:363
1077
  #: widgets/premium-videobox.php:491
1078
  msgid "Hover Color"
1079
  msgstr ""
1080
 
1081
+ #: widgets/premium-banner.php:672 widgets/premium-blog.php:957
1082
  msgid "Hover Background Color"
1083
  msgstr ""
1084
 
1085
+ #: widgets/premium-banner.php:710 widgets/premium-blog.php:1100
1086
+ #: widgets/premium-blog.php:1173 widgets/premium-button.php:603
1087
  #: widgets/premium-button.php:767 widgets/premium-contactform.php:244
1088
  #: widgets/premium-contactform.php:446 widgets/premium-dual-header.php:317
1089
  #: widgets/premium-dual-header.php:459 widgets/premium-grid.php:633
1104
  #: widgets/premium-pricing-table.php:1725
1105
  #: widgets/premium-pricing-table.php:1803 widgets/premium-title.php:520
1106
  #: widgets/premium-videobox.php:424 widgets/premium-videobox.php:528
1107
+ #: widgets/premium-vscroll.php:412 widgets/premium-vscroll.php:693
1108
  msgid "Padding"
1109
  msgstr ""
1110
 
1182
  msgid "4 Columns"
1183
  msgstr ""
1184
 
1185
+ #: widgets/premium-blog.php:154
1186
+ msgid "Thumbnail Min Height"
1187
+ msgstr ""
1188
+
1189
+ #: widgets/premium-blog.php:171
1190
+ msgid "Thumbnail Max Height"
1191
+ msgstr ""
1192
+
1193
+ #: widgets/premium-blog.php:188
1194
+ msgid "Featured Image Max Height"
1195
+ msgstr ""
1196
+
1197
+ #: widgets/premium-blog.php:205
1198
+ msgid "Thumbnail Fit"
1199
+ msgstr ""
1200
+
1201
+ #: widgets/premium-blog.php:208
1202
+ msgid "Cover"
1203
+ msgstr ""
1204
+
1205
+ #: widgets/premium-blog.php:209
1206
+ msgid "Fill"
1207
+ msgstr ""
1208
+
1209
+ #: widgets/premium-blog.php:210
1210
+ msgid "Contain"
1211
+ msgstr ""
1212
+
1213
+ #: widgets/premium-blog.php:224 widgets/premium-pricing-table.php:1138
1214
  msgid "Spacing"
1215
  msgstr ""
1216
 
1217
+ #: widgets/premium-blog.php:271
1218
  msgid "Post Options"
1219
  msgstr ""
1220
 
1221
+ #: widgets/premium-blog.php:277
1222
  msgid "Excerpt"
1223
  msgstr ""
1224
 
1225
+ #: widgets/premium-blog.php:279
1226
  msgid ""
1227
  "Excerpt is used for article summary with a link to the whole entry. The "
1228
  "default except length is 55"
1229
  msgstr ""
1230
 
1231
+ #: widgets/premium-blog.php:286
1232
  msgid "Excerpt Length"
1233
  msgstr ""
1234
 
1235
+ #: widgets/premium-blog.php:297
1236
  msgid "Excerpt Type"
1237
  msgstr ""
1238
 
1239
+ #: widgets/premium-blog.php:300 widgets/premium-carousel.php:115
1240
+ #: widgets/premium-vscroll.php:428
1241
  msgid "Dots"
1242
  msgstr ""
1243
 
1244
+ #: widgets/premium-blog.php:310
1245
  msgid "Link Text"
1246
  msgstr ""
1247
 
1248
+ #: widgets/premium-blog.php:312
1249
  msgid "continue reading"
1250
  msgstr ""
1251
 
1252
+ #: widgets/premium-blog.php:322
1253
  msgid "Author Meta"
1254
  msgstr ""
1255
 
1256
+ #: widgets/premium-blog.php:330
1257
  msgid "Date Meta"
1258
  msgstr ""
1259
 
1260
+ #: widgets/premium-blog.php:338
1261
  msgid "Categories Meta"
1262
  msgstr ""
1263
 
1264
+ #: widgets/premium-blog.php:340
1265
  msgid "Display or hide categories mata"
1266
  msgstr ""
1267
 
1268
+ #: widgets/premium-blog.php:347
1269
  msgid "Comments Meta"
1270
  msgstr ""
1271
 
1272
+ #: widgets/premium-blog.php:348
1273
  msgid "Display or hide comments mata"
1274
  msgstr ""
1275
 
1276
+ #: widgets/premium-blog.php:356
1277
  msgid "Tags Meta"
1278
  msgstr ""
1279
 
1280
+ #: widgets/premium-blog.php:358
1281
  msgid "Display or hide post tags"
1282
  msgstr ""
1283
 
1284
+ #: widgets/premium-blog.php:365 widgets/premium-blog.php:886
1285
  msgid "Post Format Icon"
1286
  msgstr ""
1287
 
1288
+ #: widgets/premium-blog.php:373
1289
  msgid "Edit Post Icon"
1290
  msgstr ""
1291
 
1292
+ #: widgets/premium-blog.php:375
1293
  msgid "Display or hide edit post option"
1294
  msgstr ""
1295
 
1296
+ #: widgets/premium-blog.php:384 widgets/premium-image-scroll.php:158
1297
  msgid "Advanced Settings"
1298
  msgstr ""
1299
 
1300
+ #: widgets/premium-blog.php:390
1301
  msgid "Filter By Category"
1302
  msgstr ""
1303
 
1304
+ #: widgets/premium-blog.php:392
1305
  msgid "Get posts for specific category(s)"
1306
  msgstr ""
1307
 
1308
+ #: widgets/premium-blog.php:401
1309
  msgid "Filter By Tag"
1310
  msgstr ""
1311
 
1312
+ #: widgets/premium-blog.php:403
1313
  msgid "Get posts for specific tag(s)"
1314
  msgstr ""
1315
 
1316
+ #: widgets/premium-blog.php:412
1317
  msgid "Filter By Author"
1318
  msgstr ""
1319
 
1320
+ #: widgets/premium-blog.php:414
1321
  msgid "Get posts for specific author(s)"
1322
  msgstr ""
1323
 
1324
+ #: widgets/premium-blog.php:423
1325
  msgid "Posts to Exclude"
1326
  msgstr ""
1327
 
1328
+ #: widgets/premium-blog.php:425
1329
  msgid "Add post(s) to exclude"
1330
  msgstr ""
1331
 
1332
+ #: widgets/premium-blog.php:434
1333
  msgid "Order By"
1334
  msgstr ""
1335
 
1336
+ #: widgets/premium-blog.php:439 widgets/premium-videobox.php:61
1337
  msgid "ID"
1338
  msgstr ""
1339
 
1340
+ #: widgets/premium-blog.php:440 widgets/premium-testimonials.php:30
1341
  #: widgets/premium-testimonials.php:272
1342
  msgid "Author"
1343
  msgstr ""
1344
 
1345
+ #: widgets/premium-blog.php:442 widgets/premium-person.php:132
1346
  #: widgets/premium-person.php:376 widgets/premium-testimonials.php:66
1347
  #: widgets/premium-testimonials.php:107
1348
  msgid "Name"
1349
  msgstr ""
1350
 
1351
+ #: widgets/premium-blog.php:443
1352
  msgid "Date"
1353
  msgstr ""
1354
 
1355
+ #: widgets/premium-blog.php:444
1356
  msgid "Last Modified"
1357
  msgstr ""
1358
 
1359
+ #: widgets/premium-blog.php:445
1360
  msgid "Random"
1361
  msgstr ""
1362
 
1363
+ #: widgets/premium-blog.php:446
1364
  msgid "Number of Comments"
1365
  msgstr ""
1366
 
1367
+ #: widgets/premium-blog.php:454
1368
  msgid "Order"
1369
  msgstr ""
1370
 
1371
+ #: widgets/premium-blog.php:458
1372
  msgid "Descending"
1373
  msgstr ""
1374
 
1375
+ #: widgets/premium-blog.php:459
1376
  msgid "Ascending"
1377
  msgstr ""
1378
 
1379
+ #: widgets/premium-blog.php:467
1380
  msgid "Pagination"
1381
  msgstr ""
1382
 
1383
+ #: widgets/premium-blog.php:469
1384
  msgid "Pagination is the process of dividing the posts into discrete pages"
1385
  msgstr ""
1386
 
1387
+ #: widgets/premium-blog.php:475
1388
  msgid "Next Page String"
1389
  msgstr ""
1390
 
1391
+ #: widgets/premium-blog.php:477
1392
  msgid "Next"
1393
  msgstr ""
1394
 
1395
+ #: widgets/premium-blog.php:486
1396
  msgid "Previous Page String"
1397
  msgstr ""
1398
 
1399
+ #: widgets/premium-blog.php:488
1400
  msgid "Previous"
1401
  msgstr ""
1402
 
1403
+ #: widgets/premium-blog.php:525
1404
  msgid "Links in New Tab"
1405
  msgstr ""
1406
 
1407
+ #: widgets/premium-blog.php:527
1408
  msgid "Enable links to be opened in a new tab"
1409
  msgstr ""
1410
 
1411
+ #: widgets/premium-blog.php:534
1412
  msgid "Posts Per Page"
1413
  msgstr ""
1414
 
1415
+ #: widgets/premium-blog.php:535
1416
  msgid "Choose how many posts do you want to be displayed per page"
1417
  msgstr ""
1418
 
1419
+ #: widgets/premium-blog.php:544
1420
  msgid "Total Number of Posts"
1421
  msgstr ""
1422
 
1423
+ #: widgets/premium-blog.php:556
1424
  msgid "Offset Count"
1425
  msgstr ""
1426
 
1427
+ #: widgets/premium-blog.php:557
1428
  msgid "The index of post to start with"
1429
  msgstr ""
1430
 
1431
+ #: widgets/premium-blog.php:568 widgets/premium-blog.php:1113
1432
  #: widgets/premium-carousel.php:47
1433
  msgid "Carousel"
1434
  msgstr ""
1435
 
1436
+ #: widgets/premium-blog.php:577
1437
  msgid "Enable Carousel"
1438
  msgstr ""
1439
 
1440
+ #: widgets/premium-blog.php:584 widgets/premium-carousel.php:238
1441
  msgid "Fade"
1442
  msgstr ""
1443
 
1444
+ #: widgets/premium-blog.php:594
1445
  msgid "Auto Play"
1446
  msgstr ""
1447
 
1448
+ #: widgets/premium-blog.php:604 widgets/premium-carousel.php:278
1449
  msgid "Autoplay Speed"
1450
  msgstr ""
1451
 
1452
+ #: widgets/premium-blog.php:605 widgets/premium-carousel.php:279
1453
  msgid ""
1454
  "Autoplay Speed means at which time the next slide should come. Set a value "
1455
  "in milliseconds (ms)"
1456
  msgstr ""
1457
 
1458
+ #: widgets/premium-blog.php:617
1459
  msgid "Arrows Position"
1460
  msgstr ""
1461
 
1462
+ #: widgets/premium-blog.php:652 widgets/premium-button.php:505
1463
  #: widgets/premium-button.php:637 widgets/premium-button.php:654
1464
  #: widgets/premium-image-button.php:405 widgets/premium-image-button.php:534
1465
  #: widgets/premium-image-button.php:551 widgets/premium-image-scroll.php:263
1467
  msgid "Icon Color"
1468
  msgstr ""
1469
 
1470
+ #: widgets/premium-blog.php:666 widgets/premium-grid.php:984
1471
  #: widgets/premium-image-button.php:567 widgets/premium-image-button.php:584
1472
  #: widgets/premium-image-button.php:610 widgets/premium-image-scroll.php:276
1473
  msgid "Overlay Color"
1474
  msgstr ""
1475
 
1476
+ #: widgets/premium-blog.php:680 widgets/premium-carousel.php:600
1477
  #: widgets/premium-contactform.php:544
1478
  msgid "Border Color"
1479
  msgstr ""
1480
 
1481
+ #: widgets/premium-blog.php:753
1482
  msgid "Meta"
1483
  msgstr ""
1484
 
1485
+ #: widgets/premium-blog.php:841
1486
  msgid "Tags"
1487
  msgstr ""
1488
 
1489
+ #: widgets/premium-blog.php:896 widgets/premium-blog.php:1137
1490
  #: widgets/premium-button.php:403 widgets/premium-carousel.php:560
1491
  #: widgets/premium-counter.php:209 widgets/premium-counter.php:231
1492
  #: widgets/premium-image-button.php:303 widgets/premium-modalbox.php:843
1498
  msgid "Size"
1499
  msgstr ""
1500
 
1501
+ #: widgets/premium-blog.php:898
1502
  msgid "Choose icon size in (PX, EM)"
1503
  msgstr ""
1504
 
1505
+ #: widgets/premium-blog.php:973
1506
  msgid "Pagination Style"
1507
  msgstr ""
1508
 
1509
+ #: widgets/premium-blog.php:993 widgets/premium-button.php:486
1510
  #: widgets/premium-contactform.php:459 widgets/premium-grid.php:889
1511
  #: widgets/premium-grid.php:1237 widgets/premium-image-button.php:386
1512
  #: widgets/premium-image-scroll.php:291 widgets/premium-image-scroll.php:336
1513
  #: widgets/premium-modalbox.php:596 widgets/premium-modalbox.php:859
1514
  #: widgets/premium-modalbox.php:1028 widgets/premium-pricing-table.php:1375
1515
+ #: widgets/premium-pricing-table.php:1666 widgets/premium-vscroll.php:544
1516
  msgid "Normal"
1517
  msgstr ""
1518
 
1519
+ #: widgets/premium-blog.php:1030 widgets/premium-button.php:615
1520
  #: widgets/premium-contactform.php:517 widgets/premium-grid.php:978
1521
  #: widgets/premium-grid.php:1340 widgets/premium-image-button.php:512
1522
  #: widgets/premium-image-scroll.php:190 widgets/premium-image-scroll.php:307
1527
  msgid "Hover"
1528
  msgstr ""
1529
 
1530
+ #: widgets/premium-blog.php:1089 widgets/premium-button.php:592
1531
  #: widgets/premium-button.php:756 widgets/premium-contactform.php:276
1532
  #: widgets/premium-dual-header.php:305 widgets/premium-dual-header.php:447
1533
  #: widgets/premium-grid.php:622 widgets/premium-grid.php:693
1550
  #: widgets/premium-pricing-table.php:1792 widgets/premium-progressbar.php:304
1551
  #: widgets/premium-progressbar.php:362 widgets/premium-progressbar.php:407
1552
  #: widgets/premium-testimonials.php:392 widgets/premium-title.php:414
1553
+ #: widgets/premium-title.php:508 widgets/premium-vscroll.php:398
1554
+ #: widgets/premium-vscroll.php:682
1555
  msgid "Margin"
1556
  msgstr ""
1557
 
1745
  #: widgets/premium-dual-header.php:230 widgets/premium-dual-header.php:372
1746
  #: widgets/premium-grid.php:1243 widgets/premium-image-button.php:392
1747
  #: widgets/premium-image-button.php:518 widgets/premium-pricing-table.php:1547
1748
+ #: widgets/premium-videobox.php:477 widgets/premium-vscroll.php:550
1749
+ #: widgets/premium-vscroll.php:609
1750
  msgid "Text Color"
1751
  msgstr ""
1752
 
2047
  msgid "Position (PX)"
2048
  msgstr ""
2049
 
2050
+ #: widgets/premium-carousel.php:664 widgets/premium-vscroll.php:296
2051
  msgid "Navigation Dots"
2052
  msgstr ""
2053
 
2809
  msgid "Spinner Color"
2810
  msgstr ""
2811
 
2812
+ #: widgets/premium-grid.php:1346 widgets/premium-vscroll.php:564
2813
+ #: widgets/premium-vscroll.php:623
2814
  msgid "Text Hover Color"
2815
  msgstr ""
2816
 
2914
  #: widgets/premium-image-scroll.php:327 widgets/premium-pricing-table.php:578
2915
  #: widgets/premium-pricing-table.php:1014
2916
  #: widgets/premium-pricing-table.php:1161
2917
+ #: widgets/premium-pricing-table.php:1272 widgets/premium-vscroll.php:478
2918
  msgid "Container"
2919
  msgstr ""
2920
 
3445
  msgstr ""
3446
 
3447
  #: widgets/premium-progressbar.php:194
3448
+ msgid "Striped"
3449
  msgstr ""
3450
 
3451
  #: widgets/premium-progressbar.php:201
3764
  msgid "Navigation"
3765
  msgstr ""
3766
 
3767
+ #: widgets/premium-vscroll.php:145 widgets/premium-vscroll.php:524
3768
  msgid "Navigation Menu"
3769
  msgstr ""
3770
 
3816
  msgid "Full Section Scroll"
3817
  msgstr ""
3818
 
3819
+ #: widgets/premium-vscroll.php:283
3820
+ msgid "Full Section Scroll on Touch"
3821
+ msgstr ""
3822
+
3823
+ #: widgets/premium-vscroll.php:305
3824
  msgid "Tooltips"
3825
  msgstr ""
3826
 
3827
+ #: widgets/premium-vscroll.php:314
3828
  msgid "Tooltips Text Color"
3829
  msgstr ""
3830
 
3831
+ #: widgets/premium-vscroll.php:343
3832
  msgid "Tooltips Background"
3833
  msgstr ""
3834
 
3835
+ #: widgets/premium-vscroll.php:434
3836
  msgid "Dots Color"
3837
  msgstr ""
3838
 
3839
+ #: widgets/premium-vscroll.php:448
3840
  msgid "Active Dot Color"
3841
  msgstr ""
3842
 
3843
+ #: widgets/premium-vscroll.php:462
3844
  msgid "Dots Border Color"
3845
  msgstr ""
3846
 
3847
+ #: widgets/premium-vscroll.php:603
3848
  msgid "Active"
3849
  msgstr ""
premium-addons-for-elementor.php CHANGED
@@ -3,9 +3,9 @@
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons Plugin Includes 22+ premium widgets for Elementor Page Builder.
5
  Plugin URI: https://premiumaddons.com
6
- Version: 3.2.7
7
  Author: Leap13
8
- Author URI: http://leap13.com/
9
  Text Domain: premium-addons-for-elementor
10
  Domain Path: /languages
11
  License: GNU General Public License v3.0
@@ -14,14 +14,15 @@ License: GNU General Public License v3.0
14
  if ( ! defined('ABSPATH') ) exit; // No access of directly access
15
 
16
  // Define Constants
17
- define('PREMIUM_ADDONS_VERSION', '3.2.7');
18
  define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
19
  define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
20
  define('PREMIUM_ADDONS_FILE', __FILE__);
21
  define('PREMIUM_ADDONS_BASENAME', plugin_basename(PREMIUM_ADDONS_FILE));
22
- define('PREMIUM_ADDONS_STABLE_VERSION', '3.2.6');
23
 
24
  if( ! class_exists('Premium_Addons_Elementor') ) {
 
25
  /*
26
  * Intialize and Sets up the plugin
27
  */
@@ -30,11 +31,13 @@ if( ! class_exists('Premium_Addons_Elementor') ) {
30
  private static $instance = null;
31
 
32
  /**
33
- * Sets up needed actions/filters for the plug-in to initialize.
34
- * @since 1.0.0
35
- * @access public
36
- * @return void
37
- */
 
 
38
  public function __construct() {
39
 
40
  add_action('plugins_loaded', array( $this, 'premium_addons_elementor_setup') );
@@ -50,11 +53,13 @@ if( ! class_exists('Premium_Addons_Elementor') ) {
50
  }
51
 
52
  /**
53
- * Installs translation text domain and checks if Elementor is installed
54
- * @since 1.0.0
55
- * @access public
56
- * @return void
57
- */
 
 
58
  public function premium_addons_elementor_setup() {
59
 
60
  $this->load_domain();
@@ -63,12 +68,15 @@ if( ! class_exists('Premium_Addons_Elementor') ) {
63
  }
64
 
65
  /**
66
- * Set transient for admin review notice
67
- * @since 3.1.7
68
- * @access public
69
- * @return void
70
- */
 
 
71
  public function set_transient() {
 
72
  $cache_key = 'premium_notice_' . PREMIUM_ADDONS_VERSION;
73
 
74
  $expiration = 3600 * 72;
@@ -79,8 +87,10 @@ if( ! class_exists('Premium_Addons_Elementor') ) {
79
 
80
  /**
81
  * Require initial necessary files
 
82
  * @since 2.6.8
83
  * @access public
 
84
  * @return void
85
  */
86
  public function init_files(){
@@ -107,8 +117,10 @@ if( ! class_exists('Premium_Addons_Elementor') ) {
107
 
108
  /**
109
  * Load plugin translated strings using text domain
 
110
  * @since 2.6.8
111
  * @access public
 
112
  * @return void
113
  */
114
  public function load_domain() {
@@ -119,8 +131,10 @@ if( ! class_exists('Premium_Addons_Elementor') ) {
119
 
120
  /**
121
  * Elementor Init
 
122
  * @since 2.6.8
123
  * @access public
 
124
  * @return void
125
  */
126
  public function elementor_init() {
@@ -133,20 +147,26 @@ if( ! class_exists('Premium_Addons_Elementor') ) {
133
  }
134
 
135
  /**
136
- * Load required file for addons integration
137
- * @return void
138
- */
 
 
 
 
139
  public function init_addons() {
140
  require_once ( PREMIUM_ADDONS_PATH . 'includes/class-addons-integration.php' );
141
  }
142
 
143
  /**
144
  * Creates and returns an instance of the class
 
145
  * @since 2.6.8
146
  * @access public
147
- * return object
 
148
  */
149
- public static function get_instance(){
150
  if( self::$instance == null ) {
151
  self::$instance = new self;
152
  }
@@ -157,6 +177,7 @@ if( ! class_exists('Premium_Addons_Elementor') ) {
157
  }
158
 
159
  if ( ! function_exists( 'premium_addons' ) ) {
 
160
  /**
161
  * Returns an instance of the plugin class.
162
  * @since 1.0.0
@@ -166,4 +187,5 @@ if ( ! function_exists( 'premium_addons' ) ) {
166
  return Premium_Addons_Elementor::get_instance();
167
  }
168
  }
 
169
  premium_addons();
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons Plugin Includes 22+ premium widgets for Elementor Page Builder.
5
  Plugin URI: https://premiumaddons.com
6
+ Version: 3.2.8
7
  Author: Leap13
8
+ Author URI: https://leap13.com/
9
  Text Domain: premium-addons-for-elementor
10
  Domain Path: /languages
11
  License: GNU General Public License v3.0
14
  if ( ! defined('ABSPATH') ) exit; // No access of directly access
15
 
16
  // Define Constants
17
+ define('PREMIUM_ADDONS_VERSION', '3.2.8');
18
  define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
19
  define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
20
  define('PREMIUM_ADDONS_FILE', __FILE__);
21
  define('PREMIUM_ADDONS_BASENAME', plugin_basename(PREMIUM_ADDONS_FILE));
22
+ define('PREMIUM_ADDONS_STABLE_VERSION', '3.2.7');
23
 
24
  if( ! class_exists('Premium_Addons_Elementor') ) {
25
+
26
  /*
27
  * Intialize and Sets up the plugin
28
  */
31
  private static $instance = null;
32
 
33
  /**
34
+ * Sets up needed actions/filters for the plug-in to initialize.
35
+ *
36
+ * @since 1.0.0
37
+ * @access public
38
+ *
39
+ * @return void
40
+ */
41
  public function __construct() {
42
 
43
  add_action('plugins_loaded', array( $this, 'premium_addons_elementor_setup') );
53
  }
54
 
55
  /**
56
+ * Installs translation text domain and checks if Elementor is installed
57
+ *
58
+ * @since 1.0.0
59
+ * @access public
60
+ *
61
+ * @return void
62
+ */
63
  public function premium_addons_elementor_setup() {
64
 
65
  $this->load_domain();
68
  }
69
 
70
  /**
71
+ * Set transient for admin review notice
72
+ *
73
+ * @since 3.1.7
74
+ * @access public
75
+ *
76
+ * @return void
77
+ */
78
  public function set_transient() {
79
+
80
  $cache_key = 'premium_notice_' . PREMIUM_ADDONS_VERSION;
81
 
82
  $expiration = 3600 * 72;
87
 
88
  /**
89
  * Require initial necessary files
90
+ *
91
  * @since 2.6.8
92
  * @access public
93
+ *
94
  * @return void
95
  */
96
  public function init_files(){
117
 
118
  /**
119
  * Load plugin translated strings using text domain
120
+ *
121
  * @since 2.6.8
122
  * @access public
123
+ *
124
  * @return void
125
  */
126
  public function load_domain() {
131
 
132
  /**
133
  * Elementor Init
134
+ *
135
  * @since 2.6.8
136
  * @access public
137
+ *
138
  * @return void
139
  */
140
  public function elementor_init() {
147
  }
148
 
149
  /**
150
+ * Load required file for addons integration
151
+ *
152
+ * @since 2.6.8
153
+ * @access public
154
+ *
155
+ * @return void
156
+ */
157
  public function init_addons() {
158
  require_once ( PREMIUM_ADDONS_PATH . 'includes/class-addons-integration.php' );
159
  }
160
 
161
  /**
162
  * Creates and returns an instance of the class
163
+ *
164
  * @since 2.6.8
165
  * @access public
166
+ *
167
+ * @return object
168
  */
169
+ public static function get_instance() {
170
  if( self::$instance == null ) {
171
  self::$instance = new self;
172
  }
177
  }
178
 
179
  if ( ! function_exists( 'premium_addons' ) ) {
180
+
181
  /**
182
  * Returns an instance of the plugin class.
183
  * @since 1.0.0
187
  return Premium_Addons_Elementor::get_instance();
188
  }
189
  }
190
+
191
  premium_addons();
queries.php CHANGED
@@ -43,21 +43,23 @@ function premium_blog_get_post_settings( $settings ) {
43
  return $post_args;
44
  }
45
 
46
- function premium_addons_get_excerpt_by_id( $post_id, $excerpt_length, $excerpt_type, $exceprt_text ){
47
- $the_post = get_post($post_id);
 
48
 
49
  $the_excerpt = null;
50
- if ($the_post)
51
- {
52
  $the_excerpt = $the_post->post_excerpt ? $the_post->post_excerpt : $the_post->post_content;
53
  }
54
 
55
- $the_excerpt = strip_tags(strip_shortcodes($the_excerpt)); //Strips tags and images
56
- $words = explode(' ', $the_excerpt, $excerpt_length + 1);
 
57
 
58
- if(count($words) > $excerpt_length) :
59
- array_pop($words);
60
- if( 'dots' == $excerpt_type){
61
  array_push($words, '…');
62
  } else {
63
  array_push($words, ' <a href="' . get_permalink($post_id) .'" class="premium-blog-excerpt-link">' . $exceprt_text . '</a>');
@@ -67,6 +69,7 @@ function premium_addons_get_excerpt_by_id( $post_id, $excerpt_length, $excerpt_t
67
  endif;
68
 
69
  return $the_excerpt;
 
70
  }
71
 
72
  function premium_addons_post_type_categories() {
43
  return $post_args;
44
  }
45
 
46
+ function premium_addons_get_excerpt_by_id( $post_id, $excerpt_length, $excerpt_type, $exceprt_text ) {
47
+
48
+ $the_post = get_post( $post_id );
49
 
50
  $the_excerpt = null;
51
+
52
+ if ( $the_post ) {
53
  $the_excerpt = $the_post->post_excerpt ? $the_post->post_excerpt : $the_post->post_content;
54
  }
55
 
56
+ $the_excerpt = strip_tags( strip_shortcodes( $the_excerpt ) ); //Strips tags and images
57
+
58
+ $words = explode( ' ', $the_excerpt, $excerpt_length + 1 );
59
 
60
+ if(count( $words ) > $excerpt_length ) :
61
+ array_pop( $words );
62
+ if( 'dots' == $excerpt_type ) {
63
  array_push($words, '…');
64
  } else {
65
  array_push($words, ' <a href="' . get_permalink($post_id) .'" class="premium-blog-excerpt-link">' . $exceprt_text . '</a>');
69
  endif;
70
 
71
  return $the_excerpt;
72
+
73
  }
74
 
75
  function premium_addons_post_type_categories() {
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://premiumaddons.com
5
  Requires at least: 4.5
6
  Tested up to: 5.1.1
7
  Requires PHP: 5.4
8
- Stable tag: 3.2.7
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
@@ -139,6 +139,12 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
139
 
140
  == Changelog ==
141
 
 
 
 
 
 
 
142
  = 3.2.7 =
143
 
144
  - Tweak: `.POT` Translation file updated.
5
  Requires at least: 4.5
6
  Tested up to: 5.1.1
7
  Requires PHP: 5.4
8
+ Stable tag: 3.2.8
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
139
 
140
  == Changelog ==
141
 
142
+ = 3.2.8 =
143
+
144
+ - Tweak: Added Thumbnail `Min/Max Height`, `Fit` option for Blog widget.
145
+ - Fixed: Blog masonry is triggered even with `Grid` option is disabled.
146
+ - Fixed: Self hosted videos are stretched on full screen mode in Video Box widget.
147
+
148
  = 3.2.7 =
149
 
150
  - Tweak: `.POT` Translation file updated.
widgets/premium-banner.php CHANGED
@@ -17,7 +17,7 @@ class Premium_Banner extends Widget_Base {
17
  }
18
 
19
  public function get_title() {
20
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Banner';
21
  }
22
 
23
  public function get_icon() {
@@ -131,12 +131,12 @@ class Premium_Banner extends Widget_Base {
131
  'default' => 'premium_banner_animation1',
132
  'description' => __( 'Choose a hover effect for the banner', 'premium-addons-for-elementor' ),
133
  'options' => [
134
- 'premium_banner_animation1' => 'Effect 1',
135
- 'premium_banner_animation5' => 'Effect 2',
136
- 'premium_banner_animation13' => 'Effect 3',
137
- 'premium_banner_animation2' => 'Effect 4',
138
- 'premium_banner_animation4' => 'Effect 5',
139
- 'premium_banner_animation6' => 'Effect 6'
140
  ]
141
  ]
142
  );
@@ -172,8 +172,8 @@ class Premium_Banner extends Widget_Base {
172
  'label' => __( 'Height', 'premium-addons-for-elementor' ),
173
  'type' => Controls_Manager::SELECT,
174
  'options' => [
175
- 'default' => 'Default',
176
- 'custom' => 'Custom'
177
  ],
178
  'default' => 'default',
179
  'description' => __( 'Choose if you want to set a custom height for the banner or keep it as it is', 'premium-addons-for-elementor' )
@@ -722,7 +722,9 @@ class Premium_Banner extends Widget_Base {
722
 
723
 
724
  protected function render() {
725
- $settings = $this->get_settings_for_display(); // All the settings values stored in $settings varaiable
 
 
726
  $this->add_inline_editing_attributes('premium_banner_title');
727
  $this->add_inline_editing_attributes('premium_banner_description', 'advanced');
728
 
17
  }
18
 
19
  public function get_title() {
20
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Banner', 'premium-addons-for-elementor' );
21
  }
22
 
23
  public function get_icon() {
131
  'default' => 'premium_banner_animation1',
132
  'description' => __( 'Choose a hover effect for the banner', 'premium-addons-for-elementor' ),
133
  'options' => [
134
+ 'premium_banner_animation1' => __('Effect 1', 'premium-addons-for-elementor'),
135
+ 'premium_banner_animation5' => __('Effect 2', 'premium-addons-for-elementor'),
136
+ 'premium_banner_animation13' => __('Effect 3', 'premium-addons-for-elementor'),
137
+ 'premium_banner_animation2' => __('Effect 4', 'premium-addons-for-elementor'),
138
+ 'premium_banner_animation4' => __('Effect 5', 'premium-addons-for-elementor'),
139
+ 'premium_banner_animation6' => __('Effect 6', 'premium-addons-for-elementor')
140
  ]
141
  ]
142
  );
172
  'label' => __( 'Height', 'premium-addons-for-elementor' ),
173
  'type' => Controls_Manager::SELECT,
174
  'options' => [
175
+ 'default' => __('Default', 'premium-addons-for-elementor'),
176
+ 'custom' => __('Custom', 'premium-addons-for-elementor')
177
  ],
178
  'default' => 'default',
179
  'description' => __( 'Choose if you want to set a custom height for the banner or keep it as it is', 'premium-addons-for-elementor' )
722
 
723
 
724
  protected function render() {
725
+
726
+ $settings = $this->get_settings_for_display();
727
+
728
  $this->add_inline_editing_attributes('premium_banner_title');
729
  $this->add_inline_editing_attributes('premium_banner_description', 'advanced');
730
 
widgets/premium-blog.php CHANGED
@@ -11,7 +11,7 @@ class Premium_Blog extends Widget_Base {
11
  }
12
 
13
  public function get_title() {
14
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Blog';
15
  }
16
 
17
  public function is_reload_preview_required(){
@@ -50,7 +50,7 @@ class Premium_Blog extends Widget_Base {
50
  'type' => Controls_Manager::SELECT,
51
  'description' => __('Choose a hover effect for the image','premium-addons-for-elementor'),
52
  'options' => [
53
- 'none' => __('None', 'premium-addons-for-elementor'),
54
  'zoomin' => __('Zoom In', 'premium-addons-for-elementor'),
55
  'zoomout'=> __('Zoom Out', 'premium-addons-for-elementor'),
56
  'scale' => __('Scale', 'premium-addons-for-elementor'),
@@ -139,13 +139,66 @@ class Premium_Blog extends Widget_Base {
139
  '25%' => __('4 Columns', 'premium-addons-for-elementor'),
140
  ],
141
  'default' => '33.33%',
 
 
 
 
142
  'selectors' => [
143
  '{{WRAPPER}} .premium-blog-post-container' => 'width: {{VALUE}};'
144
  ],
145
- 'condition' => [
146
- 'premium_blog_grid' => 'yes',
 
 
 
 
 
 
 
 
 
 
 
147
  ],
148
- 'label_block' => true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
  ]
150
  );
151
 
@@ -658,7 +711,6 @@ class Premium_Blog extends Widget_Base {
658
  Group_Control_Typography::get_type(),
659
  [
660
  'name' => 'premium_blog_title_typo',
661
- 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
662
  'selector' => '{{WRAPPER}} .premium-blog-entry-title',
663
  ]
664
  );
@@ -705,7 +757,6 @@ class Premium_Blog extends Widget_Base {
705
  Group_Control_Typography::get_type(),
706
  [
707
  'name' => 'premium_blog_meta_typo',
708
- 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
709
  'selector' => '{{WRAPPER}} .premium-blog-entry-meta a,{{WRAPPER}} .premium-blog-post-content .premium-blog-excerpt-link',
710
  ]
711
  );
@@ -751,7 +802,6 @@ class Premium_Blog extends Widget_Base {
751
  Group_Control_Typography::get_type(),
752
  [
753
  'name' => 'premium_blog_content_typo',
754
- 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
755
  'selector' => '{{WRAPPER}} .premium-blog-post-content',
756
  ]
757
  );
@@ -794,7 +844,6 @@ class Premium_Blog extends Widget_Base {
794
  Group_Control_Typography::get_type(),
795
  [
796
  'name' => 'premium_blog_tags_typo',
797
- 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
798
  'selector' => '{{WRAPPER}} .premium-blog-post-tags-container a',
799
  ]
800
  );
@@ -916,7 +965,6 @@ class Premium_Blog extends Widget_Base {
916
  Group_Control_Typography::get_type(),
917
  [
918
  'name' => 'premium_blog_pagination_typo',
919
- 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
920
  'selector' => '{{WRAPPER}} .premium-blog-pagination-container li *',
921
  ]
922
  );
@@ -1118,7 +1166,7 @@ class Premium_Blog extends Widget_Base {
1118
 
1119
  }
1120
 
1121
- protected function get_post_content(){
1122
 
1123
  $settings = $this->get_settings();
1124
 
@@ -1190,10 +1238,10 @@ class Premium_Blog extends Widget_Base {
1190
  <div class="premium-blog-post-container">
1191
  <div class="premium-blog-thumb-effect-wrapper">
1192
  <div class="premium-blog-thumbnail-container <?php echo 'premium-blog-' . $image_effect . '-effect';?>">
1193
- <a href="<?php the_permalink(); ?>" target="<?php echo esc_attr($target); ?>"><?php the_post_thumbnail('full'); ?></a>
1194
  </div>
1195
  <div class="premium-blog-effect-container <?php echo 'premium-blog-'. $post_effect . '-effect'; ?>">
1196
- <a class="premium-blog-post-link" href="<?php the_permalink(); ?>" target="<?php echo esc_attr($target); ?>"></a>
1197
  <?php if( $settings['premium_blog_hover_color_effect'] === 'bordered' ) : ?>
1198
  <div class="premium-blog-bordered-border-container"></div>
1199
  <?php elseif( $settings['premium_blog_hover_color_effect'] === 'squares' ) : ?>
@@ -1205,7 +1253,7 @@ class Premium_Blog extends Widget_Base {
1205
  <div class="premium-blog-inner-container">
1206
  <?php if( $settings['premium_blog_post_format_icon'] === 'yes' ) : ?>
1207
  <div class="premium-blog-format-container">
1208
- <a class="premium-blog-format-link" href="<?php the_permalink(); ?>" title="<?php if( get_post_format() === ' ') : echo 'standard' ; else : echo get_post_format(); endif; ?>" target="<?php echo esc_attr($target); ?>"><?php $this->get_post_format_icon(); ?></a>
1209
  </div>
1210
  <?php endif; ?>
1211
  <div class="premium-blog-entry-container">
@@ -1286,7 +1334,10 @@ class Premium_Blog extends Widget_Base {
1286
 
1287
  $this->add_render_attribute('blog', 'class', [ 'premium-blog-wrap', 'premium-blog-' . $col_number ] );
1288
 
1289
- $this->add_render_attribute('blog', 'data-pa-masonry', $settings['premium_blog_masonry'] );
 
 
 
1290
 
1291
  $this->add_render_attribute('blog', 'data-carousel', $carousel );
1292
 
11
  }
12
 
13
  public function get_title() {
14
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Blog', 'premium-addons-for-elementor' );
15
  }
16
 
17
  public function is_reload_preview_required(){
50
  'type' => Controls_Manager::SELECT,
51
  'description' => __('Choose a hover effect for the image','premium-addons-for-elementor'),
52
  'options' => [
53
+ 'none' => __('None', 'premium-addons-for-elementor'),
54
  'zoomin' => __('Zoom In', 'premium-addons-for-elementor'),
55
  'zoomout'=> __('Zoom Out', 'premium-addons-for-elementor'),
56
  'scale' => __('Scale', 'premium-addons-for-elementor'),
139
  '25%' => __('4 Columns', 'premium-addons-for-elementor'),
140
  ],
141
  'default' => '33.33%',
142
+ 'condition' => [
143
+ 'premium_blog_grid' => 'yes',
144
+ ],
145
+ 'label_block' => true,
146
  'selectors' => [
147
  '{{WRAPPER}} .premium-blog-post-container' => 'width: {{VALUE}};'
148
  ],
149
+ ]
150
+ );
151
+
152
+ $this->add_responsive_control('premium_blog_thumb_min_height',
153
+ [
154
+ 'label' => __('Thumbnail Min Height', 'premium-addons-for-elementor'),
155
+ 'type' => Controls_Manager::SLIDER,
156
+ 'size_units' => ['px', '%', "em"],
157
+ 'range' => [
158
+ 'px' => [
159
+ 'min' => 1,
160
+ 'max' => 300,
161
+ ],
162
  ],
163
+ 'selectors' => [
164
+ '{{WRAPPER}} .premium-blog-thumbnail-container img' => 'min-height: {{SIZE}}{{UNIT}};'
165
+ ]
166
+ ]
167
+ );
168
+
169
+ $this->add_responsive_control('premium_blog_thumb_max_height',
170
+ [
171
+ 'label' => __('Thumbnail Max Height', 'premium-addons-for-elementor'),
172
+ 'type' => Controls_Manager::SLIDER,
173
+ 'size_units' => ['px', '%', "em"],
174
+ 'range' => [
175
+ 'px' => [
176
+ 'min' => 1,
177
+ 'max' => 300,
178
+ ],
179
+ ],
180
+ 'selectors' => [
181
+ '{{WRAPPER}} .premium-blog-thumbnail-container img' => 'max-height: {{SIZE}}{{UNIT}};'
182
+ ]
183
+ ]
184
+ );
185
+
186
+ $this->add_responsive_control('premium_blog_thumbnail_fit',
187
+ [
188
+ 'label' => __('Thumbnail Fit', 'premium-addons-for-elementor'),
189
+ 'type' => Controls_Manager::SELECT,
190
+ 'options' => [
191
+ 'cover' => __('Cover', 'premium-addons-for-elementor'),
192
+ 'fill' => __('Fill', 'premium-addons-for-elementor'),
193
+ 'contain'=> __('Contain', 'premium-addons-for-elementor'),
194
+ ],
195
+ 'default' => 'cover',
196
+ 'selectors' => [
197
+ '{{WRAPPER}} .premium-blog-thumbnail-container img' => 'object-fit: {{VALUE}}'
198
+ ],
199
+ 'condition' => [
200
+ 'premium_blog_grid' => 'yes'
201
+ ]
202
  ]
203
  );
204
 
711
  Group_Control_Typography::get_type(),
712
  [
713
  'name' => 'premium_blog_title_typo',
 
714
  'selector' => '{{WRAPPER}} .premium-blog-entry-title',
715
  ]
716
  );
757
  Group_Control_Typography::get_type(),
758
  [
759
  'name' => 'premium_blog_meta_typo',
 
760
  'selector' => '{{WRAPPER}} .premium-blog-entry-meta a,{{WRAPPER}} .premium-blog-post-content .premium-blog-excerpt-link',
761
  ]
762
  );
802
  Group_Control_Typography::get_type(),
803
  [
804
  'name' => 'premium_blog_content_typo',
 
805
  'selector' => '{{WRAPPER}} .premium-blog-post-content',
806
  ]
807
  );
844
  Group_Control_Typography::get_type(),
845
  [
846
  'name' => 'premium_blog_tags_typo',
 
847
  'selector' => '{{WRAPPER}} .premium-blog-post-tags-container a',
848
  ]
849
  );
965
  Group_Control_Typography::get_type(),
966
  [
967
  'name' => 'premium_blog_pagination_typo',
 
968
  'selector' => '{{WRAPPER}} .premium-blog-pagination-container li *',
969
  ]
970
  );
1166
 
1167
  }
1168
 
1169
+ protected function get_post_content() {
1170
 
1171
  $settings = $this->get_settings();
1172
 
1238
  <div class="premium-blog-post-container">
1239
  <div class="premium-blog-thumb-effect-wrapper">
1240
  <div class="premium-blog-thumbnail-container <?php echo 'premium-blog-' . $image_effect . '-effect';?>">
1241
+ <a href="<?php the_permalink(); ?>" target="<?php echo esc_attr( $target ); ?>"><?php the_post_thumbnail('full'); ?></a>
1242
  </div>
1243
  <div class="premium-blog-effect-container <?php echo 'premium-blog-'. $post_effect . '-effect'; ?>">
1244
+ <a class="premium-blog-post-link" href="<?php the_permalink(); ?>" target="<?php echo esc_attr( $target ); ?>"></a>
1245
  <?php if( $settings['premium_blog_hover_color_effect'] === 'bordered' ) : ?>
1246
  <div class="premium-blog-bordered-border-container"></div>
1247
  <?php elseif( $settings['premium_blog_hover_color_effect'] === 'squares' ) : ?>
1253
  <div class="premium-blog-inner-container">
1254
  <?php if( $settings['premium_blog_post_format_icon'] === 'yes' ) : ?>
1255
  <div class="premium-blog-format-container">
1256
+ <a class="premium-blog-format-link" href="<?php the_permalink(); ?>" title="<?php if( get_post_format() === ' ') : echo 'standard' ; else : echo get_post_format(); endif; ?>" target="<?php echo esc_attr( $target ); ?>"><?php $this->get_post_format_icon(); ?></a>
1257
  </div>
1258
  <?php endif; ?>
1259
  <div class="premium-blog-entry-container">
1334
 
1335
  $this->add_render_attribute('blog', 'class', [ 'premium-blog-wrap', 'premium-blog-' . $col_number ] );
1336
 
1337
+ if( $settings['premium_blog_grid'] ) {
1338
+ $this->add_render_attribute('blog', 'data-pa-masonry', $settings['premium_blog_masonry'] );
1339
+ }
1340
+
1341
 
1342
  $this->add_render_attribute('blog', 'data-carousel', $carousel );
1343
 
widgets/premium-button.php CHANGED
@@ -8,7 +8,7 @@ class Premium_Button extends Widget_Base {
8
  return 'premium-addon-button';
9
  }
10
 
11
- public function check_rtl(){
12
  return is_rtl();
13
  }
14
 
@@ -17,7 +17,7 @@ class Premium_Button extends Widget_Base {
17
  }
18
 
19
  public function get_title() {
20
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Button';
21
  }
22
 
23
  public function get_icon() {
@@ -39,7 +39,6 @@ class Premium_Button extends Widget_Base {
39
  ]
40
  );
41
 
42
- /*Button Text*/
43
  $this->add_control('premium_button_text',
44
  [
45
  'label' => __('Text', 'premium-addons-for-elementor'),
@@ -94,7 +93,6 @@ class Premium_Button extends Widget_Base {
94
  ]
95
  );
96
 
97
- /*Button Hover Effect*/
98
  $this->add_control('premium_button_hover_effect',
99
  [
100
  'label' => __('Hover Effect', 'premium-addons-for-elementor'),
@@ -188,7 +186,6 @@ class Premium_Button extends Widget_Base {
188
  ]
189
  );
190
 
191
- /*Button Icon Switcher*/
192
  $this->add_control('premium_button_icon_switcher',
193
  [
194
  'label' => __('Icon', 'premium-addons-for-elementor'),
@@ -200,7 +197,6 @@ class Premium_Button extends Widget_Base {
200
  ]
201
  );
202
 
203
- /*Button Icon Selection*/
204
  $this->add_control('premium_button_icon_selection',
205
  [
206
  'label' => __('Icon', 'premium-addons-for-elementor'),
@@ -214,7 +210,6 @@ class Premium_Button extends Widget_Base {
214
  ]
215
  );
216
 
217
- /*Style 4 Icon Selection*/
218
  $this->add_control('premium_button_style4_icon_selection',
219
  [
220
  'label' => __('Icon', 'premium-addons-for-elementor'),
@@ -271,7 +266,7 @@ class Premium_Button extends Widget_Base {
271
  ]
272
  );
273
 
274
- if(!$this->check_rtl()){
275
  $this->add_control('premium_button_icon_before_spacing',
276
  [
277
  'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
@@ -290,9 +285,7 @@ class Premium_Button extends Widget_Base {
290
  'separator' => 'after',
291
  ]
292
  );
293
- }
294
 
295
- if(!$this->check_rtl()){
296
  $this->add_control('premium_button_icon_after_spacing',
297
  [
298
  'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
@@ -313,7 +306,7 @@ class Premium_Button extends Widget_Base {
313
  );
314
  }
315
 
316
- if($this->check_rtl()){
317
  $this->add_control('premium_button_icon_rtl_before_spacing',
318
  [
319
  'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
@@ -332,9 +325,7 @@ class Premium_Button extends Widget_Base {
332
  'separator' => 'after',
333
  ]
334
  );
335
- }
336
 
337
- if($this->check_rtl()){
338
  $this->add_control('premium_button_icon_rtl_after_spacing',
339
  [
340
  'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
@@ -397,7 +388,6 @@ class Premium_Button extends Widget_Base {
397
  ]
398
  );
399
 
400
- /*Button Size*/
401
  $this->add_control('premium_button_size',
402
  [
403
  'label' => __('Size', 'premium-addons-for-elementor'),
@@ -414,7 +404,6 @@ class Premium_Button extends Widget_Base {
414
  ]
415
  );
416
 
417
- /*Button Align*/
418
  $this->add_responsive_control('premium_button_align',
419
  [
420
  'label' => __( 'Alignment', 'premium-addons-for-elementor' ),
@@ -459,10 +448,8 @@ class Premium_Button extends Widget_Base {
459
  ]
460
  );
461
 
462
- /*End Button General Section*/
463
  $this->end_controls_section();
464
 
465
- /*Start Styling Section*/
466
  $this->start_controls_section('premium_button_style_section',
467
  [
468
  'label' => __('Button', 'premium-addons-for-elementor'),
@@ -531,7 +518,6 @@ class Premium_Button extends Widget_Base {
531
  ]
532
  );
533
 
534
- /*Button Border*/
535
  $this->add_group_control(
536
  Group_Control_Border::get_type(),
537
  [
@@ -540,7 +526,6 @@ class Premium_Button extends Widget_Base {
540
  ]
541
  );
542
 
543
- /*Button Border Radius*/
544
  $this->add_control('premium_button_border_radius_normal',
545
  [
546
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
@@ -552,7 +537,6 @@ class Premium_Button extends Widget_Base {
552
  ]
553
  );
554
 
555
- /*Icon Shadow*/
556
  $this->add_group_control(
557
  Group_Control_Text_Shadow::get_type(),
558
  [
@@ -566,7 +550,6 @@ class Premium_Button extends Widget_Base {
566
  ]
567
  );
568
 
569
- /*Text Shadow*/
570
  $this->add_group_control(
571
  Group_Control_Text_Shadow::get_type(),
572
  [
@@ -576,7 +559,6 @@ class Premium_Button extends Widget_Base {
576
  ]
577
  );
578
 
579
- /*Button Shadow*/
580
  $this->add_group_control(
581
  Group_Control_Box_Shadow::get_type(),
582
  [
@@ -586,7 +568,6 @@ class Premium_Button extends Widget_Base {
586
  ]
587
  );
588
 
589
- /*Button Margin*/
590
  $this->add_responsive_control('premium_button_margin_normal',
591
  [
592
  'label' => __('Margin', 'premium-addons-for-elementor'),
@@ -597,7 +578,6 @@ class Premium_Button extends Widget_Base {
597
  ]
598
  ]);
599
 
600
- /*Button Padding*/
601
  $this->add_responsive_control('premium_button_padding_normal',
602
  [
603
  'label' => __('Padding', 'premium-addons-for-elementor'),
@@ -680,7 +660,6 @@ class Premium_Button extends Widget_Base {
680
  ]
681
  );
682
 
683
- /*Button Border*/
684
  $this->add_group_control(
685
  Group_Control_Border::get_type(),
686
  [
@@ -689,7 +668,6 @@ class Premium_Button extends Widget_Base {
689
  ]
690
  );
691
 
692
- /*Button Border Radius*/
693
  $this->add_control('premium_button_border_radius_hover',
694
  [
695
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
@@ -701,7 +679,6 @@ class Premium_Button extends Widget_Base {
701
  ]
702
  );
703
 
704
- /*Icon Shadow*/
705
  $this->add_group_control(
706
  Group_Control_Text_Shadow::get_type(),
707
  [
@@ -727,7 +704,6 @@ class Premium_Button extends Widget_Base {
727
  ]
728
  );
729
 
730
- /*Text Shadow*/
731
  $this->add_group_control(
732
  Group_Control_Text_Shadow::get_type(),
733
  [
@@ -740,7 +716,6 @@ class Premium_Button extends Widget_Base {
740
  ]
741
  );
742
 
743
- /*Button Shadow*/
744
  $this->add_group_control(
745
  Group_Control_Box_Shadow::get_type(),
746
  [
@@ -750,7 +725,6 @@ class Premium_Button extends Widget_Base {
750
  ]
751
  );
752
 
753
- /*Button Margin*/
754
  $this->add_responsive_control('premium_button_margin_hover',
755
  [
756
  'label' => __('Margin', 'premium-addons-for-elementor'),
@@ -761,7 +735,6 @@ class Premium_Button extends Widget_Base {
761
  ]
762
  ]);
763
 
764
- /*Button Padding*/
765
  $this->add_responsive_control('premium_button_padding_hover',
766
  [
767
  'label' => __('Padding', 'premium-addons-for-elementor'),
@@ -776,12 +749,11 @@ class Premium_Button extends Widget_Base {
776
 
777
  $this->end_controls_tabs();
778
 
779
- /*End Button Style Section*/
780
  $this->end_controls_section();
781
  }
782
 
783
  protected function render() {
784
- // get our input from the widget settings.
785
  $settings = $this->get_settings_for_display();
786
 
787
  $this->add_inline_editing_attributes( 'premium_button_text');
8
  return 'premium-addon-button';
9
  }
10
 
11
+ public function check_rtl() {
12
  return is_rtl();
13
  }
14
 
17
  }
18
 
19
  public function get_title() {
20
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Button', 'premium-addons-for-elementor' );
21
  }
22
 
23
  public function get_icon() {
39
  ]
40
  );
41
 
 
42
  $this->add_control('premium_button_text',
43
  [
44
  'label' => __('Text', 'premium-addons-for-elementor'),
93
  ]
94
  );
95
 
 
96
  $this->add_control('premium_button_hover_effect',
97
  [
98
  'label' => __('Hover Effect', 'premium-addons-for-elementor'),
186
  ]
187
  );
188
 
 
189
  $this->add_control('premium_button_icon_switcher',
190
  [
191
  'label' => __('Icon', 'premium-addons-for-elementor'),
197
  ]
198
  );
199
 
 
200
  $this->add_control('premium_button_icon_selection',
201
  [
202
  'label' => __('Icon', 'premium-addons-for-elementor'),
210
  ]
211
  );
212
 
 
213
  $this->add_control('premium_button_style4_icon_selection',
214
  [
215
  'label' => __('Icon', 'premium-addons-for-elementor'),
266
  ]
267
  );
268
 
269
+ if( ! $this->check_rtl() ) {
270
  $this->add_control('premium_button_icon_before_spacing',
271
  [
272
  'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
285
  'separator' => 'after',
286
  ]
287
  );
 
288
 
 
289
  $this->add_control('premium_button_icon_after_spacing',
290
  [
291
  'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
306
  );
307
  }
308
 
309
+ if( $this->check_rtl() ) {
310
  $this->add_control('premium_button_icon_rtl_before_spacing',
311
  [
312
  'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
325
  'separator' => 'after',
326
  ]
327
  );
 
328
 
 
329
  $this->add_control('premium_button_icon_rtl_after_spacing',
330
  [
331
  'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
388
  ]
389
  );
390
 
 
391
  $this->add_control('premium_button_size',
392
  [
393
  'label' => __('Size', 'premium-addons-for-elementor'),
404
  ]
405
  );
406
 
 
407
  $this->add_responsive_control('premium_button_align',
408
  [
409
  'label' => __( 'Alignment', 'premium-addons-for-elementor' ),
448
  ]
449
  );
450
 
 
451
  $this->end_controls_section();
452
 
 
453
  $this->start_controls_section('premium_button_style_section',
454
  [
455
  'label' => __('Button', 'premium-addons-for-elementor'),
518
  ]
519
  );
520
 
 
521
  $this->add_group_control(
522
  Group_Control_Border::get_type(),
523
  [
526
  ]
527
  );
528
 
 
529
  $this->add_control('premium_button_border_radius_normal',
530
  [
531
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
537
  ]
538
  );
539
 
 
540
  $this->add_group_control(
541
  Group_Control_Text_Shadow::get_type(),
542
  [
550
  ]
551
  );
552
 
 
553
  $this->add_group_control(
554
  Group_Control_Text_Shadow::get_type(),
555
  [
559
  ]
560
  );
561
 
 
562
  $this->add_group_control(
563
  Group_Control_Box_Shadow::get_type(),
564
  [
568
  ]
569
  );
570
 
 
571
  $this->add_responsive_control('premium_button_margin_normal',
572
  [
573
  'label' => __('Margin', 'premium-addons-for-elementor'),
578
  ]
579
  ]);
580
 
 
581
  $this->add_responsive_control('premium_button_padding_normal',
582
  [
583
  'label' => __('Padding', 'premium-addons-for-elementor'),
660
  ]
661
  );
662
 
 
663
  $this->add_group_control(
664
  Group_Control_Border::get_type(),
665
  [
668
  ]
669
  );
670
 
 
671
  $this->add_control('premium_button_border_radius_hover',
672
  [
673
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
679
  ]
680
  );
681
 
 
682
  $this->add_group_control(
683
  Group_Control_Text_Shadow::get_type(),
684
  [
704
  ]
705
  );
706
 
 
707
  $this->add_group_control(
708
  Group_Control_Text_Shadow::get_type(),
709
  [
716
  ]
717
  );
718
 
 
719
  $this->add_group_control(
720
  Group_Control_Box_Shadow::get_type(),
721
  [
725
  ]
726
  );
727
 
 
728
  $this->add_responsive_control('premium_button_margin_hover',
729
  [
730
  'label' => __('Margin', 'premium-addons-for-elementor'),
735
  ]
736
  ]);
737
 
 
738
  $this->add_responsive_control('premium_button_padding_hover',
739
  [
740
  'label' => __('Padding', 'premium-addons-for-elementor'),
749
 
750
  $this->end_controls_tabs();
751
 
 
752
  $this->end_controls_section();
753
  }
754
 
755
  protected function render() {
756
+
757
  $settings = $this->get_settings_for_display();
758
 
759
  $this->add_inline_editing_attributes( 'premium_button_text');
widgets/premium-carousel.php CHANGED
@@ -15,7 +15,7 @@ class Premium_Carousel extends Widget_Base {
15
  }
16
 
17
  public function get_title() {
18
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Carousel';
19
  }
20
 
21
  public function get_icon() {
@@ -461,7 +461,6 @@ class Premium_Carousel extends Widget_Base {
461
  ]
462
  );
463
 
464
- // If carousel slider is vertical type
465
  $this->add_control('premium_carousel_arrow_icon_prev_ver',
466
  [
467
  'label' => __( 'Top Icon', 'premium-addons-for-elementor' ),
@@ -760,7 +759,6 @@ class Premium_Carousel extends Widget_Base {
760
  ]
761
  );
762
 
763
- /*First Border Radius*/
764
  $this->add_control('premium_carousel_navigation_effect_border_radius',
765
  [
766
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
@@ -785,8 +783,7 @@ class Premium_Carousel extends Widget_Base {
785
  $settings = $this->get_settings();
786
 
787
  $vertical = $settings['premium_carousel_slider_type'] == 'vertical' ? true : false;
788
- // responsive carousel set up
789
-
790
  $slides_on_desk = $settings['premium_carousel_responsive_desktop'];
791
  if( $settings['premium_carousel_slides_to_show'] == 'all' ) {
792
  $slidesToScroll = ! empty( $slides_on_desk ) ? $slides_on_desk : 1;
@@ -815,7 +812,7 @@ class Premium_Carousel extends Widget_Base {
815
 
816
  $autoplay = $settings['premium_carousel_autoplay'] == 'yes' ? true : false;
817
 
818
- $autoplaySpeed = !empty( $settings['premium_carousel_autoplay_speed'] ) ? $settings['premium_carousel_autoplay_speed'] : '';
819
 
820
  $draggable = $settings['premium_carousel_draggable_effect'] == 'yes' ? true : false;
821
 
15
  }
16
 
17
  public function get_title() {
18
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Carousel', 'premium-addons-for-elementor' );
19
  }
20
 
21
  public function get_icon() {
461
  ]
462
  );
463
 
 
464
  $this->add_control('premium_carousel_arrow_icon_prev_ver',
465
  [
466
  'label' => __( 'Top Icon', 'premium-addons-for-elementor' ),
759
  ]
760
  );
761
 
 
762
  $this->add_control('premium_carousel_navigation_effect_border_radius',
763
  [
764
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
783
  $settings = $this->get_settings();
784
 
785
  $vertical = $settings['premium_carousel_slider_type'] == 'vertical' ? true : false;
786
+
 
787
  $slides_on_desk = $settings['premium_carousel_responsive_desktop'];
788
  if( $settings['premium_carousel_slides_to_show'] == 'all' ) {
789
  $slidesToScroll = ! empty( $slides_on_desk ) ? $slides_on_desk : 1;
812
 
813
  $autoplay = $settings['premium_carousel_autoplay'] == 'yes' ? true : false;
814
 
815
+ $autoplaySpeed = ! empty( $settings['premium_carousel_autoplay_speed'] ) ? $settings['premium_carousel_autoplay_speed'] : '';
816
 
817
  $draggable = $settings['premium_carousel_draggable_effect'] == 'yes' ? true : false;
818
 
widgets/premium-contactform.php CHANGED
@@ -10,7 +10,7 @@ class Premium_Contactform extends Widget_Base {
10
  }
11
 
12
  public function get_title() {
13
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Contact Form7';
14
  }
15
 
16
  public function get_icon() {
10
  }
11
 
12
  public function get_title() {
13
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Contact Form7', 'premium-addons-for-elementor' );
14
  }
15
 
16
  public function get_icon() {
widgets/premium-countdown.php CHANGED
@@ -8,7 +8,7 @@ class Premium_Countdown extends Widget_Base {
8
  }
9
 
10
  public function get_title() {
11
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Countdown';
12
  }
13
 
14
  public function get_icon() {
@@ -92,13 +92,7 @@ class Premium_Countdown extends Widget_Base {
92
  'M' => __( 'Minutes', 'premium-addons-for-elementor' ),
93
  'S' => __( 'Second', 'premium-addons-for-elementor' ),
94
  ],
95
- 'default' => [
96
- 'O',
97
- 'D',
98
- 'H',
99
- 'M',
100
- 'S'
101
- ],
102
  'multiple' => true,
103
  'separator' => 'after'
104
  ]
8
  }
9
 
10
  public function get_title() {
11
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Countdown', 'premium-addons-for-elementor' );
12
  }
13
 
14
  public function get_icon() {
92
  'M' => __( 'Minutes', 'premium-addons-for-elementor' ),
93
  'S' => __( 'Second', 'premium-addons-for-elementor' ),
94
  ],
95
+ 'default' => [ 'O', 'D', 'H', 'M', 'S' ],
 
 
 
 
 
 
96
  'multiple' => true,
97
  'separator' => 'after'
98
  ]
widgets/premium-counter.php CHANGED
@@ -10,7 +10,7 @@ class Premium_Counter extends Widget_Base {
10
  }
11
 
12
  public function get_title() {
13
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Counter';
14
  }
15
 
16
  public function get_icon() {
10
  }
11
 
12
  public function get_title() {
13
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Counter', 'premium-addons-for-elementor' );
14
  }
15
 
16
  public function get_icon() {
widgets/premium-dual-header.php CHANGED
@@ -16,7 +16,7 @@ class Premium_Dual_Header extends Widget_Base {
16
  }
17
 
18
  public function get_title() {
19
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Dual Heading';
20
  }
21
 
22
 
@@ -471,7 +471,7 @@ class Premium_Dual_Header extends Widget_Base {
471
  }
472
 
473
  protected function render() {
474
- // get our input from the widget settings.
475
  $settings = $this->get_settings_for_display();
476
 
477
  $this->add_inline_editing_attributes('premium_dual_header_first_header_text');
16
  }
17
 
18
  public function get_title() {
19
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Dual Heading', 'premium-addons-for-elementor' );
20
  }
21
 
22
 
471
  }
472
 
473
  protected function render() {
474
+
475
  $settings = $this->get_settings_for_display();
476
 
477
  $this->add_inline_editing_attributes('premium_dual_header_first_header_text');
widgets/premium-fancytext.php CHANGED
@@ -9,7 +9,7 @@ class Premium_Fancytext extends Widget_Base {
9
  }
10
 
11
  public function get_title() {
12
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Fancy Text';
13
  }
14
 
15
  public function get_icon() {
@@ -132,9 +132,9 @@ class Premium_Fancytext extends Widget_Base {
132
  'label' => __('Effect', 'premium-addons-for-elementor'),
133
  'type' => Controls_Manager::SELECT,
134
  'options' => [
135
- 'typing'=> __('Typing'),
136
- 'slide' => __('Slide Up'),
137
- ],
138
  'default' => 'typing',
139
  'label_block' => true,
140
  ]
@@ -466,7 +466,7 @@ class Premium_Fancytext extends Widget_Base {
466
  }
467
 
468
  protected function render( ) {
469
- // get our input from the widget settings.
470
  $settings = $this->get_settings_for_display();
471
  $this->add_inline_editing_attributes('premium_fancy_prefix_text');
472
  $this->add_inline_editing_attributes('premium_fancy_suffix_text');
9
  }
10
 
11
  public function get_title() {
12
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Fancy Text', 'premium-addons-for-elementor' );
13
  }
14
 
15
  public function get_icon() {
132
  'label' => __('Effect', 'premium-addons-for-elementor'),
133
  'type' => Controls_Manager::SELECT,
134
  'options' => [
135
+ 'typing'=> __('Typing', 'premium-addons-for-elementor'),
136
+ 'slide' => __('Slide Up', 'premium-addons-for-elementor')
137
+ ],
138
  'default' => 'typing',
139
  'label_block' => true,
140
  ]
466
  }
467
 
468
  protected function render( ) {
469
+
470
  $settings = $this->get_settings_for_display();
471
  $this->add_inline_editing_attributes('premium_fancy_prefix_text');
472
  $this->add_inline_editing_attributes('premium_fancy_suffix_text');
widgets/premium-grid.php CHANGED
@@ -15,7 +15,7 @@ class Premium_Grid extends Widget_Base {
15
  }
16
 
17
  public function get_title() {
18
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Grid';
19
  }
20
 
21
  public function get_icon(){
@@ -597,7 +597,6 @@ class Premium_Grid extends Widget_Base {
597
  ]
598
  );
599
 
600
- /*First Border Radius*/
601
  $this->add_control('premium_gallery_general_border_radius',
602
  [
603
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
@@ -655,7 +654,6 @@ class Premium_Grid extends Widget_Base {
655
  ]
656
  );
657
 
658
- /*First Border Radius*/
659
  $this->add_control('premium_gallery_img_border_radius',
660
  [
661
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
@@ -687,7 +685,6 @@ class Premium_Grid extends Widget_Base {
687
  ]
688
  );
689
 
690
- /*First Margin*/
691
  $this->add_responsive_control('premium_gallery_img_margin',
692
  [
693
  'label' => __('Margin', 'premium-addons-for-elementor'),
@@ -699,7 +696,6 @@ class Premium_Grid extends Widget_Base {
699
  ]
700
  );
701
 
702
- /*First Padding*/
703
  $this->add_responsive_control('premium_gallery_img_padding',
704
  [
705
  'label' => __('Padding', 'premium-addons-for-elementor'),
@@ -740,7 +736,6 @@ class Premium_Grid extends Widget_Base {
740
  ]
741
  );
742
 
743
- /*Fancy Text Typography*/
744
  $this->add_group_control(
745
  Group_Control_Typography::get_type(),
746
  [
@@ -799,7 +794,6 @@ class Premium_Grid extends Widget_Base {
799
  ]
800
  );
801
 
802
- /*First Border Radius*/
803
  $this->add_control('premium_gallery_content_border_radius',
804
  [
805
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
@@ -811,7 +805,6 @@ class Premium_Grid extends Widget_Base {
811
  ]
812
  );
813
 
814
- /*First Text Shadow*/
815
  $this->add_group_control(
816
  Group_Control_Text_Shadow::get_type(),
817
  [
@@ -829,7 +822,6 @@ class Premium_Grid extends Widget_Base {
829
  ]
830
  );
831
 
832
- /*First Margin*/
833
  $this->add_responsive_control('premium_gallery_content_margin',
834
  [
835
  'label' => __('Margin', 'premium-addons-for-elementor'),
@@ -841,7 +833,6 @@ class Premium_Grid extends Widget_Base {
841
  ]
842
  );
843
 
844
- /*First Padding*/
845
  $this->add_responsive_control('premium_gallery_content_padding',
846
  [
847
  'label' => __('Padding', 'premium-addons-for-elementor'),
@@ -918,7 +909,6 @@ class Premium_Grid extends Widget_Base {
918
  ]
919
  );
920
 
921
- /*Icon Border*/
922
  $this->add_group_control(
923
  Group_Control_Border::get_type(),
924
  [
@@ -927,7 +917,6 @@ class Premium_Grid extends Widget_Base {
927
  ]
928
  );
929
 
930
- /*Button Border Radius*/
931
  $this->add_control('premium_gallery_icons_style_border_radius',
932
  [
933
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
@@ -939,7 +928,6 @@ class Premium_Grid extends Widget_Base {
939
  ]
940
  );
941
 
942
- /*Button Shadow*/
943
  $this->add_group_control(
944
  Group_Control_Box_Shadow::get_type(),
945
  [
@@ -949,7 +937,6 @@ class Premium_Grid extends Widget_Base {
949
  ]
950
  );
951
 
952
- /*Button Margin*/
953
  $this->add_responsive_control('premium_gallery_icons_style_margin',
954
  [
955
  'label' => __('Margin', 'premium-addons-for-elementor'),
@@ -960,7 +947,6 @@ class Premium_Grid extends Widget_Base {
960
  ]
961
  ]);
962
 
963
- /*Button Padding*/
964
  $this->add_responsive_control('premium_gallery_icons_style_padding',
965
  [
966
  'label' => __('Padding', 'premium-addons-for-elementor'),
@@ -1017,7 +1003,6 @@ class Premium_Grid extends Widget_Base {
1017
  ]
1018
  );
1019
 
1020
- /*Button Border*/
1021
  $this->add_group_control(
1022
  Group_Control_Border::get_type(),
1023
  [
@@ -1026,7 +1011,6 @@ class Premium_Grid extends Widget_Base {
1026
  ]
1027
  );
1028
 
1029
- /*Button Border Radius*/
1030
  $this->add_control('premium_gallery_icons_style_border_radius_hover',
1031
  [
1032
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
@@ -1038,7 +1022,6 @@ class Premium_Grid extends Widget_Base {
1038
  ]
1039
  );
1040
 
1041
- /*Button Shadow*/
1042
  $this->add_group_control(
1043
  Group_Control_Box_Shadow::get_type(),
1044
  [
@@ -1048,7 +1031,6 @@ class Premium_Grid extends Widget_Base {
1048
  ]
1049
  );
1050
 
1051
- /*Button Margin*/
1052
  $this->add_responsive_control('premium_gallery_icons_style_margin_hover',
1053
  [
1054
  'label' => __('Margin', 'premium-addons-for-elementor'),
@@ -1059,7 +1041,6 @@ class Premium_Grid extends Widget_Base {
1059
  ]
1060
  ]);
1061
 
1062
- /*Button Padding*/
1063
  $this->add_responsive_control('premium_gallery_icons_style_padding_hover',
1064
  [
1065
  'label' => __('Padding', 'premium-addons-for-elementor'),
@@ -1431,15 +1412,19 @@ class Premium_Grid extends Widget_Base {
1431
  }
1432
 
1433
  public function filter_cats( $string ) {
 
1434
  $cat_filtered = strtolower( $string );
 
1435
  if( strpos( $cat_filtered, 'class' ) || strpos( $cat_filtered, 'src' ) ) {
1436
  $cat_filtered = substr( $cat_filtered, strpos( $cat_filtered, '"' ) + 1 );
1437
  $cat_filtered = strtok($cat_filtered, '"');
1438
  $cat_filtered = preg_replace('/[http:.]/','',$cat_filtered);
1439
  $cat_filtered = str_replace('/','',$cat_filtered);
1440
  }
 
1441
  $cat_filtered = preg_replace("/[\s_]/", "-", $cat_filtered);
1442
  $cat_filtered = str_replace(',', ' ', $cat_filtered);
 
1443
  return $cat_filtered;
1444
  }
1445
 
15
  }
16
 
17
  public function get_title() {
18
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Grid', 'premium-addons-for-elementor' );
19
  }
20
 
21
  public function get_icon(){
597
  ]
598
  );
599
 
 
600
  $this->add_control('premium_gallery_general_border_radius',
601
  [
602
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
654
  ]
655
  );
656
 
 
657
  $this->add_control('premium_gallery_img_border_radius',
658
  [
659
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
685
  ]
686
  );
687
 
 
688
  $this->add_responsive_control('premium_gallery_img_margin',
689
  [
690
  'label' => __('Margin', 'premium-addons-for-elementor'),
696
  ]
697
  );
698
 
 
699
  $this->add_responsive_control('premium_gallery_img_padding',
700
  [
701
  'label' => __('Padding', 'premium-addons-for-elementor'),
736
  ]
737
  );
738
 
 
739
  $this->add_group_control(
740
  Group_Control_Typography::get_type(),
741
  [
794
  ]
795
  );
796
 
 
797
  $this->add_control('premium_gallery_content_border_radius',
798
  [
799
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
805
  ]
806
  );
807
 
 
808
  $this->add_group_control(
809
  Group_Control_Text_Shadow::get_type(),
810
  [
822
  ]
823
  );
824
 
 
825
  $this->add_responsive_control('premium_gallery_content_margin',
826
  [
827
  'label' => __('Margin', 'premium-addons-for-elementor'),
833
  ]
834
  );
835
 
 
836
  $this->add_responsive_control('premium_gallery_content_padding',
837
  [
838
  'label' => __('Padding', 'premium-addons-for-elementor'),
909
  ]
910
  );
911
 
 
912
  $this->add_group_control(
913
  Group_Control_Border::get_type(),
914
  [
917
  ]
918
  );
919
 
 
920
  $this->add_control('premium_gallery_icons_style_border_radius',
921
  [
922
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
928
  ]
929
  );
930
 
 
931
  $this->add_group_control(
932
  Group_Control_Box_Shadow::get_type(),
933
  [
937
  ]
938
  );
939
 
 
940
  $this->add_responsive_control('premium_gallery_icons_style_margin',
941
  [
942
  'label' => __('Margin', 'premium-addons-for-elementor'),
947
  ]
948
  ]);
949
 
 
950
  $this->add_responsive_control('premium_gallery_icons_style_padding',
951
  [
952
  'label' => __('Padding', 'premium-addons-for-elementor'),
1003
  ]
1004
  );
1005
 
 
1006
  $this->add_group_control(
1007
  Group_Control_Border::get_type(),
1008
  [
1011
  ]
1012
  );
1013
 
 
1014
  $this->add_control('premium_gallery_icons_style_border_radius_hover',
1015
  [
1016
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
1022
  ]
1023
  );
1024
 
 
1025
  $this->add_group_control(
1026
  Group_Control_Box_Shadow::get_type(),
1027
  [
1031
  ]
1032
  );
1033
 
 
1034
  $this->add_responsive_control('premium_gallery_icons_style_margin_hover',
1035
  [
1036
  'label' => __('Margin', 'premium-addons-for-elementor'),
1041
  ]
1042
  ]);
1043
 
 
1044
  $this->add_responsive_control('premium_gallery_icons_style_padding_hover',
1045
  [
1046
  'label' => __('Padding', 'premium-addons-for-elementor'),
1412
  }
1413
 
1414
  public function filter_cats( $string ) {
1415
+
1416
  $cat_filtered = strtolower( $string );
1417
+
1418
  if( strpos( $cat_filtered, 'class' ) || strpos( $cat_filtered, 'src' ) ) {
1419
  $cat_filtered = substr( $cat_filtered, strpos( $cat_filtered, '"' ) + 1 );
1420
  $cat_filtered = strtok($cat_filtered, '"');
1421
  $cat_filtered = preg_replace('/[http:.]/','',$cat_filtered);
1422
  $cat_filtered = str_replace('/','',$cat_filtered);
1423
  }
1424
+
1425
  $cat_filtered = preg_replace("/[\s_]/", "-", $cat_filtered);
1426
  $cat_filtered = str_replace(',', ' ', $cat_filtered);
1427
+
1428
  return $cat_filtered;
1429
  }
1430
 
widgets/premium-image-button.php CHANGED
@@ -9,7 +9,7 @@ class Premium_Image_Button extends Widget_Base {
9
  }
10
 
11
  public function get_title() {
12
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Image Button';
13
  }
14
 
15
  public function getTemplateInstance() {
@@ -28,14 +28,12 @@ class Premium_Image_Button extends Widget_Base {
28
  // This will controls the animation, colors and background, dimensions etc
29
  protected function _register_controls() {
30
 
31
- /*Start Button Content Section */
32
  $this->start_controls_section('premium_image_button_general_section',
33
  [
34
  'label' => __('Button', 'premium-addons-for-elementor'),
35
  ]
36
  );
37
 
38
- /*Button Text*/
39
  $this->add_control('premium_image_button_text',
40
  [
41
  'label' => __('Text', 'premium-addons-for-elementor'),
@@ -90,7 +88,6 @@ class Premium_Image_Button extends Widget_Base {
90
  ]
91
  );
92
 
93
- /*Button Hover Effect*/
94
  $this->add_control('premium_image_button_hover_effect',
95
  [
96
  'label' => __('Hover Effect', 'premium-addons-for-elementor'),
@@ -177,7 +174,6 @@ class Premium_Image_Button extends Widget_Base {
177
  ]
178
  );
179
 
180
- /*Button Icon Switcher*/
181
  $this->add_control('premium_image_button_icon_switcher',
182
  [
183
  'label' => __('Icon', 'premium-addons-for-elementor'),
@@ -189,7 +185,6 @@ class Premium_Image_Button extends Widget_Base {
189
  ]
190
  );
191
 
192
- /*Button Icon Selection*/
193
  $this->add_control('premium_image_button_icon_selection',
194
  [
195
  'label' => __('Icon', 'premium-addons-for-elementor'),
@@ -297,7 +292,6 @@ class Premium_Image_Button extends Widget_Base {
297
  ]
298
  );
299
 
300
- /*Button Size*/
301
  $this->add_control('premium_image_button_size',
302
  [
303
  'label' => __('Size', 'premium-addons-for-elementor'),
@@ -314,7 +308,6 @@ class Premium_Image_Button extends Widget_Base {
314
  ]
315
  );
316
 
317
- /*Button Align*/
318
  $this->add_responsive_control('premium_image_button_align',
319
  [
320
  'label' => __( 'Alignment', 'premium-addons-for-elementor' ),
@@ -359,10 +352,8 @@ class Premium_Image_Button extends Widget_Base {
359
  ]
360
  );
361
 
362
- /*End Image Button General Section*/
363
  $this->end_controls_section();
364
 
365
- /*Start Styling Section*/
366
  $this->start_controls_section('premium_image_button_style_section',
367
  [
368
  'label' => __('Button', 'premium-addons-for-elementor'),
@@ -427,7 +418,6 @@ class Premium_Image_Button extends Widget_Base {
427
  ]
428
  );
429
 
430
- /*Button Border*/
431
  $this->add_group_control(
432
  Group_Control_Border::get_type(),
433
  [
@@ -436,7 +426,6 @@ class Premium_Image_Button extends Widget_Base {
436
  ]
437
  );
438
 
439
- /*Button Border Radius*/
440
  $this->add_control('premium_image_button_border_radius_normal',
441
  [
442
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
@@ -448,7 +437,6 @@ class Premium_Image_Button extends Widget_Base {
448
  ]
449
  );
450
 
451
- /*Icon Shadow*/
452
  $this->add_group_control(
453
  Group_Control_Text_Shadow::get_type(),
454
  [
@@ -463,7 +451,6 @@ class Premium_Image_Button extends Widget_Base {
463
  ]
464
  );
465
 
466
- /*Text Shadow*/
467
  $this->add_group_control(
468
  Group_Control_Text_Shadow::get_type(),
469
  [
@@ -473,7 +460,6 @@ class Premium_Image_Button extends Widget_Base {
473
  ]
474
  );
475
 
476
- /*Button Shadow*/
477
  $this->add_group_control(
478
  Group_Control_Box_Shadow::get_type(),
479
  [
@@ -483,7 +469,6 @@ class Premium_Image_Button extends Widget_Base {
483
  ]
484
  );
485
 
486
- /*Button Margin*/
487
  $this->add_responsive_control('premium_image_button_margin_normal',
488
  [
489
  'label' => __('Margin', 'premium-addons-for-elementor'),
@@ -494,7 +479,6 @@ class Premium_Image_Button extends Widget_Base {
494
  ]
495
  ]);
496
 
497
- /*Button Padding*/
498
  $this->add_responsive_control('premium_image_button_padding_normal',
499
  [
500
  'label' => __('Padding', 'premium-addons-for-elementor'),
@@ -604,7 +588,6 @@ class Premium_Image_Button extends Widget_Base {
604
  ]
605
  );
606
 
607
- /*Overlay Color*/
608
  $this->add_control('premium_image_button_overlay_color',
609
  [
610
  'label' => __('Overlay Color', 'premium-addons-for-elementor'),
@@ -622,7 +605,6 @@ class Premium_Image_Button extends Widget_Base {
622
  ]
623
  );
624
 
625
- /*Button Border*/
626
  $this->add_group_control(
627
  Group_Control_Border::get_type(),
628
  [
@@ -631,7 +613,6 @@ class Premium_Image_Button extends Widget_Base {
631
  ]
632
  );
633
 
634
- /*Button Border Radius*/
635
  $this->add_control('premium_image_button_border_radius_hover',
636
  [
637
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
@@ -643,7 +624,6 @@ class Premium_Image_Button extends Widget_Base {
643
  ]
644
  );
645
 
646
- /*Icon Shadow*/
647
  $this->add_group_control(
648
  Group_Control_Text_Shadow::get_type(),
649
  [
@@ -669,7 +649,6 @@ class Premium_Image_Button extends Widget_Base {
669
  ]
670
  );
671
 
672
- /*Text Shadow*/
673
  $this->add_group_control(
674
  Group_Control_Text_Shadow::get_type(),
675
  [
@@ -682,7 +661,6 @@ class Premium_Image_Button extends Widget_Base {
682
  ]
683
  );
684
 
685
- /*Button Shadow*/
686
  $this->add_group_control(
687
  Group_Control_Box_Shadow::get_type(),
688
  [
@@ -692,8 +670,6 @@ class Premium_Image_Button extends Widget_Base {
692
  ]
693
  );
694
 
695
-
696
- /*Button Margin*/
697
  $this->add_responsive_control('premium_image_button_margin_hover',
698
  [
699
  'label' => __('Margin', 'premium-addons-for-elementor'),
@@ -704,7 +680,6 @@ class Premium_Image_Button extends Widget_Base {
704
  ]
705
  ]);
706
 
707
- /*Button Padding*/
708
  $this->add_responsive_control('premium_image_button_padding_hover',
709
  [
710
  'label' => __('Padding', 'premium-addons-for-elementor'),
@@ -719,12 +694,11 @@ class Premium_Image_Button extends Widget_Base {
719
 
720
  $this->end_controls_tabs();
721
 
722
- /*End Labels Settings Section*/
723
  $this->end_controls_section();
724
  }
725
 
726
  protected function render() {
727
- // get our input from the widget settings.
728
  $settings = $this->get_settings_for_display();
729
 
730
  $this->add_inline_editing_attributes( 'premium_image_button_text' );
9
  }
10
 
11
  public function get_title() {
12
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Image Button', 'premium-addons-for-elementor' );
13
  }
14
 
15
  public function getTemplateInstance() {
28
  // This will controls the animation, colors and background, dimensions etc
29
  protected function _register_controls() {
30
 
 
31
  $this->start_controls_section('premium_image_button_general_section',
32
  [
33
  'label' => __('Button', 'premium-addons-for-elementor'),
34
  ]
35
  );
36
 
 
37
  $this->add_control('premium_image_button_text',
38
  [
39
  'label' => __('Text', 'premium-addons-for-elementor'),
88
  ]
89
  );
90
 
 
91
  $this->add_control('premium_image_button_hover_effect',
92
  [
93
  'label' => __('Hover Effect', 'premium-addons-for-elementor'),
174
  ]
175
  );
176
 
 
177
  $this->add_control('premium_image_button_icon_switcher',
178
  [
179
  'label' => __('Icon', 'premium-addons-for-elementor'),
185
  ]
186
  );
187
 
 
188
  $this->add_control('premium_image_button_icon_selection',
189
  [
190
  'label' => __('Icon', 'premium-addons-for-elementor'),
292
  ]
293
  );
294
 
 
295
  $this->add_control('premium_image_button_size',
296
  [
297
  'label' => __('Size', 'premium-addons-for-elementor'),
308
  ]
309
  );
310
 
 
311
  $this->add_responsive_control('premium_image_button_align',
312
  [
313
  'label' => __( 'Alignment', 'premium-addons-for-elementor' ),
352
  ]
353
  );
354
 
 
355
  $this->end_controls_section();
356
 
 
357
  $this->start_controls_section('premium_image_button_style_section',
358
  [
359
  'label' => __('Button', 'premium-addons-for-elementor'),
418
  ]
419
  );
420
 
 
421
  $this->add_group_control(
422
  Group_Control_Border::get_type(),
423
  [
426
  ]
427
  );
428
 
 
429
  $this->add_control('premium_image_button_border_radius_normal',
430
  [
431
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
437
  ]
438
  );
439
 
 
440
  $this->add_group_control(
441
  Group_Control_Text_Shadow::get_type(),
442
  [
451
  ]
452
  );
453
 
 
454
  $this->add_group_control(
455
  Group_Control_Text_Shadow::get_type(),
456
  [
460
  ]
461
  );
462
 
 
463
  $this->add_group_control(
464
  Group_Control_Box_Shadow::get_type(),
465
  [
469
  ]
470
  );
471
 
 
472
  $this->add_responsive_control('premium_image_button_margin_normal',
473
  [
474
  'label' => __('Margin', 'premium-addons-for-elementor'),
479
  ]
480
  ]);
481
 
 
482
  $this->add_responsive_control('premium_image_button_padding_normal',
483
  [
484
  'label' => __('Padding', 'premium-addons-for-elementor'),
588
  ]
589
  );
590
 
 
591
  $this->add_control('premium_image_button_overlay_color',
592
  [
593
  'label' => __('Overlay Color', 'premium-addons-for-elementor'),
605
  ]
606
  );
607
 
 
608
  $this->add_group_control(
609
  Group_Control_Border::get_type(),
610
  [
613
  ]
614
  );
615
 
 
616
  $this->add_control('premium_image_button_border_radius_hover',
617
  [
618
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
624
  ]
625
  );
626
 
 
627
  $this->add_group_control(
628
  Group_Control_Text_Shadow::get_type(),
629
  [
649
  ]
650
  );
651
 
 
652
  $this->add_group_control(
653
  Group_Control_Text_Shadow::get_type(),
654
  [
661
  ]
662
  );
663
 
 
664
  $this->add_group_control(
665
  Group_Control_Box_Shadow::get_type(),
666
  [
670
  ]
671
  );
672
 
 
 
673
  $this->add_responsive_control('premium_image_button_margin_hover',
674
  [
675
  'label' => __('Margin', 'premium-addons-for-elementor'),
680
  ]
681
  ]);
682
 
 
683
  $this->add_responsive_control('premium_image_button_padding_hover',
684
  [
685
  'label' => __('Padding', 'premium-addons-for-elementor'),
694
 
695
  $this->end_controls_tabs();
696
 
 
697
  $this->end_controls_section();
698
  }
699
 
700
  protected function render() {
701
+
702
  $settings = $this->get_settings_for_display();
703
 
704
  $this->add_inline_editing_attributes( 'premium_image_button_text' );
widgets/premium-image-scroll.php CHANGED
@@ -21,7 +21,7 @@ class Premium_Image_Scroll extends Widget_Base {
21
  }
22
 
23
  public function get_title() {
24
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Image Scroll';
25
  }
26
 
27
  public function is_reload_preview_required() {
21
  }
22
 
23
  public function get_title() {
24
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Image Scroll', 'premium-addons-for-elementor' );
25
  }
26
 
27
  public function is_reload_preview_required() {
widgets/premium-image-separator.php CHANGED
@@ -15,7 +15,7 @@ class Premium_Image_Separator extends Widget_Base {
15
  }
16
 
17
  public function get_title() {
18
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Image Separator';
19
  }
20
 
21
  public function get_icon() {
15
  }
16
 
17
  public function get_title() {
18
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Image Separator', 'premium-addons-for-elementor' );
19
  }
20
 
21
  public function get_icon() {
widgets/premium-maps.php CHANGED
@@ -16,7 +16,7 @@ class Premium_Maps extends Widget_Base {
16
  }
17
 
18
  public function get_title() {
19
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Maps';
20
  }
21
 
22
  public function get_icon() {
16
  }
17
 
18
  public function get_title() {
19
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Maps', 'premium-addons-for-elementor' );
20
  }
21
 
22
  public function get_icon() {
widgets/premium-modalbox.php CHANGED
@@ -17,7 +17,7 @@ class Premium_Modalbox extends Widget_Base {
17
  }
18
 
19
  public function get_title() {
20
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Modal Box';
21
  }
22
 
23
  public function get_icon() {
@@ -128,7 +128,7 @@ class Premium_Modalbox extends Widget_Base {
128
  'label' => __('Title', 'premium-addons-for-elementor'),
129
  'type' => Controls_Manager::TEXT,
130
  'dynamic' => [ 'active' => true ],
131
- 'description' => __('Provide the modal box with a title', 'premium-addons-for-elementor'),
132
  'default' => 'Modal Box Title',
133
  'condition' => [
134
  'premium_modal_box_header_switcher' => 'yes'
@@ -333,9 +333,7 @@ class Premium_Modalbox extends Widget_Base {
333
  'separator' => 'after',
334
  ]
335
  );
336
- }
337
 
338
- if( ! $this->check_rtl() ) {
339
  $this->add_control('premium_modal_box_icon_after_spacing',
340
  [
341
  'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
@@ -356,7 +354,7 @@ class Premium_Modalbox extends Widget_Base {
356
  );
357
  }
358
 
359
- if( $this->check_rtl() ){
360
  $this->add_control('premium_modal_box_icon_rtl_before_spacing',
361
  [
362
  'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
@@ -375,9 +373,7 @@ class Premium_Modalbox extends Widget_Base {
375
  'separator' => 'after',
376
  ]
377
  );
378
- }
379
 
380
- if( $this->check_rtl() ){
381
  $this->add_control('premium_modal_box_icon_rtl_after_spacing',
382
  [
383
  'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
@@ -625,7 +621,7 @@ class Premium_Modalbox extends Widget_Base {
625
  'name' => 'selector_border',
626
  'selector' => '{{WRAPPER}} .premium-modal-box-button-selector,{{WRAPPER}} .premium-modal-box-text-selector, {{WRAPPER}} .premium-modal-box-img-selector',
627
  'condition' => [
628
- 'premium_modal_box_display_on' => ['button', 'text','image'],
629
  ]
630
  ]
631
  );
@@ -643,7 +639,7 @@ class Premium_Modalbox extends Widget_Base {
643
  '{{WRAPPER}} .premium-modal-box-button-selector, {{WRAPPER}} .premium-modal-box-text-selector, {{WRAPPER}} .premium-modal-box-img-selector' => 'border-radius:{{SIZE}}{{UNIT}};',
644
  ],
645
  'condition' => [
646
- 'premium_modal_box_display_on' => ['button', 'text', 'image'],
647
  ],
648
  'separator' => 'after',
649
  ]
@@ -666,7 +662,7 @@ class Premium_Modalbox extends Widget_Base {
666
  '{{WRAPPER}} .premium-modal-box-button-selector, {{WRAPPER}} .premium-modal-box-text-selector' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}',
667
  ],
668
  'condition' => [
669
- 'premium_modal_box_display_on' => ['button', 'text'],
670
  ]
671
  ]
672
  );
@@ -679,7 +675,7 @@ class Premium_Modalbox extends Widget_Base {
679
  'name' => 'premium_modal_box_selector_box_shadow',
680
  'selector' => '{{WRAPPER}} .premium-modal-box-button-selector, {{WRAPPER}} .premium-modal-box-img-selector',
681
  'condition' => [
682
- 'premium_modal_box_display_on' => ['button', 'image'],
683
  ]
684
  ]
685
  );
@@ -702,7 +698,7 @@ class Premium_Modalbox extends Widget_Base {
702
  [
703
  'label' => __('Hover', 'premium-addons-for-elementor'),
704
  'condition' => [
705
- 'premium_modal_box_display_on' => ['button','text','image'],
706
  ]
707
  ]
708
  );
@@ -729,7 +725,7 @@ class Premium_Modalbox extends Widget_Base {
729
  'selector' => '{{WRAPPER}} .premium-modal-box-button-selector:hover,
730
  {{WRAPPER}} .premium-modal-box-text-selector:hover, {{WRAPPER}} .premium-modal-box-img-selector:hover',
731
  'condition' => [
732
- 'premium_modal_box_display_on' => ['button', 'text', 'image'],
733
  ]
734
  ]
735
  );
@@ -744,7 +740,7 @@ class Premium_Modalbox extends Widget_Base {
744
  '{{WRAPPER}} .premium-modal-box-button-selector:hover,{{WRAPPER}} .premium-modal-box-text-selector:hover, {{WRAPPER}} .premium-modal-box-img-selector:hover' => 'border-radius:{{SIZE}}{{UNIT}};',
745
  ],
746
  'condition' => [
747
- 'premium_modal_box_display_on' => ['button', 'text', 'image'],
748
  ]
749
  ]
750
  );
@@ -757,7 +753,7 @@ class Premium_Modalbox extends Widget_Base {
757
  'name' => 'premium_modal_box_selector_box_shadow_hover',
758
  'selector' => '{{WRAPPER}} .premium-modal-box-button-selector:hover, {{WRAPPER}} .premium-modal-box-text-selector:hover, {{WRAPPER}} .premium-modal-box-img-selector:hover',
759
  'condition' => [
760
- 'premium_modal_box_display_on' => ['button', 'text', 'image'],
761
  ]
762
  ]
763
  );
@@ -1282,8 +1278,9 @@ class Premium_Modalbox extends Widget_Base {
1282
  }
1283
 
1284
  protected function render() {
1285
- // get our input from the widget settings.
1286
  $settings = $this->get_settings_for_display();
 
1287
  $this->add_inline_editing_attributes('premium_modal_box_selector_text');
1288
 
1289
  $button_icon = $settings['premium_modal_box_button_icon_selection'];
17
  }
18
 
19
  public function get_title() {
20
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Modal Box', 'premium-addons-for-elementor' );
21
  }
22
 
23
  public function get_icon() {
128
  'label' => __('Title', 'premium-addons-for-elementor'),
129
  'type' => Controls_Manager::TEXT,
130
  'dynamic' => [ 'active' => true ],
131
+ 'description' => __('Add a title for the modal box', 'premium-addons-for-elementor'),
132
  'default' => 'Modal Box Title',
133
  'condition' => [
134
  'premium_modal_box_header_switcher' => 'yes'
333
  'separator' => 'after',
334
  ]
335
  );
 
336
 
 
337
  $this->add_control('premium_modal_box_icon_after_spacing',
338
  [
339
  'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
354
  );
355
  }
356
 
357
+ if( $this->check_rtl() ) {
358
  $this->add_control('premium_modal_box_icon_rtl_before_spacing',
359
  [
360
  'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
373
  'separator' => 'after',
374
  ]
375
  );
 
376
 
 
377
  $this->add_control('premium_modal_box_icon_rtl_after_spacing',
378
  [
379
  'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
621
  'name' => 'selector_border',
622
  'selector' => '{{WRAPPER}} .premium-modal-box-button-selector,{{WRAPPER}} .premium-modal-box-text-selector, {{WRAPPER}} .premium-modal-box-img-selector',
623
  'condition' => [
624
+ 'premium_modal_box_display_on' => [ 'button', 'text','image' ],
625
  ]
626
  ]
627
  );
639
  '{{WRAPPER}} .premium-modal-box-button-selector, {{WRAPPER}} .premium-modal-box-text-selector, {{WRAPPER}} .premium-modal-box-img-selector' => 'border-radius:{{SIZE}}{{UNIT}};',
640
  ],
641
  'condition' => [
642
+ 'premium_modal_box_display_on' => [ 'button', 'text', 'image' ],
643
  ],
644
  'separator' => 'after',
645
  ]
662
  '{{WRAPPER}} .premium-modal-box-button-selector, {{WRAPPER}} .premium-modal-box-text-selector' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}',
663
  ],
664
  'condition' => [
665
+ 'premium_modal_box_display_on' => [ 'button', 'text' ],
666
  ]
667
  ]
668
  );
675
  'name' => 'premium_modal_box_selector_box_shadow',
676
  'selector' => '{{WRAPPER}} .premium-modal-box-button-selector, {{WRAPPER}} .premium-modal-box-img-selector',
677
  'condition' => [
678
+ 'premium_modal_box_display_on' => [ 'button', 'image' ],
679
  ]
680
  ]
681
  );
698
  [
699
  'label' => __('Hover', 'premium-addons-for-elementor'),
700
  'condition' => [
701
+ 'premium_modal_box_display_on' => [ 'button','text','image' ],
702
  ]
703
  ]
704
  );
725
  'selector' => '{{WRAPPER}} .premium-modal-box-button-selector:hover,
726
  {{WRAPPER}} .premium-modal-box-text-selector:hover, {{WRAPPER}} .premium-modal-box-img-selector:hover',
727
  'condition' => [
728
+ 'premium_modal_box_display_on' => [ 'button', 'text', 'image' ],
729
  ]
730
  ]
731
  );
740
  '{{WRAPPER}} .premium-modal-box-button-selector:hover,{{WRAPPER}} .premium-modal-box-text-selector:hover, {{WRAPPER}} .premium-modal-box-img-selector:hover' => 'border-radius:{{SIZE}}{{UNIT}};',
741
  ],
742
  'condition' => [
743
+ 'premium_modal_box_display_on' => [ 'button', 'text', 'image' ],
744
  ]
745
  ]
746
  );
753
  'name' => 'premium_modal_box_selector_box_shadow_hover',
754
  'selector' => '{{WRAPPER}} .premium-modal-box-button-selector:hover, {{WRAPPER}} .premium-modal-box-text-selector:hover, {{WRAPPER}} .premium-modal-box-img-selector:hover',
755
  'condition' => [
756
+ 'premium_modal_box_display_on' => [ 'button', 'text', 'image' ],
757
  ]
758
  ]
759
  );
1278
  }
1279
 
1280
  protected function render() {
1281
+
1282
  $settings = $this->get_settings_for_display();
1283
+
1284
  $this->add_inline_editing_attributes('premium_modal_box_selector_text');
1285
 
1286
  $button_icon = $settings['premium_modal_box_button_icon_selection'];
widgets/premium-person.php CHANGED
@@ -10,7 +10,7 @@ class Premium_Person extends Widget_Base {
10
  }
11
 
12
  public function get_title() {
13
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Person';
14
  }
15
 
16
  public function get_icon() {
10
  }
11
 
12
  public function get_title() {
13
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Person', 'premium-addons-for-elementor' );
14
  }
15
 
16
  public function get_icon() {
widgets/premium-pricing-table.php CHANGED
@@ -15,7 +15,7 @@ class Premium_Pricing_Table extends Widget_Base {
15
  }
16
 
17
  public function get_title() {
18
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Pricing Table';
19
  }
20
 
21
  public function get_icon() {
@@ -30,7 +30,7 @@ class Premium_Pricing_Table extends Widget_Base {
30
  // Adding the controls fields for the premium pricing table
31
  // This will controls the animation, colors and background, dimensions etc
32
  protected function _register_controls() {
33
- /*Title Content Section*/
34
  $this->start_controls_section('premium_pricing_table_icon_section',
35
  [
36
  'label' => __('Icon', 'premium-addons-for-elementor'),
@@ -73,22 +73,22 @@ class Premium_Pricing_Table extends Widget_Base {
73
 
74
  /*Header Tag*/
75
  $this->add_control('premium_pricing_table_title_size',
76
- [
77
- 'label' => __('HTML Tag', 'premium-addons-for-elementor'),
78
- 'description' => __( 'Select HTML tag for the title', 'premium-addons-for-elementor' ),
79
- 'type' => Controls_Manager::SELECT,
80
- 'default' => 'h3',
81
- 'options' => [
82
- 'h1' => 'H1',
83
- 'h2' => 'H2',
84
- 'h3' => 'H3',
85
- 'h4' => 'H4',
86
- 'h5' => 'H5',
87
- 'h6' => 'H6',
88
- ],
89
- 'label_block' => true,
90
- ]
91
- );
92
 
93
  $this->end_controls_section();
94
 
@@ -1826,11 +1826,15 @@ class Premium_Pricing_Table extends Widget_Base {
1826
  }
1827
 
1828
  protected function render() {
1829
- // get our input from the widget settings.
1830
  $settings = $this->get_settings_for_display();
1831
- $this->add_inline_editing_attributes('premium_pricing_table_title_text');
1832
- $this->add_inline_editing_attributes('premium_pricing_table_description_text', 'advanced');
1833
- $this->add_inline_editing_attributes('premium_pricing_table_button_text');
 
 
 
 
1834
  $title_tag = $settings['premium_pricing_table_title_size'];
1835
  $link_type = $settings['premium_pricing_table_button_url_type'];
1836
  $badge_position = 'premium-badge-' . $settings['premium_pricing_table_badge_position'];
@@ -1851,7 +1855,7 @@ class Premium_Pricing_Table extends Widget_Base {
1851
  <div class="premium-pricing-icon-container"><i class="<?php echo esc_attr( $settings['premium_pricing_table_icon_selection'] ); ?>"></i></div>
1852
  <?php endif; ?>
1853
  <?php if($settings['premium_pricing_table_title_switcher'] == 'yes') : ?>
1854
- <<?php echo $title_tag;?> class="premium-pricing-table-title"><span <?php echo $this->get_render_attribute_string('premium_pricing_table_title_text'); ?>><?php echo $settings['premium_pricing_table_title_text'];?></span></<?php echo $title_tag;?>><?php endif; ?>
1855
  <?php if($settings['premium_pricing_table_price_switcher'] == 'yes') : ?>
1856
  <div class="premium-pricing-price-container">
1857
  <strike class="premium-pricing-slashed-price-value">
@@ -1881,7 +1885,7 @@ class Premium_Pricing_Table extends Widget_Base {
1881
  <?php endif; ?>
1882
  <?php if($settings['premium_pricing_table_description_switcher'] == 'yes') : ?>
1883
  <div class="premium-pricing-description-container">
1884
- <div <?php echo $this->get_render_attribute_string('premium_pricing_table_description_text'); ?>>
1885
  <?php echo $settings['premium_pricing_table_description_text']; ?>
1886
  </div>
1887
  </div>
@@ -1889,7 +1893,7 @@ class Premium_Pricing_Table extends Widget_Base {
1889
  <?php if($settings['premium_pricing_table_button_switcher'] == 'yes') : ?>
1890
  <div class="premium-pricing-button-container">
1891
  <a class="premium-pricing-price-button" target="_<?php echo esc_attr( $settings['premium_pricing_table_button_link_target'] ); ?>" href="<?php echo esc_url( $link_url ); ?>">
1892
- <span <?php echo $this->get_render_attribute_string('premium_pricing_table_button_text'); ?>><?php echo $settings['premium_pricing_table_button_text']; ?></span>
1893
  </a>
1894
  </div>
1895
  <?php endif; ?>
@@ -1902,11 +1906,11 @@ class Premium_Pricing_Table extends Widget_Base {
1902
  ?>
1903
  <#
1904
 
1905
- view.addInlineEditingAttributes('premium_pricing_table_title_text');
1906
 
1907
- view.addInlineEditingAttributes('premium_pricing_table_description_text', 'advanced');
1908
 
1909
- view.addInlineEditingAttributes('premium_pricing_table_button_text');
1910
 
1911
  var titleTag = settings.premium_pricing_table_title_size,
1912
  linkType = settings.premium_pricing_table_button_url_type,
@@ -1925,7 +1929,7 @@ class Premium_Pricing_Table extends Widget_Base {
1925
  <div class="premium-pricing-icon-container"><i class="{{ settings.premium_pricing_table_icon_selection }}"></i></div>
1926
  <# } #>
1927
  <# if('yes' === settings.premium_pricing_table_title_switcher ) { #>
1928
- <{{{titleTag}}} class="premium-pricing-table-title"><span {{{ view.getRenderAttributeString('premium_pricing_table_title_text') }}}>{{{ settings.premium_pricing_table_title_text }}}</span></{{{titleTag}}}>
1929
  <# } #>
1930
 
1931
  <# if('yes' === settings.premium_pricing_table_price_switcher ) { #>
@@ -1951,7 +1955,7 @@ class Premium_Pricing_Table extends Widget_Base {
1951
  <# } #>
1952
  <# if('yes' === settings.premium_pricing_table_description_switcher ) { #>
1953
  <div class="premium-pricing-description-container">
1954
- <div {{{ view.getRenderAttributeString('premium_pricing_table_description_text') }}}>
1955
  {{{ settings.premium_pricing_table_description_text }}}
1956
  </div>
1957
  </div>
@@ -1959,7 +1963,7 @@ class Premium_Pricing_Table extends Widget_Base {
1959
  <# if('yes' === settings.premium_pricing_table_button_switcher ) { #>
1960
  <div class="premium-pricing-button-container">
1961
  <a class="premium-pricing-price-button" target="_{{ settings.premium_pricing_table_button_link_target }}" href="{{ linkURL }}">
1962
- <span {{{ view.getRenderAttributeString('premium_pricing_table_button_text') }}}>{{{ settings.premium_pricing_table_button_text }}}</span>
1963
  </a>
1964
  </div>
1965
  <# } #>
15
  }
16
 
17
  public function get_title() {
18
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Pricing Table', 'premium-addons-for-elementor' );
19
  }
20
 
21
  public function get_icon() {
30
  // Adding the controls fields for the premium pricing table
31
  // This will controls the animation, colors and background, dimensions etc
32
  protected function _register_controls() {
33
+
34
  $this->start_controls_section('premium_pricing_table_icon_section',
35
  [
36
  'label' => __('Icon', 'premium-addons-for-elementor'),
73
 
74
  /*Header Tag*/
75
  $this->add_control('premium_pricing_table_title_size',
76
+ [
77
+ 'label' => __('HTML Tag', 'premium-addons-for-elementor'),
78
+ 'description' => __( 'Select HTML tag for the title', 'premium-addons-for-elementor' ),
79
+ 'type' => Controls_Manager::SELECT,
80
+ 'default' => 'h3',
81
+ 'options' => [
82
+ 'h1' => 'H1',
83
+ 'h2' => 'H2',
84
+ 'h3' => 'H3',
85
+ 'h4' => 'H4',
86
+ 'h5' => 'H5',
87
+ 'h6' => 'H6',
88
+ ],
89
+ 'label_block' => true,
90
+ ]
91
+ );
92
 
93
  $this->end_controls_section();
94
 
1826
  }
1827
 
1828
  protected function render() {
1829
+
1830
  $settings = $this->get_settings_for_display();
1831
+
1832
+ $this->add_inline_editing_attributes('title_text');
1833
+
1834
+ $this->add_inline_editing_attributes('description_text', 'advanced');
1835
+
1836
+ $this->add_inline_editing_attributes('button_text');
1837
+
1838
  $title_tag = $settings['premium_pricing_table_title_size'];
1839
  $link_type = $settings['premium_pricing_table_button_url_type'];
1840
  $badge_position = 'premium-badge-' . $settings['premium_pricing_table_badge_position'];
1855
  <div class="premium-pricing-icon-container"><i class="<?php echo esc_attr( $settings['premium_pricing_table_icon_selection'] ); ?>"></i></div>
1856
  <?php endif; ?>
1857
  <?php if($settings['premium_pricing_table_title_switcher'] == 'yes') : ?>
1858
+ <<?php echo $title_tag;?> class="premium-pricing-table-title"><span <?php echo $this->get_render_attribute_string('title_text'); ?>><?php echo $settings['premium_pricing_table_title_text'];?></span></<?php echo $title_tag;?>><?php endif; ?>
1859
  <?php if($settings['premium_pricing_table_price_switcher'] == 'yes') : ?>
1860
  <div class="premium-pricing-price-container">
1861
  <strike class="premium-pricing-slashed-price-value">
1885
  <?php endif; ?>
1886
  <?php if($settings['premium_pricing_table_description_switcher'] == 'yes') : ?>
1887
  <div class="premium-pricing-description-container">
1888
+ <div <?php echo $this->get_render_attribute_string('description_text'); ?>>
1889
  <?php echo $settings['premium_pricing_table_description_text']; ?>
1890
  </div>
1891
  </div>
1893
  <?php if($settings['premium_pricing_table_button_switcher'] == 'yes') : ?>
1894
  <div class="premium-pricing-button-container">
1895
  <a class="premium-pricing-price-button" target="_<?php echo esc_attr( $settings['premium_pricing_table_button_link_target'] ); ?>" href="<?php echo esc_url( $link_url ); ?>">
1896
+ <span <?php echo $this->get_render_attribute_string('button_text'); ?>><?php echo $settings['premium_pricing_table_button_text']; ?></span>
1897
  </a>
1898
  </div>
1899
  <?php endif; ?>
1906
  ?>
1907
  <#
1908
 
1909
+ view.addInlineEditingAttributes('title_text');
1910
 
1911
+ view.addInlineEditingAttributes('description_text', 'advanced');
1912
 
1913
+ view.addInlineEditingAttributes('button_text');
1914
 
1915
  var titleTag = settings.premium_pricing_table_title_size,
1916
  linkType = settings.premium_pricing_table_button_url_type,
1929
  <div class="premium-pricing-icon-container"><i class="{{ settings.premium_pricing_table_icon_selection }}"></i></div>
1930
  <# } #>
1931
  <# if('yes' === settings.premium_pricing_table_title_switcher ) { #>
1932
+ <{{{titleTag}}} class="premium-pricing-table-title"><span {{{ view.getRenderAttributeString('title_text') }}}>{{{ settings.premium_pricing_table_title_text }}}</span></{{{titleTag}}}>
1933
  <# } #>
1934
 
1935
  <# if('yes' === settings.premium_pricing_table_price_switcher ) { #>
1955
  <# } #>
1956
  <# if('yes' === settings.premium_pricing_table_description_switcher ) { #>
1957
  <div class="premium-pricing-description-container">
1958
+ <div {{{ view.getRenderAttributeString('description_text') }}}>
1959
  {{{ settings.premium_pricing_table_description_text }}}
1960
  </div>
1961
  </div>
1963
  <# if('yes' === settings.premium_pricing_table_button_switcher ) { #>
1964
  <div class="premium-pricing-button-container">
1965
  <a class="premium-pricing-price-button" target="_{{ settings.premium_pricing_table_button_link_target }}" href="{{ linkURL }}">
1966
+ <span {{{ view.getRenderAttributeString('button_text') }}}>{{{ settings.premium_pricing_table_button_text }}}</span>
1967
  </a>
1968
  </div>
1969
  <# } #>
widgets/premium-progressbar.php CHANGED
@@ -11,7 +11,7 @@ class Premium_Progressbar extends Widget_Base {
11
  }
12
 
13
  public function get_title() {
14
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Progress Bar';
15
  }
16
 
17
  public function get_icon() {
@@ -191,7 +191,7 @@ class Premium_Progressbar extends Widget_Base {
191
  'default' => 'solid',
192
  'options' => [
193
  'solid' => __('Solid', 'premium-addons-for-elementor'),
194
- 'stripped' => __('Stripped', 'premium-addons-for-elementor'),
195
  ],
196
  ]
197
  );
11
  }
12
 
13
  public function get_title() {
14
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Progress Bar', 'premium-addons-for-elementor' );
15
  }
16
 
17
  public function get_icon() {
191
  'default' => 'solid',
192
  'options' => [
193
  'solid' => __('Solid', 'premium-addons-for-elementor'),
194
+ 'stripped' => __('Striped', 'premium-addons-for-elementor'),
195
  ],
196
  ]
197
  );
widgets/premium-testimonials.php CHANGED
@@ -10,7 +10,7 @@ class Premium_Testimonials extends Widget_Base {
10
  }
11
 
12
  public function get_title() {
13
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Testimonial';
14
  }
15
 
16
  public function get_icon() {
10
  }
11
 
12
  public function get_title() {
13
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Testimonial', 'premium-addons-for-elementor' );
14
  }
15
 
16
  public function get_icon() {
widgets/premium-title.php CHANGED
@@ -11,7 +11,7 @@ class Premium_Title extends Widget_Base {
11
  }
12
 
13
  public function get_title() {
14
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Title';
15
  }
16
 
17
  public function get_icon() {
@@ -129,10 +129,10 @@ class Premium_Title extends Widget_Base {
129
 
130
 
131
  /*Style 8*/
132
- /*Strip Width*/
133
  $this->add_control('premium_title_style7_strip_width',
134
  [
135
- 'label' => __('Strip Width (PX)', 'premium-addons-for-elementor'),
136
  'type' => Controls_Manager::SLIDER,
137
  'size_units' => ['px', '%', 'em'],
138
  'default' => [
@@ -149,10 +149,10 @@ class Premium_Title extends Widget_Base {
149
  ]
150
  );
151
 
152
- /*Strip Height*/
153
  $this->add_control('premium_title_style7_strip_height',
154
  [
155
- 'label' => __('Strip Height (PX)', 'premium-addons-for-elementor'),
156
  'type' => Controls_Manager::SLIDER,
157
  'size_units' => ['px', 'em'],
158
  'default' => [
@@ -169,10 +169,10 @@ class Premium_Title extends Widget_Base {
169
  ]
170
  );
171
 
172
- /*Strip Top Spacing*/
173
  $this->add_control('premium_title_style7_strip_top_spacing',
174
  [
175
- 'label' => __('Strip Top Spacing (PX)', 'premium-addons-for-elementor'),
176
  'type' => Controls_Manager::SLIDER,
177
  'size_units' => ['px', '%', 'em'],
178
  'selectors' => [
@@ -185,10 +185,10 @@ class Premium_Title extends Widget_Base {
185
  ]
186
  );
187
 
188
- /*Strip Bottom Spacing*/
189
  $this->add_control('premium_title_style7_strip_bottom_spacing',
190
  [
191
- 'label' => __('Strip Bottom Spacing (PX)', 'premium-addons-for-elementor'),
192
  'type' => Controls_Manager::SLIDER,
193
  'size_units' => ['px', '%', 'em'],
194
  'label_block' => true,
@@ -390,10 +390,10 @@ class Premium_Title extends Widget_Base {
390
  ]
391
  );
392
 
393
- /*Strip Color*/
394
  $this->add_control('premium_title_style7_strip_color',
395
  [
396
- 'label' => __('Strip Color', 'premium-addons-for-elementor'),
397
  'type' => Controls_Manager::COLOR,
398
  'scheme' => [
399
  'type' => Scheme_Color::get_type(),
11
  }
12
 
13
  public function get_title() {
14
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Title', 'premium-addons-for-elementor' );
15
  }
16
 
17
  public function get_icon() {
129
 
130
 
131
  /*Style 8*/
132
+ /*Stripe Width*/
133
  $this->add_control('premium_title_style7_strip_width',
134
  [
135
+ 'label' => __('Stripe Width (PX)', 'premium-addons-for-elementor'),
136
  'type' => Controls_Manager::SLIDER,
137
  'size_units' => ['px', '%', 'em'],
138
  'default' => [
149
  ]
150
  );
151
 
152
+ /*Stripe Height*/
153
  $this->add_control('premium_title_style7_strip_height',
154
  [
155
+ 'label' => __('Stripe Height (PX)', 'premium-addons-for-elementor'),
156
  'type' => Controls_Manager::SLIDER,
157
  'size_units' => ['px', 'em'],
158
  'default' => [
169
  ]
170
  );
171
 
172
+ /*Stripe Top Spacing*/
173
  $this->add_control('premium_title_style7_strip_top_spacing',
174
  [
175
+ 'label' => __('Stripe Top Spacing (PX)', 'premium-addons-for-elementor'),
176
  'type' => Controls_Manager::SLIDER,
177
  'size_units' => ['px', '%', 'em'],
178
  'selectors' => [
185
  ]
186
  );
187
 
188
+ /*Stripe Bottom Spacing*/
189
  $this->add_control('premium_title_style7_strip_bottom_spacing',
190
  [
191
+ 'label' => __('Stripe Bottom Spacing (PX)', 'premium-addons-for-elementor'),
192
  'type' => Controls_Manager::SLIDER,
193
  'size_units' => ['px', '%', 'em'],
194
  'label_block' => true,
390
  ]
391
  );
392
 
393
+ /*Stripe Color*/
394
  $this->add_control('premium_title_style7_strip_color',
395
  [
396
+ 'label' => __('Stripe Color', 'premium-addons-for-elementor'),
397
  'type' => Controls_Manager::COLOR,
398
  'scheme' => [
399
  'type' => Scheme_Color::get_type(),
widgets/premium-videobox.php CHANGED
@@ -12,7 +12,7 @@ class Premium_Videobox extends Widget_Base {
12
  }
13
 
14
  public function get_title() {
15
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Video Box';
16
  }
17
 
18
  public function get_icon() {
12
  }
13
 
14
  public function get_title() {
15
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Video Box', 'premium-addons-for-elementor' );
16
  }
17
 
18
  public function get_icon() {
widgets/premium-vscroll.php CHANGED
@@ -15,7 +15,7 @@ class Premium_Vscroll extends Widget_Base {
15
  }
16
 
17
  public function get_title() {
18
- return \PremiumAddons\Helper_Functions::get_prefix() . ' Vertical Scroll';
19
  }
20
 
21
  public function get_icon() {
@@ -278,6 +278,17 @@ class Premium_Vscroll extends Widget_Base {
278
  ]
279
  );
280
 
 
 
 
 
 
 
 
 
 
 
 
281
  $this->end_controls_section();
282
 
283
  $this->start_controls_section('navigation_style',
@@ -736,7 +747,8 @@ class Premium_Vscroll extends Widget_Base {
736
  'dotsText' => $dots_text,
737
  'dotsPos' => $settings['navigation_dots_pos'],
738
  'dotsVPos' => $settings['navigation_dots_v_pos'],
739
- 'fullSection'=> 'yes' == $settings['full_section'] ? true : false
 
740
  ];
741
 
742
  $templates = 'templates' === $settings['content_type'] ? $settings['section_repeater'] : $settings['id_repeater'];
15
  }
16
 
17
  public function get_title() {
18
+ return __( \PremiumAddons\Helper_Functions::get_prefix() . ' Vertical Scroll', 'premium-addons-for-elementor' );
19
  }
20
 
21
  public function get_icon() {
278
  ]
279
  );
280
 
281
+ $this->add_control('full_section_touch',
282
+ [
283
+ 'label' => __('Full Section Scroll on Touch', 'premium-addons-for-elementor'),
284
+ 'type' => Controls_Manager::SWITCHER,
285
+ 'default' => 'yes',
286
+ 'condition' => [
287
+ 'full_section' => 'yes'
288
+ ]
289
+ ]
290
+ );
291
+
292
  $this->end_controls_section();
293
 
294
  $this->start_controls_section('navigation_style',
747
  'dotsText' => $dots_text,
748
  'dotsPos' => $settings['navigation_dots_pos'],
749
  'dotsVPos' => $settings['navigation_dots_v_pos'],
750
+ 'fullSection'=> 'yes' == $settings['full_section'] ? true : false,
751
+ 'fullTouch'=> 'yes' == $settings['full_section_touch'] ? true : false
752
  ];
753
 
754
  $templates = 'templates' === $settings['content_type'] ? $settings['section_repeater'] : $settings['id_repeater'];