Premium Addons for Elementor - Version 3.4.6

Version Description

  • Tweak: Removed unusable Edit Post Icon option in Blog widget
Download this release

Release Info

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

Code changes from version 3.4.5 to 3.4.6

admin/assets/css/notice.css CHANGED
@@ -43,11 +43,13 @@
43
.error.pa-black-notice .pa-text-wrap a:first-of-type {
44
background: transparent;
45
text-transform: none;
46
-
47
}
48
- .error.pa-black-notice .pa-text-wrap a {
49
margin: 0;
50
- padding: 0;
51
}
52
.pa-notice-close {
53
flex-basis: 56%;
43
.error.pa-black-notice .pa-text-wrap a:first-of-type {
44
background: transparent;
45
text-transform: none;
46
}
47
+ .error .pa-text-wrap a {
48
margin: 0;
49
+ /* padding: 0;*/
50
+ }
51
+ .error .pa-text-wrap a:focus {
52
+ box-shadow: none;
53
}
54
.pa-notice-close {
55
flex-basis: 56%;
admin/includes/admin-notices.php CHANGED
@@ -34,7 +34,8 @@ class Admin_Notices {
34
*/
35
public function init() {
36
$this->handle_review_notice();
37
- //$this->handle_pbg_notice();
38
}
39
40
/**
@@ -52,6 +53,8 @@ class Admin_Notices {
52
$this->get_review_notice();
53
}
54
//$this->get_pbg_notice();
55
}
56
57
/**
@@ -102,6 +105,29 @@ class Admin_Notices {
102
exit;
103
}
104
105
/**
106
* Required plugin check
107
*
@@ -242,6 +268,38 @@ class Admin_Notices {
242
243
}
244
245
/**
246
* Get Installed Theme
247
*
34
*/
35
public function init() {
36
$this->handle_review_notice();
37
+
38
+ $this->handle_image_accordion_notice();
39
}
40
41
/**
53
$this->get_review_notice();
54
}
55
//$this->get_pbg_notice();
56
+
57
+ $this->get_image_accordion_notice();
58
}
59
60
/**
105
exit;
106
}
107
108
+ /**
109
+ * Checks if image accordion message is dismissed.
110
+ *
111
+ * @since 3.4.6
112
+ * @access public
113
+ *
114
+ * @return void
115
+ */
116
+ public function handle_image_accordion_notice() {
117
+ if ( ! isset( $_GET['image_accordion'] ) ) {
118
+ return;
119
+ }
120
+
121
+ if ( 'opt_out' === $_GET['image_accordion'] ) {
122
+ check_admin_referer( 'opt_out' );
123
+
124
+ update_option( 'image_accordion_notice', '1' );
125
+ }
126
+
127
+ wp_redirect( remove_query_arg( 'image_accordion' ) );
128
+ exit;
129
+ }
130
+
131
/**
132
* Required plugin check
133
*
268
269
}
270
271
+ /**
272
+ *
273
+ * Shows an admin notice for Image Scroll.
274
+ *
275
+ * @since 3.4.6
276
+ * @access public
277
+ *
278
+ * @return void
279
+ */
280
+ public function get_image_accordion_notice() {
281
+
282
+ $accordion_notice = get_option( 'image_accordion_notice' );
283
+
284
+ $theme = self::get_installed_theme();
285
+
286
+ $notice_url = sprintf( 'https://premiumaddons.com/elementor-image-accordion-widget?utm_source=imageaccordion-notification&utm_medium=wp-dash&utm_campaign=get-pro&utm_term=%s', $theme );
287
+
288
+ if ( '1' === $accordion_notice ) {
289
+ return;
290
+ } else if ( '1' !== $accordion_notice ) {
291
+ $optout_url = wp_nonce_url( add_query_arg( 'image_accordion', 'opt_out' ), 'opt_out' );
292
+
293
+ $accordion_message = sprintf( __('<p class="pa-text-wrap" 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 Accordion Widget for Elementor&nbsp</strong>is Now Available in Premium Addons PRO.&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 );
294
+
295
+ $accordion_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 );
296
+
297
+ $this->render_admin_notices( $accordion_message );
298
+
299
+ }
300
+
301
+ }
302
+
303
/**
304
* Get Installed Theme
305
*
admin/includes/version-control.php CHANGED
@@ -91,7 +91,7 @@ class Version_Control {
91
<tr class="pa-roll-row">
92
<th><?php echo __('Rollback Version', 'premium-addons-for-elementor'); ?></th>
93
<td>
94
- <div><?php echo sprintf( '<a target="_blank" href="%1$s" class="button pa-btn pa-rollback-button elementor-button-spinner">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __('Reinstall Version 3.4.4', 'premium-addons-for-elementor') ); ?></div>
95
<p class="pa-roll-desc">
96
<span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
97
</p>
91
<tr class="pa-roll-row">
92
<th><?php echo __('Rollback Version', 'premium-addons-for-elementor'); ?></th>
93
<td>
94
+ <div><?php echo sprintf( '<a target="_blank" href="%1$s" class="button pa-btn pa-rollback-button elementor-button-spinner">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __('Reinstall Version 3.4.5', 'premium-addons-for-elementor') ); ?></div>
95
<p class="pa-roll-desc">
96
<span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
97
</p>
admin/settings/modules-setting.php CHANGED
@@ -205,173 +205,170 @@ class Modules_Settings {
205
</tr>
206
207
<tr>
208
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Carousel', 'premium-addons-for-elementor') ); ?></th>
209
<td>
210
<label class="switch">
211
- <input type="checkbox" id="premium-carousel" name="premium-carousel" <?php checked(1, $this->pa_get_settings['premium-carousel'], true) ?>>
212
<span class="slider round"></span>
213
</label>
214
</td>
215
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Countdown', 'premium-addons-for-elementor') ); ?></th>
216
<td>
217
<label class="switch">
218
- <input type="checkbox" id="premium-countdown" name="premium-countdown" <?php checked(1, $this->pa_get_settings['premium-countdown'], true) ?>>
219
<span class="slider round"></span>
220
</label>
221
</td>
222
</tr>
223
224
<tr>
225
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Counter', 'premium-addons-for-elementor') ); ?></th>
226
<td>
227
<label class="switch">
228
- <input type="checkbox" id="premium-counter" name="premium-counter" <?php checked(1, $this->pa_get_settings['premium-counter'], true) ?>>
229
<span class="slider round"></span>
230
</label>
231
</td>
232
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Dual Heading', 'premium-addons-for-elementor') ); ?></th>
233
<td>
234
<label class="switch">
235
- <input type="checkbox" id="premium-dual-header" name="premium-dual-header" <?php checked(1, $this->pa_get_settings['premium-dual-header'], true) ?>>
236
<span class="slider round"></span>
237
</label>
238
</td>
239
</tr>
240
241
<tr>
242
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Fancy Text', 'premium-addons-for-elementor') ); ?></th>
243
<td>
244
<label class="switch">
245
- <input type="checkbox" id="premium-fancytext" name="premium-fancytext" <?php checked(1, $this->pa_get_settings['premium-fancytext'], true) ?>>
246
<span class="slider round"></span>
247
</label>
248
</td>
249
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Image Scroll', 'premium-addons-for-elementor') ); ?></th>
250
<td>
251
<label class="switch">
252
- <input type="checkbox" id="premium-image-scroll" name="premium-image-scroll" <?php checked(1, $this->pa_get_settings['premium-image-scroll'], true) ?>>
253
<span class="slider round"></span>
254
</label>
255
</td>
256
-
257
</tr>
258
259
<tr>
260
-
261
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Image Separator', 'premium-addons-for-elementor') ); ?></th>
262
<td>
263
<label class="switch">
264
- <input type="checkbox" id="premium-image-separator" name="premium-image-separator" <?php checked(1, $this->pa_get_settings['premium-image-separator'], true) ?>>
265
<span class="slider round"></span>
266
</label>
267
</td>
268
269
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Maps', 'premium-addons-for-elementor') ); ?></th>
270
<td>
271
<label class="switch">
272
- <input type="checkbox" id="premium-maps" name="premium-maps" <?php checked(1, $this->pa_get_settings['premium-maps'], true) ?>>
273
<span class="slider round"></span>
274
</label>
275
</td>
276
-
277
</tr>
278
279
<tr>
280
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Modal Box', 'premium-addons-for-elementor') ); ?></th>
281
<td>
282
<label class="switch">
283
- <input type="checkbox" id="premium-modalbox" name="premium-modalbox" <?php checked(1, $this->pa_get_settings['premium-modalbox'], true) ?>>
284
<span class="slider round"></span>
285
</label>
286
</td>
287
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Person', 'premium-addons-for-elementor') ); ?></th>
288
<td>
289
<label class="switch">
290
- <input type="checkbox" id="premium-person" name="premium-person" <?php checked(1, $this->pa_get_settings['premium-person'], true) ?>>
291
<span class="slider round"></span>
292
</label>
293
</td>
294
</tr>
295
- </tr>
296
297
<tr>
298
-
299
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Progress Bar', 'premium-addons-for-elementor') ); ?></th>
300
<td>
301
<label class="switch">
302
- <input type="checkbox" id="premium-progressbar" name="premium-progressbar" <?php checked(1, $this->pa_get_settings['premium-progressbar'], true) ?>>
303
<span class="slider round"></span>
304
</label>
305
</td>
306
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Testimonials', 'premium-addons-for-elementor') ); ?></th>
307
<td>
308
<label class="switch">
309
- <input type="checkbox" id="premium-testimonials" name="premium-testimonials" <?php checked(1, $this->pa_get_settings['premium-testimonials'], true) ?>>
310
<span class="slider round"></span>
311
</label>
312
</td>
313
-
314
</tr>
315
316
<tr>
317
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Title', 'premium-addons-for-elementor') ); ?></th>
318
<td>
319
<label class="switch">
320
- <input type="checkbox" id="premium-title" name="premium-title" <?php checked(1, $this->pa_get_settings['premium-title'], true) ?>>
321
<span class="slider round"></span>
322
</label>
323
</td>
324
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Video Box', 'premium-addons-for-elementor') ); ?></th>
325
<td>
326
<label class="switch">
327
- <input type="checkbox" id="premium-videobox" name="premium-videobox" <?php checked(1, $this->pa_get_settings['premium-videobox'], true) ?>>
328
<span class="slider round"></span>
329
- </label>
330
</td>
331
</tr>
332
333
<tr>
334
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Pricing Table', 'premium-addons-for-elementor') ); ?></th>
335
<td>
336
<label class="switch">
337
- <input type="checkbox" id="premium-pricing-table" name="premium-pricing-table" <?php checked(1, $this->pa_get_settings['premium-pricing-table'], true) ?>>
338
<span class="slider round"></span>
339
</label>
340
</td>
341
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Button', 'premium-addons-for-elementor') ); ?></th>
342
<td>
343
<label class="switch">
344
- <input type="checkbox" id="premium-button" name="premium-button" <?php checked(1, $this->pa_get_settings['premium-button'], true) ?>>
345
<span class="slider round"></span>
346
</label>
347
</td>
348
</tr>
349
350
<tr>
351
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Contact Form7', 'premium-addons-for-elementor') ); ?></th>
352
<td>
353
<label class="switch">
354
- <input type="checkbox" id="premium-contactform" name="premium-contactform" <?php checked(1, $this->pa_get_settings['premium-contactform'], true) ?>>
355
<span class="slider round"></span>
356
</label>
357
</td>
358
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Image Button', 'premium-addons-for-elementor') ); ?></th>
359
<td>
360
<label class="switch">
361
- <input type="checkbox" id="premium-image-button" name="premium-image-button" <?php checked(1, $this->pa_get_settings['premium-image-button'], true) ?>>
362
<span class="slider round"></span>
363
</label>
364
</td>
365
-
366
</tr>
367
368
<tr>
369
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Grid', 'premium-addons-for-elementor') ); ?></th>
370
<td>
371
<label class="switch">
372
- <input type="checkbox" id="premium-grid" name="premium-grid" <?php checked(1, $this->pa_get_settings['premium-grid'], true) ?>>
373
<span class="slider round"></span>
374
- </label>
375
</td>
376
<th><?php echo sprintf( '%1$s %2$s', $prefix, __('Vertical Scroll', 'premium-addons-for-elementor') ); ?></th>
377
<td>
205
</tr>
206
207
<tr>
208
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Button', 'premium-addons-for-elementor') ); ?></th>
209
<td>
210
<label class="switch">
211
+ <input type="checkbox" id="premium-button" name="premium-button" <?php checked(1, $this->pa_get_settings['premium-button'], true) ?>>
212
<span class="slider round"></span>
213
</label>
214
</td>
215
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Carousel', 'premium-addons-for-elementor') ); ?></th>
216
<td>
217
<label class="switch">
218
+ <input type="checkbox" id="premium-carousel" name="premium-carousel" <?php checked(1, $this->pa_get_settings['premium-carousel'], true) ?>>
219
<span class="slider round"></span>
220
</label>
221
</td>
222
</tr>
223
224
<tr>
225
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Contact Form7', 'premium-addons-for-elementor') ); ?></th>
226
<td>
227
<label class="switch">
228
+ <input type="checkbox" id="premium-contactform" name="premium-contactform" <?php checked(1, $this->pa_get_settings['premium-contactform'], true) ?>>
229
<span class="slider round"></span>
230
</label>
231
</td>
232
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Countdown', 'premium-addons-for-elementor') ); ?></th>
233
<td>
234
<label class="switch">
235
+ <input type="checkbox" id="premium-countdown" name="premium-countdown" <?php checked(1, $this->pa_get_settings['premium-countdown'], true) ?>>
236
<span class="slider round"></span>
237
</label>
238
</td>
239
</tr>
240
241
<tr>
242
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Counter', 'premium-addons-for-elementor') ); ?></th>
243
<td>
244
<label class="switch">
245
+ <input type="checkbox" id="premium-counter" name="premium-counter" <?php checked(1, $this->pa_get_settings['premium-counter'], true) ?>>
246
<span class="slider round"></span>
247
</label>
248
</td>
249
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Dual Heading', 'premium-addons-for-elementor') ); ?></th>
250
<td>
251
<label class="switch">
252
+ <input type="checkbox" id="premium-dual-header" name="premium-dual-header" <?php checked(1, $this->pa_get_settings['premium-dual-header'], true) ?>>
253
<span class="slider round"></span>
254
</label>
255
</td>
256
</tr>
257
258
<tr>
259
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Fancy Text', 'premium-addons-for-elementor') ); ?></th>
260
<td>
261
<label class="switch">
262
+ <input type="checkbox" id="premium-fancytext" name="premium-fancytext" <?php checked(1, $this->pa_get_settings['premium-fancytext'], true) ?>>
263
<span class="slider round"></span>
264
</label>
265
</td>
266
267
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Grid', 'premium-addons-for-elementor') ); ?></th>
268
<td>
269
<label class="switch">
270
+ <input type="checkbox" id="premium-grid" name="premium-grid" <?php checked(1, $this->pa_get_settings['premium-grid'], true) ?>>
271
<span class="slider round"></span>
272
</label>
273
</td>
274
</tr>
275
276
<tr>
277
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Image Button', 'premium-addons-for-elementor') ); ?></th>
278
<td>
279
<label class="switch">
280
+ <input type="checkbox" id="premium-image-button" name="premium-image-button" <?php checked(1, $this->pa_get_settings['premium-image-button'], true) ?>>
281
<span class="slider round"></span>
282
</label>
283
</td>
284
+
285
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Image Scroll', 'premium-addons-for-elementor') ); ?></th>
286
<td>
287
<label class="switch">
288
+ <input type="checkbox" id="premium-image-scroll" name="premium-image-scroll" <?php checked(1, $this->pa_get_settings['premium-image-scroll'], true) ?>>
289
<span class="slider round"></span>
290
</label>
291
</td>
292
</tr>
293
294
<tr>
295
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Image Separator', 'premium-addons-for-elementor') ); ?></th>
296
<td>
297
<label class="switch">
298
+ <input type="checkbox" id="premium-image-separator" name="premium-image-separator" <?php checked(1, $this->pa_get_settings['premium-image-separator'], true) ?>>
299
<span class="slider round"></span>
300
</label>
301
</td>
302
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Maps', 'premium-addons-for-elementor') ); ?></th>
303
<td>
304
<label class="switch">
305
+ <input type="checkbox" id="premium-maps" name="premium-maps" <?php checked(1, $this->pa_get_settings['premium-maps'], true) ?>>
306
<span class="slider round"></span>
307
</label>
308
</td>
309
</tr>
310
311
<tr>
312
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Modal Box', 'premium-addons-for-elementor') ); ?></th>
313
<td>
314
<label class="switch">
315
+ <input type="checkbox" id="premium-modalbox" name="premium-modalbox" <?php checked(1, $this->pa_get_settings['premium-modalbox'], true) ?>>
316
<span class="slider round"></span>
317
</label>
318
</td>
319
+
320
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Person', 'premium-addons-for-elementor') ); ?></th>
321
<td>
322
<label class="switch">
323
+ <input type="checkbox" id="premium-person" name="premium-person" <?php checked(1, $this->pa_get_settings['premium-person'], true) ?>>
324
<span class="slider round"></span>
325
+ </label>
326
</td>
327
</tr>
328
329
<tr>
330
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Progress Bar', 'premium-addons-for-elementor') ); ?></th>
331
<td>
332
<label class="switch">
333
+ <input type="checkbox" id="premium-progressbar" name="premium-progressbar" <?php checked(1, $this->pa_get_settings['premium-progressbar'], true) ?>>
334
<span class="slider round"></span>
335
</label>
336
</td>
337
+
338
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Pricing Table', 'premium-addons-for-elementor') ); ?></th>
339
<td>
340
<label class="switch">
341
+ <input type="checkbox" id="premium-pricing-table" name="premium-pricing-table" <?php checked(1, $this->pa_get_settings['premium-pricing-table'], true) ?>>
342
<span class="slider round"></span>
343
</label>
344
</td>
345
</tr>
346
347
<tr>
348
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Testimonials', 'premium-addons-for-elementor') ); ?></th>
349
<td>
350
<label class="switch">
351
+ <input type="checkbox" id="premium-testimonials" name="premium-testimonials" <?php checked(1, $this->pa_get_settings['premium-testimonials'], true) ?>>
352
<span class="slider round"></span>
353
</label>
354
</td>
355
+
356
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Title', 'premium-addons-for-elementor') ); ?></th>
357
<td>
358
<label class="switch">
359
+ <input type="checkbox" id="premium-title" name="premium-title" <?php checked(1, $this->pa_get_settings['premium-title'], true) ?>>
360
<span class="slider round"></span>
361
</label>
362
</td>
363
</tr>
364
365
<tr>
366
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Video Box', 'premium-addons-for-elementor') ); ?></th>
367
<td>
368
<label class="switch">
369
+ <input type="checkbox" id="premium-videobox" name="premium-videobox" <?php checked(1, $this->pa_get_settings['premium-videobox'], true) ?>>
370
<span class="slider round"></span>
371
+ </label>
372
</td>
373
<th><?php echo sprintf( '%1$s %2$s', $prefix, __('Vertical Scroll', 'premium-addons-for-elementor') ); ?></th>
374
<td>
assets/js/premium-vscroll.js CHANGED
@@ -552,7 +552,7 @@
552
553
self.onWheel = function(event) {
554
if (isScrolling) {
555
- // event.preventDefault();
556
return false;
557
}
558
552
553
self.onWheel = function(event) {
554
if (isScrolling) {
555
+ event.preventDefault();
556
return false;
557
}
558
premium-addons-for-elementor.php CHANGED
@@ -3,7 +3,7 @@
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.4.5
7
Author: Leap13
8
Author URI: https://leap13.com/
9
Text Domain: premium-addons-for-elementor
@@ -14,12 +14,12 @@ 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.4.5');
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.4.4');
23
24
if( ! class_exists('Premium_Addons_Elementor') ) {
25
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.4.6
7
Author: Leap13
8
Author URI: https://leap13.com/
9
Text Domain: premium-addons-for-elementor
14
if ( ! defined('ABSPATH') ) exit; // No access of directly access
15
16
// Define Constants
17
+ define('PREMIUM_ADDONS_VERSION', '3.4.6');
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.4.5');
23
24
if( ! class_exists('Premium_Addons_Elementor') ) {
25
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://premiumaddons.com
5
Requires at least: 4.5
6
Tested up to: 5.2
7
Requires PHP: 5.4
8
- Stable tag: 3.4.5
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
@@ -71,21 +71,22 @@ Premium Addons for Elementor can be used only as a complement of Elementor page
71
11. [Premium Google Reviews Widget](https://premiumaddons.com/google-reviews-for-elementor-page-builder/)
72
12. [Premium Icon Box Widget](https://premiumaddons.com/icon-box-widget-for-elementor-page-builder/)
73
13. [Premium iHover Widget](https://premiumaddons.com/ihover-widget-for-elementor-page-builder/)
74
- 14. [Premium Image Comparison Widget](https://premiumaddons.com/image-comparison-widget-for-elementor-page-builder/)
75
- 15. [Premium Image Hotspots Widget](https://premiumaddons.com/image-hotspots-widget-for-elementor-page-builder/)
76
- 16. [Premium Image Layers Widget](https://premiumaddons.com/image-layers-widget-for-elementor-page-builder/)
77
- 17. [Premium Instagram Feed Widget](https://premiumaddons.com/instagram-feed-widget-for-elementor-page-builder/)
78
- 18. [Premium Ken Burns Section Addon](https://premiumaddons.com/ken-burns-section-addon-for-elementor-page-builder/)
79
- 19. [Premium Magic Section Widget](https://premiumaddons.com/magic-section-widget-for-elementor-page-builder/)
80
- 20. [Premium Multi Scroll Widget](https://premiumaddons.com/multi-scroll-widget-for-elementor-page-builder/)
81
- 21. [Premium Parallax Section Addon](https://premiumaddons.com/parallax-section-addon-for-elementor-page-builder/)
82
- 22. [Premium Particles Section Addon](https://premiumaddons.com/particles-section-addon-for-elementor-page-builder/)
83
- 23. [Premium Preview Window Widget](https://premiumaddons.com/preview-window-widget-for-elementor-page-builder/)
84
- 24. [Premium Tables Widget](https://premiumaddons.com/table-widget-for-elementor-page-builder/)
85
- 25. [Premium Twitter Feed Widget](https://premiumaddons.com/twitter-feed-widget-for-elementor-page-builder/)
86
- 26. [Premium Tabs Widget](https://premiumaddons.com/tabs-widget-for-elementor-page-builder-2/)
87
- 27. [Premium Unfold Widget](https://premiumaddons.com/unfold-widget-for-elementor-page-builder/)
88
- 28. [Premium Whatsapp Chat Widget](https://premiumaddons.com/whatsapp-widget-for-elementor-page-builder/)
89
90
91
== Installation ==
@@ -139,6 +140,10 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
139
140
== Changelog ==
141
142
= 3.4.5 =
143
144
- Tweak: Added `Filter Tabs` option for categories in Blog widget.
5
Requires at least: 4.5
6
Tested up to: 5.2
7
Requires PHP: 5.4
8
+ Stable tag: 3.4.6
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
71
11. [Premium Google Reviews Widget](https://premiumaddons.com/google-reviews-for-elementor-page-builder/)
72
12. [Premium Icon Box Widget](https://premiumaddons.com/icon-box-widget-for-elementor-page-builder/)
73
13. [Premium iHover Widget](https://premiumaddons.com/ihover-widget-for-elementor-page-builder/)
74
+ 14. [Premium Image Accordion](https://premiumaddons.com/elementor-image-accordion-widget/)
75
+ 15. [Premium Image Comparison Widget](https://premiumaddons.com/image-comparison-widget-for-elementor-page-builder/)
76
+ 16. [Premium Image Hotspots Widget](https://premiumaddons.com/image-hotspots-widget-for-elementor-page-builder/)
77
+ 17. [Premium Image Layers Widget](https://premiumaddons.com/image-layers-widget-for-elementor-page-builder/)
78
+ 18. [Premium Instagram Feed Widget](https://premiumaddons.com/instagram-feed-widget-for-elementor-page-builder/)
79
+ 19. [Premium Ken Burns Section Addon](https://premiumaddons.com/ken-burns-section-addon-for-elementor-page-builder/)
80
+ 20. [Premium Magic Section Widget](https://premiumaddons.com/magic-section-widget-for-elementor-page-builder/)
81
+ 21. [Premium Multi Scroll Widget](https://premiumaddons.com/multi-scroll-widget-for-elementor-page-builder/)
82
+ 22. [Premium Parallax Section Addon](https://premiumaddons.com/parallax-section-addon-for-elementor-page-builder/)
83
+ 23. [Premium Particles Section Addon](https://premiumaddons.com/particles-section-addon-for-elementor-page-builder/)
84
+ 24. [Premium Preview Window Widget](https://premiumaddons.com/preview-window-widget-for-elementor-page-builder/)
85
+ 25. [Premium Tables Widget](https://premiumaddons.com/table-widget-for-elementor-page-builder/)
86
+ 26. [Premium Twitter Feed Widget](https://premiumaddons.com/twitter-feed-widget-for-elementor-page-builder/)
87
+ 27. [Premium Tabs Widget](https://premiumaddons.com/tabs-widget-for-elementor-page-builder-2/)
88
+ 28. [Premium Unfold Widget](https://premiumaddons.com/unfold-widget-for-elementor-page-builder/)
89
+ 29. [Premium Whatsapp Chat Widget](https://premiumaddons.com/whatsapp-widget-for-elementor-page-builder/)
90
91
92
== Installation ==
140
141
== Changelog ==
142
143
+ = 3.4.6 =
144
+
145
+ - Tweak: Removed unusable `Edit Post Icon` option in Blog widget
146
+
147
= 3.4.5 =
148
149
- Tweak: Added `Filter Tabs` option for categories in Blog widget.
widgets/premium-blog.php CHANGED
@@ -390,15 +390,6 @@ class Premium_Blog extends Widget_Base {
390
]
391
);
392
393
- $this->add_control('premium_blog_edit_post',
394
- [
395
- 'label' => __('Edit Post Icon', 'premium-addons-for-elementor'),
396
- 'type' => Controls_Manager::SWITCHER,
397
- 'description' => __('Display or hide edit post option','premium-addons-for-elementor'),
398
- 'default' => 'yes',
399
- ]
400
- );
401
-
402
$this->end_controls_section();
403
404
$this->start_controls_section('premium_blog_advanced_settings',
@@ -1512,9 +1503,6 @@ class Premium_Blog extends Widget_Base {
1512
<?php if( $settings['premium_blog_comments_meta'] === 'yes' ) : ?>
1513
<span class="premium-blog-post-comments premium-blog-meta-data"><i class="fa fa-comments-o fa-fw"></i><a href="<?php the_permalink(); ?>" target="<?php echo esc_attr($link_target); ?>"><?php comments_number('0 Comments', '1', '%'); ?> </a></span>
1514
<?php endif; ?>
1515
- <?php if( $settings['premium_blog_edit_post'] === 'yes' ) : ?>
1516
- <span class="premium-blog-post-edit premium-blog-meta-data"><i class="fa fa-pencil fa-fw"></i><?php edit_post_link(); ?></span>
1517
- <?php endif; ?>
1518
</div>
1519
1520
<?php
390
]
391
);
392
393
$this->end_controls_section();
394
395
$this->start_controls_section('premium_blog_advanced_settings',
1503
<?php if( $settings['premium_blog_comments_meta'] === 'yes' ) : ?>
1504
<span class="premium-blog-post-comments premium-blog-meta-data"><i class="fa fa-comments-o fa-fw"></i><a href="<?php the_permalink(); ?>" target="<?php echo esc_attr($link_target); ?>"><?php comments_number('0 Comments', '1', '%'); ?> </a></span>
1505
<?php endif; ?>
1506
</div>
1507
1508
<?php