Version Description
- Filterable Galley control improved
- Element saving improved
- Few minor bugfix and improvements
Download this release
Release Info
Developer | re_enter_rupok |
Plugin | Elementor Essential Addons |
Version | 2.4.2 |
Comparing to | |
See all releases |
Code changes from version 2.4.1 to 2.4.2
- admin/assets/css/admin.css +14 -4
- admin/assets/images/icon-heart.svg +1 -0
- admin/assets/js/admin.js +18 -8
- admin/settings.php +402 -405
- assets/css/essential-addons-elementor.css +3 -0
- essential_adons_elementor.php +82 -37
- readme.txt +7 -1
admin/assets/css/admin.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
/**
|
2 |
*=============================================================
|
3 |
-
* Essential Addons Elementor Admin Settings Page Styles
|
4 |
-
*=============================================================
|
5 |
*/
|
6 |
|
7 |
/* General Style */
|
@@ -25,7 +25,7 @@
|
|
25 |
line-height: 1;
|
26 |
}
|
27 |
|
28 |
-
.eael-header-left,
|
29 |
.eael-header-right {
|
30 |
-webkit-flex-grow: 1;
|
31 |
flex-grow: 1;
|
@@ -109,7 +109,7 @@ textarea.eael-form-control {
|
|
109 |
font-size: 14px;
|
110 |
font-weight: 600;
|
111 |
color: #5d5d5d;
|
112 |
-
}
|
113 |
.row {
|
114 |
width: 100%;
|
115 |
height: auto;
|
@@ -191,6 +191,16 @@ textarea.eael-form-control {
|
|
191 |
transform: scaleX(1.3);
|
192 |
}
|
193 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
194 |
/* Footer Style */
|
195 |
|
196 |
.eael-settings-footer {
|
1 |
/**
|
2 |
*=============================================================
|
3 |
+
* Essential Addons Elementor Admin Settings Page Styles
|
4 |
+
*=============================================================
|
5 |
*/
|
6 |
|
7 |
/* General Style */
|
25 |
line-height: 1;
|
26 |
}
|
27 |
|
28 |
+
.eael-header-left,
|
29 |
.eael-header-right {
|
30 |
-webkit-flex-grow: 1;
|
31 |
flex-grow: 1;
|
109 |
font-size: 14px;
|
110 |
font-weight: 600;
|
111 |
color: #5d5d5d;
|
112 |
+
}
|
113 |
.row {
|
114 |
width: 100%;
|
115 |
height: auto;
|
191 |
transform: scaleX(1.3);
|
192 |
}
|
193 |
}
|
194 |
+
/* Eael Tab Toggles */
|
195 |
+
.eael-settings-tab {
|
196 |
+
display: none;
|
197 |
+
}
|
198 |
+
.eael-settings-tab.active {
|
199 |
+
display: block;
|
200 |
+
}
|
201 |
+
.eael-tabs li a.active {
|
202 |
+
background-color: #fff;
|
203 |
+
}
|
204 |
/* Footer Style */
|
205 |
|
206 |
.eael-settings-footer {
|
admin/assets/images/icon-heart.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg style="enable-background:new 0 0 48 48;" version="1.1" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="Icons"><g><g id="Icons_7_"><g><path d="M35.72935,25.74662l0.8357-0.8271c1.611-1.611,2.4122-3.7475,2.4122-5.8668 c0-2.1279-0.8012-4.2558-2.4122-5.8668c-3.2221-3.2221-8.5031-3.2221-11.7337,0l-0.8271,0.8356l-0.8356-0.8356 c-3.222-3.2221-8.5031-3.2221-11.7251,0c-1.6196,1.611-2.4208,3.7389-2.4208,5.8668c0,2.1193,0.8012,4.2558,2.4208,5.8668 l0.8271,0.8271l11.3076,11.3077c0.2353,0.2352,0.6167,0.2351,0.8519-0.0002L35.72935,25.74662" style="fill:#EF4B53;"></path></g></g><path d="M17.80325,12.24382c0,0-6.9318-0.5491-7.6524,7.3092c0,0,1.4413-5.765,7.8583-5.4905 c0,0,1.5941,0.1605,1.5901-0.8317C19.59495,12.14722,17.80325,12.24382,17.80325,12.24382z" style="fill:#F47682;"></path></g></g></svg>
|
admin/assets/js/admin.js
CHANGED
@@ -1,7 +1,17 @@
|
|
1 |
( function( $ ) {
|
2 |
'use strict';
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
$( '.eael-get-pro' ).on( 'click', function() {
|
7 |
swal({
|
@@ -16,11 +26,11 @@
|
|
16 |
} );
|
17 |
|
18 |
// Adding link id after the url
|
19 |
-
$('.eael-settings-tabs ul li a').click(function () {
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
});
|
24 |
|
25 |
// Save Button reacting on any changes
|
26 |
var headerSaveBtn = $( '.eael-header-bar .eael-btn' );
|
@@ -31,7 +41,7 @@
|
|
31 |
} );
|
32 |
|
33 |
// Saving Data With Ajax Request
|
34 |
-
$( '
|
35 |
e.preventDefault();
|
36 |
|
37 |
$.ajax( {
|
1 |
( function( $ ) {
|
2 |
'use strict';
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Eael Tabs
|
6 |
+
*/
|
7 |
+
$( '.eael-tabs li a' ).on( 'click', function(e) {
|
8 |
+
e.preventDefault();
|
9 |
+
$( '.eael-tabs li a' ).removeClass( 'active' );
|
10 |
+
$(this).addClass( 'active' );
|
11 |
+
var tab = $(this).attr( 'href' );
|
12 |
+
$( '.eael-settings-tab' ).removeClass( 'active' );
|
13 |
+
$( '.eael-settings-tabs' ).find( tab ).addClass( 'active' );
|
14 |
+
});
|
15 |
|
16 |
$( '.eael-get-pro' ).on( 'click', function() {
|
17 |
swal({
|
26 |
} );
|
27 |
|
28 |
// Adding link id after the url
|
29 |
+
// $('.eael-settings-tabs ul li a').click(function () {
|
30 |
+
// var tabUrl = $(this).attr( 'href' );
|
31 |
+
// window.location.hash = tabUrl;
|
32 |
+
// $('html, body').scrollTop(tabUrl);
|
33 |
+
// });
|
34 |
|
35 |
// Save Button reacting on any changes
|
36 |
var headerSaveBtn = $( '.eael-header-bar .eael-btn' );
|
41 |
} );
|
42 |
|
43 |
// Saving Data With Ajax Request
|
44 |
+
$( '.js-eael-settings-save' ).on( 'click', function(e) {
|
45 |
e.preventDefault();
|
46 |
|
47 |
$.ajax( {
|
admin/settings.php
CHANGED
@@ -63,8 +63,6 @@ class Eael_Admin_Settings {
|
|
63 |
wp_enqueue_style( 'essential_addons_elementor-admin-css', plugins_url( '/', __FILE__ ).'assets/css/admin.css' );
|
64 |
wp_enqueue_style( 'font-awesome-css', plugins_url( '/', __FILE__ ).'assets/vendor/font-awesome/css/font-awesome.min.css' );
|
65 |
wp_enqueue_style( 'essential_addons_elementor-sweetalert2-css', plugins_url( '/', __FILE__ ).'assets/vendor/sweetalert2/css/sweetalert2.min.css' );
|
66 |
-
|
67 |
-
wp_enqueue_script( "jquery-ui-tabs" );
|
68 |
wp_enqueue_script( 'essential_addons_elementor-admin-js', plugins_url( '/', __FILE__ ).'assets/js/admin.js', array( 'jquery', 'jquery-ui-tabs' ), '1.0', true );
|
69 |
wp_enqueue_script( 'essential_addons_core-js', plugins_url( '/', __FILE__ ).'assets/vendor/sweetalert2/js/core.js', array( 'jquery' ), '1.0', true );
|
70 |
wp_enqueue_script( 'essential_addons_sweetalert2-js', plugins_url( '/', __FILE__ ).'assets/vendor/sweetalert2/js/sweetalert2.min.js', array( 'jquery', 'essential_addons_core-js' ), '1.0', true );
|
@@ -126,20 +124,19 @@ class Eael_Admin_Settings {
|
|
126 |
<h4 class="title"><?php _e( 'Essential Addons Settings', 'essential-addons-elementor' ); ?></h4>
|
127 |
</div>
|
128 |
<div class="eael-header-right">
|
129 |
-
<input type="submit" value="Save settings" class="button eael-btn"/>
|
130 |
</div>
|
131 |
</div>
|
132 |
<div class="eael-settings-tabs">
|
133 |
-
<ul>
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
</ul>
|
139 |
-
<div id="general" class="eael-settings-tab">
|
140 |
<div class="row">
|
141 |
<div class="col-half">
|
142 |
-
|
143 |
<img src="<?php echo plugins_url( '/', __FILE__ ).'assets/images/eael-featured.png'; ?>">
|
144 |
</div>
|
145 |
<div class="col-half">
|
@@ -155,384 +152,384 @@ class Eael_Admin_Settings {
|
|
155 |
</div>
|
156 |
</div>
|
157 |
<div id="elements" class="eael-settings-tab">
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
</div>
|
537 |
<div id="go-pro" class="eael-settings-tab">
|
538 |
<div class="row go-premium">
|
@@ -550,25 +547,25 @@ class Eael_Admin_Settings {
|
|
550 |
</div>
|
551 |
</div>
|
552 |
<div id="support" class="eael-settings-tab">
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
558 |
</div>
|
559 |
-
|
560 |
-
<
|
561 |
-
|
562 |
-
|
|
|
|
|
563 |
</div>
|
564 |
-
</div>
|
565 |
-
<div class="row">
|
566 |
-
<div class="col-half">
|
567 |
-
<div class="essential-addons-community-link">
|
568 |
-
<a href="https://www.facebook.com/groups/essentialaddons/" target="_blank"><i class="fa fa-facebook-official fa-2x fa-fw" aria-hidden="true"></i> <span>Join the Facebook Community</span></a>
|
569 |
-
</div>
|
570 |
-
</div>
|
571 |
-
</div>
|
572 |
</div>
|
573 |
</div>
|
574 |
</form>
|
63 |
wp_enqueue_style( 'essential_addons_elementor-admin-css', plugins_url( '/', __FILE__ ).'assets/css/admin.css' );
|
64 |
wp_enqueue_style( 'font-awesome-css', plugins_url( '/', __FILE__ ).'assets/vendor/font-awesome/css/font-awesome.min.css' );
|
65 |
wp_enqueue_style( 'essential_addons_elementor-sweetalert2-css', plugins_url( '/', __FILE__ ).'assets/vendor/sweetalert2/css/sweetalert2.min.css' );
|
|
|
|
|
66 |
wp_enqueue_script( 'essential_addons_elementor-admin-js', plugins_url( '/', __FILE__ ).'assets/js/admin.js', array( 'jquery', 'jquery-ui-tabs' ), '1.0', true );
|
67 |
wp_enqueue_script( 'essential_addons_core-js', plugins_url( '/', __FILE__ ).'assets/vendor/sweetalert2/js/core.js', array( 'jquery' ), '1.0', true );
|
68 |
wp_enqueue_script( 'essential_addons_sweetalert2-js', plugins_url( '/', __FILE__ ).'assets/vendor/sweetalert2/js/sweetalert2.min.js', array( 'jquery', 'essential_addons_core-js' ), '1.0', true );
|
124 |
<h4 class="title"><?php _e( 'Essential Addons Settings', 'essential-addons-elementor' ); ?></h4>
|
125 |
</div>
|
126 |
<div class="eael-header-right">
|
127 |
+
<input type="submit" value="Save settings" class="button eael-btn js-eael-settings-save"/>
|
128 |
</div>
|
129 |
</div>
|
130 |
<div class="eael-settings-tabs">
|
131 |
+
<ul class="eael-tabs">
|
132 |
+
<li><a href="#general" class="active"><i class="fa fa-cogs"></i> General</a></li>
|
133 |
+
<li><a href="#elements"><i class="fa fa-cubes"></i> Elements</a></li>
|
134 |
+
<li><a href="#go-pro"><i class="fa fa-bolt"></i> Go Premium</a></li>
|
135 |
+
<li><a href="#support"><i class="fa fa-ticket"></i> Support</a></li>
|
136 |
</ul>
|
137 |
+
<div id="general" class="eael-settings-tab active">
|
138 |
<div class="row">
|
139 |
<div class="col-half">
|
|
|
140 |
<img src="<?php echo plugins_url( '/', __FILE__ ).'assets/images/eael-featured.png'; ?>">
|
141 |
</div>
|
142 |
<div class="col-half">
|
152 |
</div>
|
153 |
</div>
|
154 |
<div id="elements" class="eael-settings-tab">
|
155 |
+
<div class="row">
|
156 |
+
<div class="col-full">
|
157 |
+
<p class="eael-elements-control-notice">You can disable the elements you are not using on your site. That will disable all associated assets of those widgets to improve your site loading.</p>
|
158 |
+
<table class="form-table">
|
159 |
+
<tr>
|
160 |
+
<td>
|
161 |
+
<div class="eael-checkbox">
|
162 |
+
<p class="title"><?php _e( 'Contact Form 7', 'essential-addons-elementor' ); ?></p>
|
163 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Contact Form 7', 'essential-addons-elementor' ); ?></p>
|
164 |
+
<input type="checkbox" id="contact-form-7" name="contact-form-7" <?php checked( 1, $this->eael_get_settings['contact-form-7'], true ); ?> >
|
165 |
+
<label for="contact-form-7"></label>
|
166 |
+
</div>
|
167 |
+
</td>
|
168 |
+
<td>
|
169 |
+
<div class="eael-checkbox">
|
170 |
+
<p class="title"><?php _e( 'Count Down', 'essential-addons-elementor' ); ?></p>
|
171 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Count Down', 'essential-addons-elementor' ); ?></p>
|
172 |
+
<input type="checkbox" id="count-down" name="count-down" <?php checked( 1, $this->eael_get_settings['count-down'], true ); ?> >
|
173 |
+
<label for="count-down"></label>
|
174 |
+
</div>
|
175 |
+
</td>
|
176 |
+
<td>
|
177 |
+
<div class="eael-checkbox">
|
178 |
+
<p class="title"><?php _e( 'Creative Button', 'essential-addons-elementor' ); ?></p>
|
179 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Creative Button', 'essential-addons-elementor' ); ?></p>
|
180 |
+
<input type="checkbox" id="creative-btn" name="creative-btn" <?php checked( 1, $this->eael_get_settings['creative-btn'], true ); ?> >
|
181 |
+
<label for="creative-btn"></label>
|
182 |
+
</div>
|
183 |
+
</td>
|
184 |
+
<td>
|
185 |
+
<div class="eael-checkbox">
|
186 |
+
<p class="title"><?php _e( 'Fancy Text', 'essential-addons-elementor' ); ?></p>
|
187 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Fancy Text', 'essential-addons-elementor' ); ?></p>
|
188 |
+
<input type="checkbox" id="fancy-text" name="fancy-text" <?php checked( 1, $this->eael_get_settings['fancy-text'], true ); ?> >
|
189 |
+
<label for="fancy-text"></label>
|
190 |
+
</div>
|
191 |
+
</td>
|
192 |
+
<td>
|
193 |
+
<div class="eael-checkbox">
|
194 |
+
<p class="title"><?php _e( 'Post Grid', 'essential-addons-elementor' ); ?></p>
|
195 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Post Grid', 'essential-addons-elementor' ); ?></p>
|
196 |
+
<input type="checkbox" id="post-grid" name="post-grid" <?php checked( 1, $this->eael_get_settings['post-grid'], true ); ?> >
|
197 |
+
<label for="post-grid"></label>
|
198 |
+
</div>
|
199 |
+
</td>
|
200 |
+
</tr>
|
201 |
+
<tr>
|
202 |
+
<td>
|
203 |
+
<div class="eael-checkbox">
|
204 |
+
<p class="title"><?php _e( 'Post Timeline', 'essential-addons-elementor' ) ?></p>
|
205 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Post Timeline', 'essential-addons-elementor' ); ?></p>
|
206 |
+
<input type="checkbox" id="post-timeline" name="post-timeline" <?php checked( 1, $this->eael_get_settings['post-timeline'], true ); ?> >
|
207 |
+
<label for="post-timeline"></label>
|
208 |
+
</div>
|
209 |
+
</td>
|
210 |
+
<td>
|
211 |
+
<div class="eael-checkbox">
|
212 |
+
<p class="title"><?php _e( 'Product Grid', 'essential-addons-elementor' ) ?></p>
|
213 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Product Grid', 'essential-addons-elementor' ); ?></p>
|
214 |
+
<input type="checkbox" id="product-grid" name="product-grid" <?php checked( 1, $this->eael_get_settings['product-grid'], true ); ?> >
|
215 |
+
<label for="product-grid"></label>
|
216 |
+
</div>
|
217 |
+
</td>
|
218 |
+
<td>
|
219 |
+
<div class="eael-checkbox">
|
220 |
+
<p class="title"><?php _e( 'Team Member', 'essential-addons-elementor' ) ?></p>
|
221 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Team Member', 'essential-addons-elementor' ); ?></p>
|
222 |
+
<input type="checkbox" id="team-members" name="team-members" <?php checked( 1, $this->eael_get_settings['team-members'], true ); ?> >
|
223 |
+
<label for="team-members"></label>
|
224 |
+
</div>
|
225 |
+
</td>
|
226 |
+
<td>
|
227 |
+
<div class="eael-checkbox">
|
228 |
+
<p class="title"><?php _e( 'Testimonials', 'essential-addons-elementor' ) ?></p>
|
229 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Testimonials', 'essential-addons-elementor' ); ?></p>
|
230 |
+
<input type="checkbox" id="testimonials" name="testimonials" <?php checked( 1, $this->eael_get_settings['testimonials'], true ); ?> >
|
231 |
+
<label for="testimonials"></label>
|
232 |
+
</div>
|
233 |
+
</td>
|
234 |
+
<td>
|
235 |
+
<div class="eael-checkbox">
|
236 |
+
<p class="title"><?php _e( 'We-Forms', 'essential-addons-elementor' ) ?></p>
|
237 |
+
<p class="desc"><?php _e( 'Activate / Deactivate WeForms', 'essential-addons-elementor' ); ?></p>
|
238 |
+
<input type="checkbox" id="weforms" name="weforms" <?php checked( 1, $this->eael_get_settings['weforms'], true ); ?> >
|
239 |
+
<label for="weforms"></label>
|
240 |
+
</div>
|
241 |
+
</td>
|
242 |
+
</tr>
|
243 |
+
<tr>
|
244 |
+
<td>
|
245 |
+
<div class="eael-checkbox">
|
246 |
+
<p class="title"><?php _e( 'Call To Action', 'essential-addons-elementor' ) ?></p>
|
247 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Call To Action', 'essential-addons-elementor' ); ?></p>
|
248 |
+
<input type="checkbox" id="call-to-action" name="call-to-action" <?php checked( 1, $this->eael_get_settings['call-to-action'], true ); ?> >
|
249 |
+
<label for="call-to-action"></label>
|
250 |
+
</div>
|
251 |
+
</td>
|
252 |
+
<td>
|
253 |
+
<div class="eael-checkbox">
|
254 |
+
<p class="title"><?php _e( 'Flip Box', 'essential-addons-elementor' ) ?></p>
|
255 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Flip Box', 'essential-addons-elementor' ); ?></p>
|
256 |
+
<input type="checkbox" id="flip-box" name="flip-box" <?php checked( 1, $this->eael_get_settings['flip-box'], true ); ?> >
|
257 |
+
<label for="flip-box"></label>
|
258 |
+
</div>
|
259 |
+
</td>
|
260 |
+
<td>
|
261 |
+
<div class="eael-checkbox">
|
262 |
+
<p class="title"><?php _e( 'Info Box', 'essential-addons-elementor' ) ?></p>
|
263 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Info Box', 'essential-addons-elementor' ); ?></p>
|
264 |
+
<input type="checkbox" id="info-box" name="info-box" <?php checked( 1, $this->eael_get_settings['info-box'], true ); ?> >
|
265 |
+
<label for="info-box"></label>
|
266 |
+
</div>
|
267 |
+
</td>
|
268 |
+
<td>
|
269 |
+
<div class="eael-checkbox">
|
270 |
+
<p class="title"><?php _e( 'Dual Color Header', 'essential-addons-elementor' ) ?></p>
|
271 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Dual Color Header', 'essential-addons-elementor' ); ?></p>
|
272 |
+
<input type="checkbox" id="dual-header" name="dual-header" <?php checked( 1, $this->eael_get_settings['dual-header'], true ); ?> >
|
273 |
+
<label for="dual-header"></label>
|
274 |
+
</div>
|
275 |
+
</td>
|
276 |
+
<td>
|
277 |
+
<div class="eael-checkbox">
|
278 |
+
<p class="title"><?php _e( 'Pricing Table', 'essential-addons-elementor' ) ?></p>
|
279 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Pricing Table', 'essential-addons-elementor' ); ?></p>
|
280 |
+
<input type="checkbox" id="price-table" name="price-table" <?php checked( 1, $this->eael_get_settings['price-table'], true ); ?> >
|
281 |
+
<label for="price-table"></label>
|
282 |
+
</div>
|
283 |
+
</td>
|
284 |
+
</tr>
|
285 |
+
<tr>
|
286 |
+
<td>
|
287 |
+
<div class="eael-checkbox">
|
288 |
+
<p class="title"><?php _e( 'Ninja Form', 'essential-addons-elementor' ) ?></p>
|
289 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Ninja Form', 'essential-addons-elementor' ); ?></p>
|
290 |
+
<input type="checkbox" id="ninja-form" name="ninja-form" <?php checked( 1, $this->eael_get_settings['ninja-form'], true ); ?> >
|
291 |
+
<label for="ninja-form"></label>
|
292 |
+
</div>
|
293 |
+
</td>
|
294 |
+
<td>
|
295 |
+
<div class="eael-checkbox">
|
296 |
+
<p class="title"><?php _e( 'Gravity Form', 'essential-addons-elementor' ) ?></p>
|
297 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Gravity Form', 'essential-addons-elementor' ); ?></p>
|
298 |
+
<input type="checkbox" id="gravity-form" name="gravity-form" <?php checked( 1, $this->eael_get_settings['gravity-form'], true ); ?> >
|
299 |
+
<label for="gravity-form"></label>
|
300 |
+
</div>
|
301 |
+
</td>
|
302 |
+
<td>
|
303 |
+
<div class="eael-checkbox">
|
304 |
+
<p class="title"><?php _e( 'Caldera Form', 'essential-addons-elementor' ) ?></p>
|
305 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Caldera Form', 'essential-addons-elementor' ); ?></p>
|
306 |
+
<input type="checkbox" id="caldera-form" name="caldera-form" <?php checked( 1, $this->eael_get_settings['caldera-form'], true ); ?> >
|
307 |
+
<label for="caldera-form"></label>
|
308 |
+
</div>
|
309 |
+
</td>
|
310 |
+
<td>
|
311 |
+
<div class="eael-checkbox">
|
312 |
+
<p class="title"><?php _e( 'Twitter Feed', 'essential-addons-elementor' ) ?></p>
|
313 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Twitter Feed', 'essential-addons-elementor' ); ?></p>
|
314 |
+
<input type="checkbox" id="twitter-feed" name="twitter-feed" <?php checked( 1, $this->eael_get_settings['twitter-feed'], true ); ?> >
|
315 |
+
<label for="twitter-feed"></label>
|
316 |
+
</div>
|
317 |
+
</td>
|
318 |
+
<td>
|
319 |
+
<div class="eael-checkbox">
|
320 |
+
<p class="title"><?php _e( 'Facebook Feed', 'essential-addons-elementor' ) ?></p>
|
321 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Facebook Feed', 'essential-addons-elementor' ); ?></p>
|
322 |
+
<input type="checkbox" id="facebook-feed" name="facebook-feed" <?php checked( 1, $this->eael_get_settings['facebook-feed'], true ); ?> >
|
323 |
+
<label for="facebook-feed"></label>
|
324 |
+
</div>
|
325 |
+
</td>
|
326 |
+
</tr>
|
327 |
+
<tr>
|
328 |
+
<td>
|
329 |
+
<div class="eael-checkbox">
|
330 |
+
<p class="title"><?php _e( 'Data Table', 'essential-addons-elementor' ) ?></p>
|
331 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Data Table', 'essential-addons-elementor' ); ?></p>
|
332 |
+
<input type="checkbox" id="data-table" name="data-table" <?php checked( 1, $this->eael_get_settings['data-table'], true ); ?> >
|
333 |
+
<label for="data-table"></label>
|
334 |
+
</div>
|
335 |
+
</td>
|
336 |
+
<td>
|
337 |
+
<div class="eael-checkbox">
|
338 |
+
<p class="title"><?php _e( 'Filterable Gallery', 'essential-addons-elementor' ) ?></p>
|
339 |
+
<p class="desc"><?php _e( 'Activate / Deactivate Filterable Gallery', 'essential-addons-elementor' ); ?></p>
|
340 |
+
<input type="checkbox" id="filter-gallery" name="filter-gallery" <?php checked( 1, $this->eael_get_settings['filter-gallery'], true ); ?> >
|
341 |
+
<label for="filter-gallery"></label>
|
342 |
+
</div>
|
343 |
+
</td>
|
344 |
+
</tr>
|
345 |
+
</table>
|
346 |
+
</div>
|
347 |
+
<div class="col-full">
|
348 |
+
<div class="premium-elements-title">
|
349 |
+
<img src="<?php echo plugins_url( '/', __FILE__ ).'assets/images/lock-icon.png'; ?>">
|
350 |
+
<h4 class="section-title">Premium Elements</h4>
|
351 |
+
</div>
|
352 |
+
<table class="form-table">
|
353 |
+
<tr>
|
354 |
+
<td>
|
355 |
+
<div class="eael-checkbox">
|
356 |
+
<p class="title">
|
357 |
+
<?php _e( 'Image Comparison', 'essential-addons-elementor' ); ?>
|
358 |
+
</p>
|
359 |
+
<p class="desc">
|
360 |
+
<?php _e( 'Activate / Deactivate Image Comparison', 'essential-addons-elementor' ); ?>
|
361 |
+
</p>
|
362 |
+
<input type="checkbox" id="img-comparison" name="img-comparison" disabled>
|
363 |
+
<label for="img-comparison" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
|
364 |
+
</div>
|
365 |
+
</td>
|
366 |
+
<td>
|
367 |
+
<div class="eael-checkbox">
|
368 |
+
<p class="title">
|
369 |
+
<?php _e( 'Instagram Gallery', 'essential-addons-elementor' ); ?>
|
370 |
+
</p>
|
371 |
+
<p class="desc">
|
372 |
+
<?php _e( 'Activate / Deactivate Instagram Gallery', 'essential-addons-elementor' ); ?>
|
373 |
+
</p>
|
374 |
+
<input type="checkbox" id="instagram-gallery" name="instagram-gallery" disabled>
|
375 |
+
<label for="instagram-gallery" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
|
376 |
+
</div>
|
377 |
+
</td>
|
378 |
+
<td>
|
379 |
+
<div class="eael-checkbox">
|
380 |
+
<p class="title">
|
381 |
+
<?php _e( 'Interactive Promo', 'essential-addons-elementor' ); ?>
|
382 |
+
</p>
|
383 |
+
<p class="desc">
|
384 |
+
<?php _e( 'Activate / Deactivate Interactive Promo', 'essential-addons-elementor' ); ?>
|
385 |
+
</p>
|
386 |
+
<input type="checkbox" id="interactive-promo" name="interactive-promo" disabled>
|
387 |
+
<label for="interactive-promo" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
|
388 |
+
</div>
|
389 |
+
</td>
|
390 |
+
<td>
|
391 |
+
<div class="eael-checkbox">
|
392 |
+
<p class="title">
|
393 |
+
<?php _e( 'Lightbox', 'essential-addons-elementor' ); ?>
|
394 |
+
</p>
|
395 |
+
<p class="desc">
|
396 |
+
<?php _e( 'Activate / Deactivate Lightbox', 'essential-addons-elementor' ); ?>
|
397 |
+
</p>
|
398 |
+
<input type="checkbox" id="lightbox" name="lightbox" disabled>
|
399 |
+
<label for="lightbox" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
|
400 |
+
</div>
|
401 |
+
</td>
|
402 |
+
<td>
|
403 |
+
<div class="eael-checkbox">
|
404 |
+
<p class="title">
|
405 |
+
<?php _e( 'Post Block', 'essential-addons-elementor' ); ?>
|
406 |
+
</p>
|
407 |
+
<p class="desc">
|
408 |
+
<?php _e( 'Activate / Deactivate Post Block', 'essential-addons-elementor' ); ?>
|
409 |
+
</p>
|
410 |
+
<input type="checkbox" id="post-block" name="post-block" disabled>
|
411 |
+
<label for="post-block" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
|
412 |
+
</div>
|
413 |
+
</td>
|
414 |
+
</tr>
|
415 |
+
<tr>
|
416 |
+
<td>
|
417 |
+
<div class="eael-checkbox">
|
418 |
+
<p class="title">
|
419 |
+
<?php _e( 'Testimonial Slider', 'essential-addons-elementor' ) ?>
|
420 |
+
</p>
|
421 |
+
<p class="desc">
|
422 |
+
<?php _e( 'Activate / Deactivate Testimonial Slider', 'essential-addons-elementor' ); ?>
|
423 |
+
</p>
|
424 |
+
<input type="checkbox" id="testimonial-slider" name="testimonial-slider" disabled>
|
425 |
+
<label for="testimonial-slider" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
|
426 |
+
</div>
|
427 |
+
</td>
|
428 |
+
<td>
|
429 |
+
<div class="eael-checkbox">
|
430 |
+
<p class="title">
|
431 |
+
<?php _e( 'Static Product', 'essential-addons-elementor' ) ?>
|
432 |
+
</p>
|
433 |
+
<p class="desc">
|
434 |
+
<?php _e( 'Activate / Deactivate Static Product', 'essential-addons-elementor' ); ?>
|
435 |
+
</p>
|
436 |
+
<input type="checkbox" id="static-product" name="static-product" disabled>
|
437 |
+
<label for="static-product" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
|
438 |
+
</div>
|
439 |
+
</td>
|
440 |
+
<td>
|
441 |
+
<div class="eael-checkbox">
|
442 |
+
<p class="title">
|
443 |
+
<?php _e( 'Flip Carousel', 'essential-addons-elementor' ) ?>
|
444 |
+
</p>
|
445 |
+
<p class="desc">
|
446 |
+
<?php _e( 'Activate / Deactivate Flip Carousel', 'essential-addons-elementor' ); ?>
|
447 |
+
</p>
|
448 |
+
<input type="checkbox" id="flip-carousel" name="flip-carousel" disabled>
|
449 |
+
<label for="flip-carousel" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
|
450 |
+
</div>
|
451 |
+
</td>
|
452 |
+
<td>
|
453 |
+
<div class="eael-checkbox">
|
454 |
+
<p class="title">
|
455 |
+
<?php _e( 'Interactive Cards', 'essential-addons-elementor' ) ?>
|
456 |
+
</p>
|
457 |
+
<p class="desc">
|
458 |
+
<?php _e( 'Activate / Deactivate Interactive Cards', 'essential-addons-elementor' ); ?>
|
459 |
+
</p>
|
460 |
+
<input type="checkbox" id="interactive-cards" name="interactive-cards" disabled>
|
461 |
+
<label for="interactive-cards" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
|
462 |
+
</div>
|
463 |
+
</td>
|
464 |
+
<td>
|
465 |
+
<div class="eael-checkbox">
|
466 |
+
<p class="title">
|
467 |
+
<?php _e( 'Content Timeline', 'essential-addons-elementor' ) ?>
|
468 |
+
</p>
|
469 |
+
<p class="desc">
|
470 |
+
<?php _e( 'Activate / Deactivate Content Timeline', 'essential-addons-elementor' ); ?>
|
471 |
+
</p>
|
472 |
+
<input type="checkbox" id="content-timeline" name="content-timeline" disabled>
|
473 |
+
<label for="content-timeline" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
|
474 |
+
</div>
|
475 |
+
</td>
|
476 |
+
</tr>
|
477 |
+
<tr>
|
478 |
+
<td>
|
479 |
+
<div class="eael-checkbox">
|
480 |
+
<p class="title">
|
481 |
+
<?php _e( 'Data Table', 'essential-addons-elementor' ) ?>
|
482 |
+
</p>
|
483 |
+
<p class="desc">
|
484 |
+
<?php _e( 'Activate / Deactivate Data Table', 'essential-addons-elementor' ); ?>
|
485 |
+
</p>
|
486 |
+
<input type="checkbox" id="data-table" name="data-table" disabled>
|
487 |
+
<label for="data-table" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
|
488 |
+
</div>
|
489 |
+
</td>
|
490 |
+
<td>
|
491 |
+
<div class="eael-checkbox">
|
492 |
+
<p class="title">
|
493 |
+
<?php _e( 'Twitter Feed Carousel', 'essential-addons-elementor' ) ?>
|
494 |
+
</p>
|
495 |
+
<p class="desc">
|
496 |
+
<?php _e( 'Activate / Deactivate Twitter Feed Carousel', 'essential-addons-elementor' ); ?>
|
497 |
+
</p>
|
498 |
+
<input type="checkbox" id="twitter-feed-carousel" name="twitter-feed-carousel" disabled>
|
499 |
+
<label for="twitter-feed-carousel" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
|
500 |
+
</div>
|
501 |
+
</td>
|
502 |
+
<td>
|
503 |
+
<div class="eael-checkbox">
|
504 |
+
<p class="title">
|
505 |
+
<?php _e( 'Facebook Feed Carousel', 'essential-addons-elementor' ) ?>
|
506 |
+
</p>
|
507 |
+
<p class="desc">
|
508 |
+
<?php _e( 'Activate / Deactivate Facebook Feed Carousel', 'essential-addons-elementor' ); ?>
|
509 |
+
</p>
|
510 |
+
<input type="checkbox" id="facebook-feed-carousel" name="facebook-feed-carousel" disabled>
|
511 |
+
<label for="facebook-feed-carousel" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
|
512 |
+
</div>
|
513 |
+
</td>
|
514 |
+
<td>
|
515 |
+
<div class="eael-checkbox">
|
516 |
+
<p class="title">
|
517 |
+
<?php _e( 'Dynamic Filter Gallery', 'essential-addons-elementor' ) ?>
|
518 |
+
</p>
|
519 |
+
<p class="desc">
|
520 |
+
<?php _e( 'Activate / Deactivate Dynamic Filter Gallery', 'essential-addons-elementor' ); ?>
|
521 |
+
</p>
|
522 |
+
<input type="checkbox" id="dynamic-filter-gallery" name="dynamic-filter-gallery" disabled>
|
523 |
+
<label for="dynamic-filter-gallery" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label>
|
524 |
+
</div>
|
525 |
+
</td>
|
526 |
+
</tr>
|
527 |
+
</table>
|
528 |
+
<div class="eael-save-btn-wrap">
|
529 |
+
<input type="submit" value="Save settings" class="button eael-btn js-eael-settings-save"/>
|
530 |
+
</div>
|
531 |
+
</div>
|
532 |
+
</div>
|
533 |
</div>
|
534 |
<div id="go-pro" class="eael-settings-tab">
|
535 |
<div class="row go-premium">
|
547 |
</div>
|
548 |
</div>
|
549 |
<div id="support" class="eael-settings-tab">
|
550 |
+
<div class="row">
|
551 |
+
<div class="col-half">
|
552 |
+
<h4>Need help? Open a support ticket!</h4>
|
553 |
+
<p>You can always get support from the community.</p>
|
554 |
+
<a href="https://wordpress.org/support/plugin/essential-addons-for-elementor-lite" target="_blank" class="button eael-btn">Get Help</a>
|
555 |
+
</div>
|
556 |
+
<div class="col-half">
|
557 |
+
<h4>Need Premium Support?</h4>
|
558 |
+
<p>Purchasing a license entitles you to receive premium support.</p>
|
559 |
+
<a href="https://wpdeveloper.net/in/upgrade-essential-addons-elementor" target="_blank" class="button eael-btn">Get a license</a>
|
560 |
+
</div>
|
561 |
</div>
|
562 |
+
<div class="row">
|
563 |
+
<div class="col-half">
|
564 |
+
<div class="essential-addons-community-link">
|
565 |
+
<a href="https://www.facebook.com/groups/essentialaddons/" target="_blank"><i class="fa fa-facebook-official fa-2x fa-fw" aria-hidden="true"></i> <span>Join the Facebook Community</span></a>
|
566 |
+
</div>
|
567 |
+
</div>
|
568 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
569 |
</div>
|
570 |
</div>
|
571 |
</form>
|
assets/css/essential-addons-elementor.css
CHANGED
@@ -3645,6 +3645,9 @@ img.mfp-img {
|
|
3645 |
.eael-filter-gallery-control {
|
3646 |
width: 100%;
|
3647 |
}
|
|
|
|
|
|
|
3648 |
.eael-filter-gallery-control ul {
|
3649 |
margin: 0px 0px 20px 0px;
|
3650 |
padding: 0px;
|
3645 |
.eael-filter-gallery-control {
|
3646 |
width: 100%;
|
3647 |
}
|
3648 |
+
.eael-filter-gallery-control ul, .eael-filter-gallery-control ul li {
|
3649 |
+
text-align: center;
|
3650 |
+
}
|
3651 |
.eael-filter-gallery-control ul {
|
3652 |
margin: 0px 0px 20px 0px;
|
3653 |
padding: 0px;
|
essential_adons_elementor.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Description: The ultimate elements library for Elementor page builder plugin for WordPress.
|
5 |
* Plugin URI: https://essential-addons.com/elementor/
|
6 |
* Author: Codetic
|
7 |
-
* Version: 2.4.
|
8 |
* Author URI: https://www.codetic.net
|
9 |
*
|
10 |
* Text Domain: essential-addons-elementor
|
@@ -21,12 +21,40 @@ require_once ESSENTIAL_ADDONS_EL_PATH.'includes/queries.php';
|
|
21 |
require_once ESSENTIAL_ADDONS_EL_PATH.'includes/class-plugin-usage-tracker.php';
|
22 |
require_once ESSENTIAL_ADDONS_EL_PATH.'admin/settings.php';
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
function add_eael_elements(){
|
25 |
|
26 |
$eael_default_keys = [ 'contact-form-7', 'count-down', 'creative-btn', 'fancy-text', 'img-comparison', 'instagram-gallery', 'interactive-promo', 'lightbox', 'post-block', 'post-grid', 'post-timeline', 'product-grid', 'team-members', 'testimonial-slider', 'testimonials', 'testimonials', 'weforms', 'static-product', 'call-to-action', 'flip-box', 'info-box', 'dual-header', 'price-table', 'flip-carousel', 'interactive-cards', 'ninja-form', 'gravity-form', 'caldera-form', 'wisdom_registered_setting', 'twitter-feed', 'facebook-feed', 'data-table', 'filter-gallery' ];
|
27 |
$eael_default_settings = array_fill_keys( $eael_default_keys, true );
|
28 |
|
29 |
-
$is_component_active =
|
|
|
30 |
// load elements
|
31 |
if( $is_component_active['post-grid'] ) {
|
32 |
require_once ESSENTIAL_ADDONS_EL_PATH.'elements/post-grid/post-grid.php';
|
@@ -104,9 +132,13 @@ function add_eael_elements(){
|
|
104 |
}
|
105 |
add_action('elementor/widgets/widgets_registered','add_eael_elements');
|
106 |
|
107 |
-
|
|
|
|
|
|
|
|
|
108 |
function essential_addons_el_enqueue(){
|
109 |
-
$is_component_active =
|
110 |
wp_enqueue_style('essential_addons_elementor-css',ESSENTIAL_ADDONS_EL_URL.'assets/css/essential-addons-elementor.css');
|
111 |
|
112 |
if( $is_component_active['fancy-text'] ) {
|
@@ -139,8 +171,9 @@ function essential_addons_el_enqueue(){
|
|
139 |
add_action( 'wp_enqueue_scripts', 'essential_addons_el_enqueue' );
|
140 |
|
141 |
|
142 |
-
|
143 |
-
|
|
|
144 |
add_action( 'elementor/editor/before_enqueue_scripts', function() {
|
145 |
|
146 |
wp_register_style( 'essential_addons_elementor_editor-css', ESSENTIAL_ADDONS_EL_URL.'assets/css/essential-addons-editor.css');
|
@@ -148,8 +181,9 @@ add_action( 'elementor/editor/before_enqueue_scripts', function() {
|
|
148 |
|
149 |
} );
|
150 |
|
151 |
-
|
152 |
-
|
|
|
153 |
function eael_add_settings_link( $links ) {
|
154 |
$settings_link = sprintf( '<a href="admin.php?page=eael-settings">' . __( 'Settings' ) . '</a>' );
|
155 |
$go_pro_link = sprintf( '<a href="https://wpdeveloper.net/in/upgrade-essential-addons-elementor" target="_blank" style="color: #39b54a; font-weight: bold;">' . __( 'Go Pro' ) . '</a>' );
|
@@ -159,17 +193,21 @@ function eael_add_settings_link( $links ) {
|
|
159 |
$plugin = plugin_basename( __FILE__ );
|
160 |
add_filter( "plugin_action_links_$plugin", 'eael_add_settings_link' );
|
161 |
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
add_action('admin_init', 'eael_redirect');
|
168 |
-
|
169 |
function eael_activate() {
|
170 |
add_option('eael_do_activation_redirect', true);
|
171 |
}
|
|
|
172 |
|
|
|
|
|
|
|
|
|
|
|
173 |
function eael_redirect() {
|
174 |
if (get_option('eael_do_activation_redirect', false)) {
|
175 |
delete_option('eael_do_activation_redirect');
|
@@ -179,9 +217,13 @@ function eael_redirect() {
|
|
179 |
}
|
180 |
}
|
181 |
}
|
|
|
182 |
|
183 |
-
|
184 |
-
|
|
|
|
|
|
|
185 |
if( ! class_exists( 'Eael_Plugin_Usage_Tracker') ) {
|
186 |
require_once dirname( __FILE__ ) . '/includes/class-plugin-usage-tracker.php';
|
187 |
}
|
@@ -199,34 +241,37 @@ if( ! function_exists( 'essential_addons_elementor_lite_start_plugin_tracking' )
|
|
199 |
essential_addons_elementor_lite_start_plugin_tracking();
|
200 |
}
|
201 |
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
function eael_admin_notice() {
|
208 |
-
if ( current_user_can( 'install_plugins' ) )
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
echo "</p></div>";
|
219 |
-
}
|
220 |
}
|
|
|
221 |
}
|
|
|
222 |
|
223 |
-
add_action('admin_init', 'eael_nag_ignore');
|
224 |
|
|
|
|
|
|
|
225 |
function eael_nag_ignore() {
|
226 |
global $current_user;
|
227 |
$user_id = $current_user->ID;
|
228 |
/* If user clicks to ignore the notice, add that to their user meta */
|
229 |
if ( isset($_GET['eael_nag_ignore']) && '0' == $_GET['eael_nag_ignore'] ) {
|
230 |
-
add_user_meta($user_id, '
|
231 |
}
|
232 |
-
}
|
|
4 |
* Description: The ultimate elements library for Elementor page builder plugin for WordPress.
|
5 |
* Plugin URI: https://essential-addons.com/elementor/
|
6 |
* Author: Codetic
|
7 |
+
* Version: 2.4.2
|
8 |
* Author URI: https://www.codetic.net
|
9 |
*
|
10 |
* Text Domain: essential-addons-elementor
|
21 |
require_once ESSENTIAL_ADDONS_EL_PATH.'includes/class-plugin-usage-tracker.php';
|
22 |
require_once ESSENTIAL_ADDONS_EL_PATH.'admin/settings.php';
|
23 |
|
24 |
+
/**
|
25 |
+
* This function will return true for all activated modules
|
26 |
+
*
|
27 |
+
* @since v2.4.1
|
28 |
+
*/
|
29 |
+
function eael_activated_modules() {
|
30 |
+
|
31 |
+
$eael_default_keys = [ 'contact-form-7', 'count-down', 'creative-btn', 'fancy-text', 'img-comparison', 'instagram-gallery', 'interactive-promo', 'lightbox', 'post-block', 'post-grid', 'post-timeline', 'product-grid', 'team-members', 'testimonial-slider', 'testimonials', 'testimonials', 'weforms', 'static-product', 'call-to-action', 'flip-box', 'info-box', 'dual-header', 'price-table', 'flip-carousel', 'interactive-cards', 'ninja-form', 'gravity-form', 'caldera-form', 'wisdom_registered_setting', 'twitter-feed', 'facebook-feed', 'data-table', 'filter-gallery' ];
|
32 |
+
|
33 |
+
$eael_default_settings = array_fill_keys( $eael_default_keys, true );
|
34 |
+
$eael_get_settings = get_option( 'eael_save_settings', $eael_default_settings );
|
35 |
+
$eael_new_settings = array_diff_key( $eael_default_settings, $eael_get_settings );
|
36 |
+
|
37 |
+
if( ! empty( $eael_new_settings ) ) {
|
38 |
+
$eael_updated_settings = array_merge( $eael_get_settings, $eael_new_settings );
|
39 |
+
update_option( 'eael_save_settings', $eael_updated_settings );
|
40 |
+
}
|
41 |
+
|
42 |
+
return $eael_get_settings = get_option( 'eael_save_settings', $eael_default_settings );
|
43 |
+
|
44 |
+
}
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Acivate or Deactivate Modules
|
48 |
+
*
|
49 |
+
* @since v1.0.0
|
50 |
+
*/
|
51 |
function add_eael_elements(){
|
52 |
|
53 |
$eael_default_keys = [ 'contact-form-7', 'count-down', 'creative-btn', 'fancy-text', 'img-comparison', 'instagram-gallery', 'interactive-promo', 'lightbox', 'post-block', 'post-grid', 'post-timeline', 'product-grid', 'team-members', 'testimonial-slider', 'testimonials', 'testimonials', 'weforms', 'static-product', 'call-to-action', 'flip-box', 'info-box', 'dual-header', 'price-table', 'flip-carousel', 'interactive-cards', 'ninja-form', 'gravity-form', 'caldera-form', 'wisdom_registered_setting', 'twitter-feed', 'facebook-feed', 'data-table', 'filter-gallery' ];
|
54 |
$eael_default_settings = array_fill_keys( $eael_default_keys, true );
|
55 |
|
56 |
+
$is_component_active = eael_activated_modules();
|
57 |
+
|
58 |
// load elements
|
59 |
if( $is_component_active['post-grid'] ) {
|
60 |
require_once ESSENTIAL_ADDONS_EL_PATH.'elements/post-grid/post-grid.php';
|
132 |
}
|
133 |
add_action('elementor/widgets/widgets_registered','add_eael_elements');
|
134 |
|
135 |
+
/**
|
136 |
+
* Load module's scripts and styles if any module is active.
|
137 |
+
*
|
138 |
+
* @since v1.0.0
|
139 |
+
*/
|
140 |
function essential_addons_el_enqueue(){
|
141 |
+
$is_component_active = eael_activated_modules();
|
142 |
wp_enqueue_style('essential_addons_elementor-css',ESSENTIAL_ADDONS_EL_URL.'assets/css/essential-addons-elementor.css');
|
143 |
|
144 |
if( $is_component_active['fancy-text'] ) {
|
171 |
add_action( 'wp_enqueue_scripts', 'essential_addons_el_enqueue' );
|
172 |
|
173 |
|
174 |
+
/**
|
175 |
+
* Editor Css
|
176 |
+
*/
|
177 |
add_action( 'elementor/editor/before_enqueue_scripts', function() {
|
178 |
|
179 |
wp_register_style( 'essential_addons_elementor_editor-css', ESSENTIAL_ADDONS_EL_URL.'assets/css/essential-addons-editor.css');
|
181 |
|
182 |
} );
|
183 |
|
184 |
+
/**
|
185 |
+
* Creates an Action Menu
|
186 |
+
*/
|
187 |
function eael_add_settings_link( $links ) {
|
188 |
$settings_link = sprintf( '<a href="admin.php?page=eael-settings">' . __( 'Settings' ) . '</a>' );
|
189 |
$go_pro_link = sprintf( '<a href="https://wpdeveloper.net/in/upgrade-essential-addons-elementor" target="_blank" style="color: #39b54a; font-weight: bold;">' . __( 'Go Pro' ) . '</a>' );
|
193 |
$plugin = plugin_basename( __FILE__ );
|
194 |
add_filter( "plugin_action_links_$plugin", 'eael_add_settings_link' );
|
195 |
|
196 |
+
/**
|
197 |
+
* Activation redirects
|
198 |
+
*
|
199 |
+
* @since v1.0.0
|
200 |
+
*/
|
|
|
|
|
201 |
function eael_activate() {
|
202 |
add_option('eael_do_activation_redirect', true);
|
203 |
}
|
204 |
+
register_activation_hook(__FILE__, 'eael_activate');
|
205 |
|
206 |
+
/**
|
207 |
+
* Redirect to options page
|
208 |
+
*
|
209 |
+
* @since v1.0.0
|
210 |
+
*/
|
211 |
function eael_redirect() {
|
212 |
if (get_option('eael_do_activation_redirect', false)) {
|
213 |
delete_option('eael_do_activation_redirect');
|
217 |
}
|
218 |
}
|
219 |
}
|
220 |
+
add_action('admin_init', 'eael_redirect');
|
221 |
|
222 |
+
/**
|
223 |
+
* Optional usage tracker
|
224 |
+
*
|
225 |
+
* @since v1.0.0
|
226 |
+
*/
|
227 |
if( ! class_exists( 'Eael_Plugin_Usage_Tracker') ) {
|
228 |
require_once dirname( __FILE__ ) . '/includes/class-plugin-usage-tracker.php';
|
229 |
}
|
241 |
essential_addons_elementor_lite_start_plugin_tracking();
|
242 |
}
|
243 |
|
244 |
+
/**
|
245 |
+
* Admin Notice
|
246 |
+
*
|
247 |
+
* @since v1.0.0
|
248 |
+
*/
|
249 |
function eael_admin_notice() {
|
250 |
+
if ( current_user_can( 'install_plugins' ) ) {
|
251 |
+
global $current_user ;
|
252 |
+
$user_id = $current_user->ID;
|
253 |
+
/* Check that the user hasn't already clicked to ignore the message */
|
254 |
+
if ( ! get_user_meta($user_id, 'eael_ignore_notice242') ) {
|
255 |
+
echo '<div class="eael-admin-notice updated" style="display: flex; align-items: center; padding-left: 0; border-left-color: #EF4B53"><p style="width: 36px;">';
|
256 |
+
echo '<img style="width: 100%; display: block;" src="' . plugins_url( '/', __FILE__ ).'admin/assets/images/icon-heart.svg'. '" ></p><p> ';
|
257 |
+
printf(__('Show your support for <strong>Essential Addons for Elementor.</strong> If you like the plugin, leave a review to support this project. Thanks in advance :) <a href="https://wpdeveloper.net/review-essential-addons-elementor" target="_blank" style="text-decoration: none;"><span class="dashicons dashicons-admin-comments" style="margin-left: 10px;"></span> Leave a Review</a>
|
258 |
+
<a href="%1$s" style="text-decoration: none; margin-left: 10px;"><span class="dashicons dashicons-dismiss"></span> Dismiss</a>'), admin_url( 'admin.php?page=eael-settings&eael_nag_ignore=0' ));
|
259 |
+
echo "</p></div>";
|
|
|
|
|
260 |
}
|
261 |
+
}
|
262 |
}
|
263 |
+
add_action('admin_notices', 'eael_admin_notice');
|
264 |
|
|
|
265 |
|
266 |
+
/**
|
267 |
+
* Nag Ignore
|
268 |
+
*/
|
269 |
function eael_nag_ignore() {
|
270 |
global $current_user;
|
271 |
$user_id = $current_user->ID;
|
272 |
/* If user clicks to ignore the notice, add that to their user meta */
|
273 |
if ( isset($_GET['eael_nag_ignore']) && '0' == $_GET['eael_nag_ignore'] ) {
|
274 |
+
add_user_meta($user_id, 'eael_ignore_notice242', 'true', true);
|
275 |
}
|
276 |
+
}
|
277 |
+
add_action('admin_init', 'eael_nag_ignore');
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Codetic, re_enter_rupok, Asif2BD, robicse11128
|
|
3 |
Tags: elementor, elements, addons, elementor addon, elementor widget, page builder, builder, visual editor, wordpress page builder, elementor form
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.9.2
|
6 |
-
Stable tag: 2.4.
|
7 |
License: GPLv3
|
8 |
License URI: https://opensource.org/licenses/GPL-3.0
|
9 |
|
@@ -110,6 +110,12 @@ Your existing elements/content will work with premium version. So you won't lose
|
|
110 |
|
111 |
== Changelog ==
|
112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
= 2.4.1 =
|
114 |
|
115 |
- Lightbox Gallery conflict fixed with Elementor
|
3 |
Tags: elementor, elements, addons, elementor addon, elementor widget, page builder, builder, visual editor, wordpress page builder, elementor form
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.9.2
|
6 |
+
Stable tag: 2.4.2
|
7 |
License: GPLv3
|
8 |
License URI: https://opensource.org/licenses/GPL-3.0
|
9 |
|
110 |
|
111 |
== Changelog ==
|
112 |
|
113 |
+
= 2.4.2 =
|
114 |
+
|
115 |
+
- Filterable Galley control improved
|
116 |
+
- Element saving improved
|
117 |
+
- Few minor bugfix and improvements
|
118 |
+
|
119 |
= 2.4.1 =
|
120 |
|
121 |
- Lightbox Gallery conflict fixed with Elementor
|