Elementor Essential Addons - Version 2.4.3

Version Description

  • Pricing Table improved
  • Documentation and other helpful content added to admin area
  • Few minor bugfix and improvements
Download this release

Release Info

Developer re_enter_rupok
Plugin Icon 128x128 Elementor Essential Addons
Version 2.4.3
Comparing to
See all releases

Code changes from version 2.4.2 to 2.4.3

admin/assets/css/admin.css CHANGED
@@ -355,4 +355,126 @@ textarea.eael-form-control {
355
  .eael-save-btn-wrap .eael-btn.save-now:hover,
356
  .eael-header-bar .eael-btn.save-now:hover {
357
  background: #ff5544;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
358
  }
355
  .eael-save-btn-wrap .eael-btn.save-now:hover,
356
  .eael-header-bar .eael-btn.save-now:hover {
357
  background: #ff5544;
358
+ }
359
+
360
+ /* Admin Blocks */
361
+
362
+ .eael-admin-general-wrapper {
363
+ width: 100%;
364
+ display: flex;
365
+ flex-flow: row wrap;
366
+ align-content: center;
367
+ }
368
+ .eael-admin-general-wrapper .eael-admin-general-inner {
369
+ max-width: 70em;
370
+ height: auto;
371
+ flex: 1 1 70%;
372
+ }
373
+ .eael-admin-general-wrapper .eael-sidebar {
374
+ flex: 1 1 200px;
375
+ padding: 20px;
376
+ }
377
+ .eael-admin-block-wrapper {
378
+ display: flex;
379
+ flex-flow: row wrap;
380
+ justify-content: space-between;
381
+ margin: -10px;
382
+ }
383
+ .eael-admin-block-wrapper .eael-admin-block {
384
+ background-color: #fff;
385
+ flex: 1 1 auto;
386
+ min-width: 250px;
387
+ width: 300px;
388
+ margin: 10px 10px 25px 10px;
389
+ box-shadow: 0 1px 4px rgba(0,0,0,0.1);
390
+ }
391
+ .eael-admin-block-large,
392
+ .eael-sidebar-widget {
393
+ background: #fff;
394
+ margin-bottom: 25px;
395
+ padding: 1em;
396
+ box-shadow: 0 1px 4px rgba(0,0,0,0.1);
397
+ }
398
+ .eael-admin-block-header {
399
+ max-height: 4em;
400
+ overflow: hidden;
401
+ border-bottom: 1px solid rgba(0,0,0,0.1);
402
+ background-color: #fff;
403
+ box-shadow: 0 1px 4px rgba(0,0,0,0.065);
404
+ display: flex;
405
+ align-content: center;
406
+ align-items: center;
407
+ }
408
+ .eael-admin-block-header-icon {
409
+ width: 42px;
410
+ box-shadow: 1px 0 0 0 rgba(0,0,0,0.1);
411
+ padding: 10px;
412
+ }
413
+ .eael-admin-block-header-icon svg {
414
+ width: 80%;
415
+ display: block;
416
+ margin: 0 auto;
417
+ }
418
+ .eael-admin-block-review .eael-admin-block-header-icon svg {
419
+ width: 100%;
420
+ }
421
+ .eael-admin-block-support .eael-admin-block-header-icon {
422
+ width: 30px;
423
+ }
424
+ .eael-settings-tab .eael-admin-title {
425
+ margin: 1em 0;
426
+ padding: 0 1.26582em;
427
+ font-size: 1.185em;
428
+ font-weight: 600;
429
+ text-overflow: ellipsis;
430
+ white-space: nowrap;
431
+ }
432
+ .eael-admin-block-content {
433
+ overflow: hidden;
434
+ position: relative;
435
+ padding: 1em 1.5em 1.5em;
436
+ background-color: #fff;
437
+ }
438
+ .eael-preview-img {
439
+ width: 100%;
440
+ }
441
+
442
+ .eael-admin-sidebar {
443
+ flex: 1 1 200px;
444
+ padding: 20px;
445
+ }
446
+ .eael-sidebar-block {
447
+ margin: calc(10% + 1.5em) auto;
448
+ }
449
+ .eael-sidebar-block .eael-admin-sidebar-logo {
450
+ max-width: 150px;
451
+ display: block;
452
+ margin: 0 auto;
453
+ }
454
+ .eael-sidebar-block .eael-admin-sidebar-logo > img, .eael-sidebar-block .eael-admin-sidebar-logo > svg {
455
+ width: 100%;
456
+ display: block;
457
+ margin: 10px auto;
458
+ }
459
+ .eael-admin-sidebar-cta a {
460
+ font-size: 1em;
461
+ color: rgba(35,40,45,0.45);
462
+ text-decoration: none;
463
+ text-transform: uppercase;
464
+ letter-spacing: .065em;
465
+ text-align: center;
466
+ margin: 20px auto;
467
+ display: block;
468
+ border: 1px solid rgba(35,40,45,0.185);
469
+ border-radius: 4px;
470
+ padding: 15px;
471
+ width: 200px;
472
+ outline: none;
473
+ box-shadow: none;
474
+ transition: all .3s;
475
+ }
476
+
477
+ .eael-admin-sidebar-cta a:hover {
478
+ color: #23282d;
479
+ box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.715);
480
  }
admin/assets/images/ea-icon-color.png ADDED
Binary file
admin/settings.php CHANGED
@@ -135,21 +135,74 @@ class Eael_Admin_Settings {
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">
143
- <a href="https://essential-addons.com/elementor/" target="_blank" class="button eael-btn eael-demo-btn">Explore Demos</a>
144
- <a href="https://wpdeveloper.net/review-essential-addons-elementor" target="_blank" class="button eael-btn eael-review-btn">Leave a review</a>
145
- <a href="https://wpdeveloper.net/in/upgrade-essential-addons-elementor" target="_blank" class="button eael-btn eael-license-btn">Get Pro License</a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
146
 
147
- <div class="eael-notice">
148
- <h5>Troubleshooting Info</h5>
149
- <p>After update, if you see any element is not working properly, go to <strong>Elements</strong> Tab, toggle the element and save changes.</p>
150
- </div>
151
  </div>
152
- </div>
 
 
 
 
 
 
 
 
 
 
153
  </div>
154
  <div id="elements" class="eael-settings-tab">
155
  <div class="row">
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 eael-admin-general-wrapper">
139
+ <div class="eael-admin-general-inner">
140
+ <div class="eael-admin-block-large">
141
+ <img class="eael-preview-img" src="<?php echo plugins_url( '/', __FILE__ ).'assets/images/eael-featured.png'; ?>">
142
+ </div><!--preview image end-->
143
+ <div class="eael-admin-block-wrapper">
144
+ <div class="eael-admin-block eael-admin-block-docs">
145
+ <header class="eael-admin-block-header">
146
+ <div class="eael-admin-block-header-icon">
147
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 46 46"><defs><style>.cls-1{fill:#1abc9c;}</style></defs><title>Documentation</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><rect class="cls-1" x="15.84" y="17.13" width="14.32" height="1.59"/><rect class="cls-1" x="15.84" y="24.19" width="14.32" height="1.59"/><rect class="cls-1" x="15.84" y="20.66" width="14.32" height="1.59"/><path class="cls-1" d="M23,0A23,23,0,1,0,46,23,23,23,0,0,0,23,0Zm5.47,9.9,4.83,4.4H28.47Zm-2.29,23v3.2H15.49a2.79,2.79,0,0,1-2.79-2.79V12.69A2.79,2.79,0,0,1,15.49,9.9H27.28v5.59h6V27.72H15.84v1.59H29.78v1.94H15.84v1.59H26.19Zm11.29,2.52H33.88V39H31.37V35.42H27.78V32.9h3.59V29.31h2.52V32.9h3.59Z"/></g></g><head xmlns=""/></svg>
148
+ </div>
149
+ <h4 class="eael-admin-title">Documentation</h4>
150
+ </header>
151
+ <div class="eael-admin-block-content">
152
+ <p>Get started by spending some time with the documentation to get familiar with Essential Addons. Build awesome websites for you or your clients with ease.</a></p>
153
+ <a href="https://essential-addons.com/elementor/docs/" class="button button-primary" target="_blank">Documentation</a>
154
+ </div>
155
+ </div>
156
+ <div class="eael-admin-block eael-admin-block-contribution">
157
+ <header class="eael-admin-block-header">
158
+ <div class="eael-admin-block-header-icon">
159
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 46 45.69"><defs><style>.flexia-icon-bug{fill:#9b59b6;}</style></defs><title>Bugs</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path class="flexia-icon-bug" d="M18.87,28.37,9.16,38.08A8.66,8.66,0,0,0,14.49,40h4.38a9.55,9.55,0,0,0,2.28-.38v5.14a1,1,0,0,0,1.9,0v-5.9A4.83,4.83,0,0,0,25,37.31l.76-.76a.92.92,0,0,0,0-1.33Z"/><path class="flexia-icon-bug" d="M11.64,21.13c-.19-.19-.57-.38-.76-.19H9c-.38,0-.57,0-.76.38L7.07,23H1.17a1,1,0,1,0,0,1.9H6.31a9.56,9.56,0,0,0-.38,2.28V31.6a8.66,8.66,0,0,0,1.9,5.33l9.71-9.71Z"/><path class="flexia-icon-bug" d="M24.39,14.47c.19.19.38.19.76.19a.7.7,0,0,0,.57-.19.92.92,0,0,0,.38-1.14,11.08,11.08,0,0,1-1-3,.87.87,0,0,0-1-.76H22.3a1,1,0,0,0-.76.38,1.14,1.14,0,0,0-.19.76,2.35,2.35,0,0,0,.76,1.52Z"/><path class="flexia-icon-bug" d="M35.81,28.56h3.43a1,1,0,0,0,0-1.9H33.91L20.77,13.52A5.2,5.2,0,0,1,19.25,9.9V6.66a.9.9,0,0,0-1-1h-.19A13.52,13.52,0,0,0,16.21,3,9.12,9.12,0,0,0,9.54,0a9.71,9.71,0,0,0-5.9,2.09,1.44,1.44,0,0,0-.38.76,1,1,0,0,0,.38.76L9.54,7a5.39,5.39,0,0,1-2.86,4.19l-5.14-3a.85.85,0,0,0-1,0c-.38.19-.57.38-.57.76a8.9,8.9,0,0,0,2.67,7,9.53,9.53,0,0,0,6.85,3,4.1,4.1,0,0,0,2.09-.38L26.87,33.89,37.15,44.17a5.2,5.2,0,0,0,3.62,1.52,5,5,0,0,0,4.95-4.95,5.2,5.2,0,0,0-1.52-3.62Z"/><path class="flexia-icon-bug" d="M34.86,24.75c.19.19.38.19.76.19H36a1,1,0,0,0,.57-1V21.51c0-.38-.38-1-.76-1a7,7,0,0,1-3.43-.76.92.92,0,0,0-1.14.38c-.19.38-.19,1,.19,1.14Z"/><path class="flexia-icon-bug" d="M45.71,9.9c-1.52-1.52-5.14-.38-7,.57L35.81,7.62c.76-2.09,1.9-5.71.57-7a.92.92,0,0,0-1.33,0,.92.92,0,0,0,0,1.33c.38.38,0,2.67-1,5.14L28,8a.87.87,0,0,0-.76,1C26.87,14.28,31.63,19,37.34,19c.38,0,1-.38,1-.76l1-6.09c2.47-1,4.76-1.33,5.14-1A.94.94,0,1,0,45.71,9.9Z"/></g></g><head xmlns=""/></svg>
160
+ </div>
161
+ <h4 class="eael-admin-title">Contribute to Essential Addons</h4>
162
+ </header>
163
+ <div class="eael-admin-block-content">
164
+ <p>You can contribute to make Essential Addons better reporting bugs, creating issues, pull requests at <a href="https://github.com/rupok/essential-addons-elementor-lite/" target="_blank">Github.</a></p>
165
+ <a href="https://github.com/rupok/essential-addons-elementor-lite/issues/new" class="button button-primary" target="_blank">Report a bug</a>
166
+ </div>
167
+ </div>
168
+ <div class="eael-admin-block eael-admin-block-support">
169
+ <header class="eael-admin-block-header">
170
+ <div class="eael-admin-block-header-icon">
171
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.22 42.58"><defs><style>.flexia-icon-support{fill:#6c75ff;}</style></defs><title>Flexia Support</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path class="flexia-icon-support" d="M6.36,29.34l1.09-1.09h8l-5.08-9.18-3.76.76a2.64,2.64,0,0,0-2,1.91L.09,36.31a2.64,2.64,0,0,0,2.55,3.31H6.36V29.34Z"/><path class="flexia-icon-support" d="M32.13,36.31,27.67,21.75a2.64,2.64,0,0,0-2.06-1.92l-3.74-.71-5.06,9.13h8.56l1.09,1.09V39.62h3.12a2.64,2.64,0,0,0,2.55-3.31Z"/><polygon class="flexia-icon-support" points="8.54 39.62 8.24 39.62 8.24 39.62 23.98 39.62 23.98 39.62 24.28 39.62 24.28 30.43 8.54 30.43 8.54 39.62"/><rect class="flexia-icon-support" x="4.19" y="40.61" width="23.83" height="1.97"/><path class="flexia-icon-support" d="M7.62,12.65c0,.09.1.22.15.36a3.58,3.58,0,0,0,.68,1.22c1.21,3.94,4.33,6.68,7.64,6.67s6.38-2.77,7.55-6.72A3.61,3.61,0,0,0,24.31,13c.06-.14.11-.27.15-.36a2,2,0,0,0-.33-2.41V10.1C24.12,5.2,23.48,0,16,0S7.92,5,7.94,10.15c0,0,0,.06,0,.09A2,2,0,0,0,7.62,12.65Zm1-1.58h0A.55.55,0,0,0,9,10.83l1.3.2a.28.28,0,0,0,.3-.16L11.39,9a35.31,35.31,0,0,0,7.2,1,7.76,7.76,0,0,0,2.11-.25L21.23,11a.27.27,0,0,0,.25.17h.07l1.51-.43a.56.56,0,0,0,.31.3h0c.23.11.3.6.06,1.09-.06.12-.12.27-.18.43a4.18,4.18,0,0,1-.4.82.55.55,0,0,0-.26.33c-1,3.58-3.68,6.08-6.54,6.09s-5.6-2.48-6.63-6a.55.55,0,0,0-.26-.33,4.3,4.3,0,0,1-.41-.82c-.06-.15-.13-.3-.18-.42C8.37,11.68,8.44,11.19,8.67,11.08Z"/></g></g><head xmlns=""/></svg>
172
+ </div>
173
+ <h4 class="eael-admin-title">Need Help?</h4>
174
+ </header>
175
+ <div class="eael-admin-block-content">
176
+ <p>Stuck with something? Get help from the community on <a href="https://wordpress.org/support/plugin/essential-addons-for-elementor-lite" target="_blank">WordPress Support Forum</a> or <a href="https://www.facebook.com/groups/essentialaddons/" target="_blank">Facebook Community.</a> In case of emergency, initiate a live chat at <a href="https://wpdeveloper.net" target="_blank">WPDeveloper.net.</a></p>
177
+ <a href="https://wordpress.org/support/plugin/essential-addons-for-elementor-lite" class="button button-primary" target="_blank">Get Community Support</a>
178
+ </div>
179
+ </div>
180
+ <div class="eael-admin-block eael-admin-block-review">
181
+ <header class="eael-admin-block-header">
182
+ <div class="eael-admin-block-header-icon">
183
+ <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;"/></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;"/></g></g></svg>
184
+ </div>
185
+ <h4 class="eael-admin-title">Show your Love</h4>
186
+ </header>
187
+ <div class="eael-admin-block-content">
188
+ <p>We love to have you in Essential Addons family. We are making it more awesome everyday. Take your 2 minutes to review the theme and spread the love to encourage us to keep it going.</p>
189
 
190
+ <a href="https://wpdeveloper.net/review-essential-addons-elementor" class="review-flexia button button-primary" target="_blank">Leave a Review</a>
191
+ </div>
192
+ </div>
193
+ </div><!--admin block-wrapper end-->
194
  </div>
195
+ <div class="eael-admin-sidebar">
196
+ <div class="eael-sidebar-block">
197
+ <div class="eael-admin-sidebar-logo">
198
+ <img src="<?php echo plugins_url( '/', __FILE__ ).'assets/images/ea-icon-color.png'; ?>">
199
+ </div>
200
+ <div class="eael-admin-sidebar-cta">
201
+ <?php printf( __( '<a href="%s" target="_blank">Upgrade to Pro</a>', 'essential-addons-elementor' ), 'https://wpdeveloper.net/in/upgrade-essential-addons-elementor' ); ?>
202
+ </div>
203
+ </div>
204
+ </div><!--admin sidebar end-->
205
+ </div><!--Row end-->
206
  </div>
207
  <div id="elements" class="eael-settings-tab">
208
  <div class="row">
assets/css/essential-addons-elementor.css CHANGED
@@ -2435,18 +2435,58 @@ h2.eael-elements-flip-box-heading {
2435
  .eael-pricing.style-1 .eael-pricing-item.featured {
2436
  position: relative;
2437
  }
2438
- .eael-pricing.style-1 .eael-pricing-item.featured:before {
2439
- content: "";
2440
- position: absolute;
2441
- width: 100%;
2442
- height: 3px;
2443
- background: #00C853;
2444
- top: 0px;
2445
- left: 0px;
2446
- right: 0px;
2447
- z-index: 1;
2448
- -webkit-border-radius: 5px 5px 0px 0px;
2449
- border-radius: 5px 5px 0px 0px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2450
  }
2451
  .eael-pricing.style-1 .eael-pricing-item .header {
2452
  display: block;
@@ -2498,17 +2538,9 @@ h2.eael-elements-flip-box-heading {
2498
  line-height: 0px;
2499
  margin: 0px auto;
2500
  }
2501
- .eael-pricing.style-1 .eael-pricing-item .price-tag:before {
2502
- content: "$";
2503
- position: absolute;
2504
- width: 10px;
2505
- height: 10px;
2506
- font-size: 16px;
2507
  font-weight: 700;
2508
- color: #00C853;
2509
- top: -7px;
2510
- left: -12px;
2511
- z-index: 1;
2512
  }
2513
  .eael-pricing.style-1 .eael-pricing-item .price-period {
2514
  color: #999;
@@ -2533,6 +2565,7 @@ h2.eael-elements-flip-box-heading {
2533
  .eael-pricing.style-1 .eael-pricing-item.featured-large {
2534
  padding: 60px 0px;
2535
  }
 
2536
  /* Pricing Table : Style 2 */
2537
 
2538
  .eael-pricing.style-2 {
@@ -2550,6 +2583,59 @@ h2.eael-elements-flip-box-heading {
2550
  -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
2551
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
2552
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2553
  .eael-pricing.style-2 .eael-pricing-item .eael-pricing-icon {} .eael-pricing.style-2 .eael-pricing-item .eael-pricing-icon .icon {
2554
  display: inline-block;
2555
  position: relative;
@@ -2635,17 +2721,10 @@ h2.eael-elements-flip-box-heading {
2635
  line-height: 0px;
2636
  margin: 0px auto;
2637
  }
2638
- .eael-pricing.style-2 .eael-pricing-item .price-tag:before {
2639
- content: "$";
2640
- position: absolute;
2641
- width: 10px;
2642
- height: 10px;
2643
- font-size: 16px;
2644
  font-weight: 700;
2645
  color: #00C853;
2646
- top: -7px;
2647
- left: -12px;
2648
- z-index: 1;
2649
  }
2650
  .eael-pricing.style-2 .eael-pricing-item .price-period {
2651
  color: #999;
2435
  .eael-pricing.style-1 .eael-pricing-item.featured {
2436
  position: relative;
2437
  }
2438
+ .eael-pricing.style-1 .eael-pricing-item.ribbon-1:before {
2439
+ content: "";
2440
+ position: absolute;
2441
+ width: 100%;
2442
+ height: 3px;
2443
+ background: #00C853;
2444
+ top: 0px;
2445
+ left: 0px;
2446
+ right: 0px;
2447
+ z-index: 1;
2448
+ -webkit-border-radius: 5px 5px 0px 0px;
2449
+ border-radius: 5px 5px 0px 0px;
2450
+ }
2451
+ .eael-pricing.style-1 .eael-pricing-item.ribbon-2:before {
2452
+ content: "Featured";
2453
+ position: absolute;
2454
+ width: auto;
2455
+ background: #00C853;
2456
+ color: #fff;
2457
+ top: 35px;
2458
+ right: -15px;
2459
+ z-index: 10;
2460
+ font-size: 10px;
2461
+ font-weight: 600;
2462
+ text-transform: uppercase;
2463
+ padding: 5px 10px;
2464
+ }
2465
+ .eael-pricing.style-1 .eael-pricing-item.ribbon-2:after {
2466
+ content: "";
2467
+ position: absolute;
2468
+ top: 20px;
2469
+ right: -15px;
2470
+ width: 0;
2471
+ height: 0;
2472
+ border-bottom: 15px solid #00C853;
2473
+ border-right: 15px solid transparent;
2474
+ z-index: 9;
2475
+ opacity: 0.9;
2476
+ }
2477
+ .eael-pricing.style-1 .eael-pricing-item.ribbon-3:before {
2478
+ content: "Featured";
2479
+ position: absolute;
2480
+ width: auto;
2481
+ background: rgba( 0,0,0,0.6 );
2482
+ color: #fff;
2483
+ top: 15px;
2484
+ right: 15px;
2485
+ z-index: 10;
2486
+ font-size: 11px;
2487
+ font-weight: 600;
2488
+ text-transform: uppercase;
2489
+ padding: 5px 15px;
2490
  }
2491
  .eael-pricing.style-1 .eael-pricing-item .header {
2492
  display: block;
2538
  line-height: 0px;
2539
  margin: 0px auto;
2540
  }
2541
+ .eael-pricing.style-1 .eael-pricing-item .price-tag .price-currency {
2542
+ font-size: 24px;
 
 
 
 
2543
  font-weight: 700;
 
 
 
 
2544
  }
2545
  .eael-pricing.style-1 .eael-pricing-item .price-period {
2546
  color: #999;
2565
  .eael-pricing.style-1 .eael-pricing-item.featured-large {
2566
  padding: 60px 0px;
2567
  }
2568
+
2569
  /* Pricing Table : Style 2 */
2570
 
2571
  .eael-pricing.style-2 {
2583
  -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
2584
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
2585
  }
2586
+ .eael-pricing.style-2 .eael-pricing-item.ribbon-1:before {
2587
+ content: "";
2588
+ position: absolute;
2589
+ width: 100%;
2590
+ height: 3px;
2591
+ background: #00C853;
2592
+ top: 0px;
2593
+ left: 0px;
2594
+ right: 0px;
2595
+ z-index: 1;
2596
+ -webkit-border-radius: 5px 5px 0px 0px;
2597
+ border-radius: 5px 5px 0px 0px;
2598
+ }
2599
+ .eael-pricing.style-2 .eael-pricing-item.ribbon-2:before {
2600
+ content: "Featured";
2601
+ position: absolute;
2602
+ width: auto;
2603
+ background: #00C853;
2604
+ color: #fff;
2605
+ top: 35px;
2606
+ right: -15px;
2607
+ z-index: 10;
2608
+ font-size: 10px;
2609
+ font-weight: 600;
2610
+ text-transform: uppercase;
2611
+ padding: 5px 10px;
2612
+ }
2613
+ .eael-pricing.style-2 .eael-pricing-item.ribbon-2:after {
2614
+ content: "";
2615
+ position: absolute;
2616
+ top: 20px;
2617
+ right: -15px;
2618
+ width: 0;
2619
+ height: 0;
2620
+ border-bottom: 15px solid #00C853;
2621
+ border-right: 15px solid transparent;
2622
+ z-index: 9;
2623
+ opacity: 0.9;
2624
+ }
2625
+ .eael-pricing.style-2 .eael-pricing-item.ribbon-3:before {
2626
+ content: "Featured";
2627
+ position: absolute;
2628
+ width: auto;
2629
+ background: rgba( 0,0,0,0.6 );
2630
+ color: #fff;
2631
+ top: 15px;
2632
+ right: 15px;
2633
+ z-index: 10;
2634
+ font-size: 11px;
2635
+ font-weight: 600;
2636
+ text-transform: uppercase;
2637
+ padding: 5px 15px;
2638
+ }
2639
  .eael-pricing.style-2 .eael-pricing-item .eael-pricing-icon {} .eael-pricing.style-2 .eael-pricing-item .eael-pricing-icon .icon {
2640
  display: inline-block;
2641
  position: relative;
2721
  line-height: 0px;
2722
  margin: 0px auto;
2723
  }
2724
+ .eael-pricing.style-2 .eael-pricing-item .price-tag .price-currency {
2725
+ font-size: 24px;
 
 
 
 
2726
  font-weight: 700;
2727
  color: #00C853;
 
 
 
2728
  }
2729
  .eael-pricing.style-2 .eael-pricing-item .price-period {
2730
  color: #999;
elements/pricing-table/pricing-table.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php
2
  namespace Elementor;
3
 
4
  if ( ! defined( 'ABSPATH' ) ) exit; // If this file is called directly, abort.
@@ -20,7 +20,7 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
20
  public function get_categories() {
21
  return [ 'essential-addons-elementor' ];
22
  }
23
-
24
  protected function _register_controls() {
25
 
26
  /**
@@ -73,7 +73,7 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
73
  ]
74
  );
75
 
76
- $this->add_control(
77
  'eael_pricing_table_title',
78
  [
79
  'label' => esc_html__( 'Title', 'essential-addons-elementor' ),
@@ -86,7 +86,7 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
86
  /**
87
  * Condition: 'eael_pricing_table_style' => 'style-2'
88
  */
89
- $this->add_control(
90
  'eael_pricing_table_sub_title',
91
  [
92
  'label' => esc_html__( 'Sub Title', 'essential-addons-elementor' ),
@@ -126,7 +126,7 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
126
  ]
127
  );
128
 
129
- $this->add_control(
130
  'eael_pricing_table_price',
131
  [
132
  'label' => esc_html__( 'Price', 'essential-addons-elementor' ),
@@ -136,39 +136,33 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
136
  ]
137
  );
138
 
139
- $this->add_control(
140
  'eael_pricing_table_price_cur',
141
  [
142
  'label' => esc_html__( 'Price Currency', 'essential-addons-elementor' ),
143
  'type' => Controls_Manager::TEXT,
144
  'label_block' => false,
145
  'default' => esc_html__( '$', 'essential-addons-elementor' ),
146
- 'selectors' => [
147
- '{{WRAPPER}} .eael-pricing .eael-pricing-item .price-tag:before ' => 'content: "{{VALUE}}";',
148
- ],
149
  ]
150
  );
151
 
152
- $this->add_responsive_control(
153
- 'eael_pricing_table_price_cur_alignment',
154
- [
155
- 'label' => esc_html__( 'Alignment', 'essential-addons-elementor' ),
156
- 'type' => Controls_Manager::SLIDER,
157
- 'default' => [
158
- 'size' => 12
159
- ],
160
- 'range' => [
161
- 'px' => [
162
- 'max' => 100,
163
- ],
164
- ],
165
- 'selectors' => [
166
- '{{WRAPPER}} .eael-pricing-item .price-tag:before' => 'left: -{{SIZE}}px;',
167
- ],
168
- ]
169
  );
170
 
171
- $this->add_control(
172
  'eael_pricing_table_price_period',
173
  [
174
  'label' => esc_html__( 'Price Period (per)', 'essential-addons-elementor' ),
@@ -178,6 +172,16 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
178
  ]
179
  );
180
 
 
 
 
 
 
 
 
 
 
 
181
  $this->end_controls_section();
182
 
183
  /**
@@ -270,7 +274,7 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
270
  ],
271
  ]
272
  );
273
-
274
  $this->add_control(
275
  'eael_pricing_table_button_icon_indent',
276
  [
@@ -291,7 +295,7 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
291
  ]
292
  );
293
 
294
- $this->add_control(
295
  'eael_pricing_table_btn',
296
  [
297
  'label' => esc_html__( 'Button Text', 'essential-addons-elementor' ),
@@ -301,7 +305,7 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
301
  ]
302
  );
303
 
304
- $this->add_control(
305
  'eael_pricing_table_btn_link',
306
  [
307
  'label' => esc_html__( 'Button Link', 'essential-addons-elementor' ),
@@ -337,10 +341,27 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
337
  ]
338
  );
339
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
340
  /**
341
- * Condition: 'eael_pricing_table_featured' => 'yes'
342
  */
343
- $this->add_control(
344
  'eael_pricing_table_featured_tag_text',
345
  [
346
  'label' => esc_html__( 'Featured Tag Text', 'essential-addons-elementor' ),
@@ -348,10 +369,11 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
348
  'label_block' => false,
349
  'default' => esc_html__( 'Featured', 'essential-addons-elementor' ),
350
  'selectors' => [
351
- '{{WRAPPER}} .eael-pricing.style-3 .eael-pricing-item.featured:before' => 'content: "{{VALUE}}";',
352
- '{{WRAPPER}} .eael-pricing.style-4 .eael-pricing-item.featured:before' => 'content: "{{VALUE}}";',
353
  ],
354
  'condition' => [
 
355
  'eael_pricing_table_featured' => 'yes'
356
  ]
357
  ]
@@ -632,7 +654,7 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
632
  'eael_pricing_table_style!' => 'style-1'
633
  ]
634
  ]
635
-
636
  );
637
 
638
  $this->add_control(
@@ -656,14 +678,31 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
656
  ]
657
  );
658
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
659
  $this->add_control(
660
- 'eael_pricing_table_pricing_icon_color',
661
  [
662
- 'label' => esc_html__( 'Currency Color', 'essential-addons-elementor' ),
663
  'type' => Controls_Manager::COLOR,
664
- 'default' => '',
665
  'selectors' => [
666
- '{{WRAPPER}} .eael-pricing-item .price-tag:before' => 'color: {{VALUE}};',
667
  ],
668
  ]
669
  );
@@ -671,8 +710,8 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
671
  $this->add_group_control(
672
  Group_Control_Typography::get_type(),
673
  [
674
- 'name' => 'eael_pricing_table_price_tag_typography',
675
- 'selector' => '{{WRAPPER}} .eael-pricing-item .price-tag',
676
  ]
677
  );
678
 
@@ -746,9 +785,6 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
746
  [
747
  'label' => esc_html__( 'Ribbon Style', 'essential-addons-elementor' ),
748
  'tab' => Controls_Manager::TAB_STYLE,
749
- 'condition' => [
750
- 'eael_pricing_table_style' => [ 'style-1' ]
751
- ]
752
  ]
753
  );
754
 
@@ -759,11 +795,14 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
759
  'type' => Controls_Manager::COLOR,
760
  'default' => '#00C853',
761
  'selectors' => [
762
- '{{WRAPPER}} .eael-pricing.style-1 .eael-pricing-item.featured:before' => 'background: {{VALUE}};',
 
 
 
763
  ],
764
  'condition' => [
765
- 'eael_pricing_table_style' => 'style-1',
766
- 'eael_pricing_table_featured' => 'yes'
767
  ],
768
  ]
769
  );
@@ -782,11 +821,14 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
782
  ],
783
  ],
784
  'selectors' => [
785
- '{{WRAPPER}} .eael-pricing.style-1 .eael-pricing-item.featured:before' => 'height: {{SIZE}}px;',
 
 
 
786
  ],
787
  'condition' => [
788
- 'eael_pricing_table_style' => 'style-1',
789
- 'eael_pricing_table_featured' => 'yes'
790
  ],
791
  ]
792
  );
@@ -805,11 +847,20 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
805
  ],
806
  ],
807
  'selectors' => [
808
- '{{WRAPPER}} .eael-pricing.style-3 .eael-pricing-item.featured:before' => 'font-size: {{SIZE}}px;',
809
- '{{WRAPPER}} .eael-pricing.style-4 .eael-pricing-item.featured:before' => 'font-size: {{SIZE}}px;',
 
 
 
 
 
 
 
 
810
  ],
811
  'condition' => [
812
- 'eael_pricing_table_featured' => 'yes'
 
813
  ],
814
  ]
815
  );
@@ -821,11 +872,19 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
821
  'type' => Controls_Manager::COLOR,
822
  'default' => '',
823
  'selectors' => [
824
- '{{WRAPPER}} .eael-pricing.style-3 .eael-pricing-item.featured:before' => 'color: {{VALUE}};',
825
- '{{WRAPPER}} .eael-pricing.style-4 .eael-pricing-item.featured:before' => 'color: {{VALUE}};',
 
 
 
 
 
 
 
826
  ],
827
  'condition' => [
828
- 'eael_pricing_table_featured' => 'yes'
 
829
  ],
830
  ]
831
  );
@@ -837,12 +896,25 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
837
  'type' => Controls_Manager::COLOR,
838
  'default' => '',
839
  'selectors' => [
840
- '{{WRAPPER}} .eael-pricing.style-3 .eael-pricing-item.featured:before' => 'background: {{VALUE}};',
841
- '{{WRAPPER}} .eael-pricing.style-3 .eael-pricing-item.featured:after' => 'border-bottom-color: {{VALUE}};',
842
- '{{WRAPPER}} .eael-pricing.style-4 .eael-pricing-item.featured:before' => 'background: {{VALUE}};',
 
 
 
 
 
 
 
 
 
 
 
 
843
  ],
844
  'condition' => [
845
- 'eael_pricing_table_featured' => 'yes'
 
846
  ],
847
  ]
848
  );
@@ -1223,13 +1295,13 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
1223
 
1224
 
1225
  protected function render( ) {
1226
-
1227
  $settings = $this->get_settings();
1228
  $pricing_table_image = $this->get_settings( 'eael_pricing_table_image' );
1229
- $pricing_table_image_url = Group_Control_Image_Size::get_attachment_image_src( $pricing_table_image['id'], 'thumbnail', $settings );
1230
  $target = $settings['eael_pricing_table_btn_link']['is_external'] ? 'target="_blank"' : '';
1231
  $nofollow = $settings['eael_pricing_table_btn_link']['nofollow'] ? 'rel="nofollow"' : '';
1232
- if( 'yes' === $settings['eael_pricing_table_featured'] ) : $featured_class = 'featured'; else : $featured_class = ''; endif;
1233
  ?>
1234
  <?php if( 'style-1' === $settings['eael_pricing_table_style'] || 'style-3' === $settings['eael_pricing_table_style'] || 'style-4' === $settings['eael_pricing_table_style'] ) : ?>
1235
  <div class="eael-pricing style-1">
@@ -1238,21 +1310,21 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
1238
  <h2 class="title"><?php echo $settings['eael_pricing_table_title']; ?></h2>
1239
  </div>
1240
  <div class="eael-pricing-tag">
1241
- <span class="price-tag"><?php echo $settings['eael_pricing_table_price'] ?></span> <span class="price-period">/ <?php echo $settings['eael_pricing_table_price_period']; ?></span>
1242
  </div>
1243
  <div class="body">
1244
  <ul>
1245
- <?php
1246
- foreach( $settings['eael_pricing_table_items'] as $item ) :
1247
  if( 'yes' === $item['eael_pricing_table_icon_mood'] ) : $icon_mood = ''; else : $icon_mood = 'disable-item'; endif;
1248
  ?>
1249
  <li class="<?php echo esc_attr( $icon_mood ); ?>">
1250
  <?php if( 'show' === $settings['eael_pricing_table_icon_enabled'] ) : ?>
1251
- <span class="li-icon" style="color:<?php echo esc_attr( $item['eael_pricing_table_list_icon_color'] ); ?>"><i class="<?php echo esc_attr( $item['eael_pricing_table_list_icon'] ); ?>"></i></span>
1252
  <?php endif; ?>
1253
  <?php echo $item['eael_pricing_table_item']; ?>
1254
  </li>
1255
- <?php endforeach; ?>
1256
  </ul>
1257
  </div>
1258
  <div class="footer">
@@ -1279,21 +1351,21 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
1279
  <span class="subtitle"><?php echo $settings['eael_pricing_table_sub_title']; ?></span>
1280
  </div>
1281
  <div class="eael-pricing-tag">
1282
- <span class="price-tag"><?php echo $settings['eael_pricing_table_price'] ?></span> <span class="price-period">/ <?php echo $settings['eael_pricing_table_price_period']; ?></span>
1283
  </div>
1284
  <div class="body">
1285
  <ul>
1286
- <?php
1287
- foreach( $settings['eael_pricing_table_items'] as $item ) :
1288
  if( 'yes' === $item['eael_pricing_table_icon_mood'] ) : $icon_mood = ''; else : $icon_mood = 'disable-item'; endif;
1289
  ?>
1290
  <li class="<?php echo esc_attr( $icon_mood ); ?>">
1291
  <?php if( 'show' === $settings['eael_pricing_table_icon_enabled'] ) : ?>
1292
- <span class="li-icon" style="color:<?php echo esc_attr( $item['eael_pricing_table_list_icon_color'] ); ?>"><i class="<?php echo esc_attr( $item['eael_pricing_table_list_icon'] ); ?>"></i></span>
1293
  <?php endif; ?>
1294
  <?php echo $item['eael_pricing_table_item']; ?>
1295
  </li>
1296
- <?php endforeach; ?>
1297
  </ul>
1298
  </div>
1299
  <div class="footer">
@@ -1314,10 +1386,10 @@ class Widget_Eael_Pricing_Table extends Widget_Base {
1314
  }
1315
 
1316
  protected function content_template() {
1317
-
1318
  ?>
1319
-
1320
-
1321
  <?php
1322
  }
1323
  }
1
+ <?php
2
  namespace Elementor;
3
 
4
  if ( ! defined( 'ABSPATH' ) ) exit; // If this file is called directly, abort.
20
  public function get_categories() {
21
  return [ 'essential-addons-elementor' ];
22
  }
23
+
24
  protected function _register_controls() {
25
 
26
  /**
73
  ]
74
  );
75
 
76
+ $this->add_control(
77
  'eael_pricing_table_title',
78
  [
79
  'label' => esc_html__( 'Title', 'essential-addons-elementor' ),
86
  /**
87
  * Condition: 'eael_pricing_table_style' => 'style-2'
88
  */
89
+ $this->add_control(
90
  'eael_pricing_table_sub_title',
91
  [
92
  'label' => esc_html__( 'Sub Title', 'essential-addons-elementor' ),
126
  ]
127
  );
128
 
129
+ $this->add_control(
130
  'eael_pricing_table_price',
131
  [
132
  'label' => esc_html__( 'Price', 'essential-addons-elementor' ),
136
  ]
137
  );
138
 
139
+ $this->add_control(
140
  'eael_pricing_table_price_cur',
141
  [
142
  'label' => esc_html__( 'Price Currency', 'essential-addons-elementor' ),
143
  'type' => Controls_Manager::TEXT,
144
  'label_block' => false,
145
  'default' => esc_html__( '$', 'essential-addons-elementor' ),
 
 
 
146
  ]
147
  );
148
 
149
+ $this->add_control(
150
+ 'eael_pricing_table_price_cur_placement',
151
+ [
152
+ 'label' => esc_html__( 'Currency Placement', 'essential-addons-elementor' ),
153
+ 'type' => Controls_Manager::SELECT,
154
+ 'default' => 'left',
155
+ 'label_block' => false,
156
+ 'options' => [
157
+ 'left' => esc_html__( 'Left', 'essential-addons-elementor' ),
158
+ 'left-sup' => esc_html__( 'Left (Sup)', 'essential-addons-elementor' ),
159
+ 'right' => esc_html__( 'Right', 'essential-addons-elementor' ),
160
+ 'right-sup' => esc_html__( 'Right (Sup)', 'essential-addons-elementor' ),
161
+ ],
162
+ ]
 
 
 
163
  );
164
 
165
+ $this->add_control(
166
  'eael_pricing_table_price_period',
167
  [
168
  'label' => esc_html__( 'Price Period (per)', 'essential-addons-elementor' ),
172
  ]
173
  );
174
 
175
+ $this->add_control(
176
+ 'eael_pricing_table_period_separator',
177
+ [
178
+ 'label' => esc_html__( 'Period Separator', 'essential-addons-elementor' ),
179
+ 'type' => Controls_Manager::TEXT,
180
+ 'label_block' => false,
181
+ 'default' => esc_html__( '/', 'essential-addons-elementor' )
182
+ ]
183
+ );
184
+
185
  $this->end_controls_section();
186
 
187
  /**
274
  ],
275
  ]
276
  );
277
+
278
  $this->add_control(
279
  'eael_pricing_table_button_icon_indent',
280
  [
295
  ]
296
  );
297
 
298
+ $this->add_control(
299
  'eael_pricing_table_btn',
300
  [
301
  'label' => esc_html__( 'Button Text', 'essential-addons-elementor' ),
305
  ]
306
  );
307
 
308
+ $this->add_control(
309
  'eael_pricing_table_btn_link',
310
  [
311
  'label' => esc_html__( 'Button Link', 'essential-addons-elementor' ),
341
  ]
342
  );
343
 
344
+ $this->add_control(
345
+ 'eael_pricing_table_featured_styles',
346
+ [
347
+ 'label' => esc_html__( 'Ribbon Style', 'essential-addons-elementor' ),
348
+ 'type' => Controls_Manager::SELECT,
349
+ 'default' => 'ribbon-1',
350
+ 'options' => [
351
+ 'ribbon-1' => esc_html__( 'Style 1', 'essential-addons-elementor' ),
352
+ 'ribbon-2' => esc_html__( 'Style 2', 'essential-addons-elementor' ),
353
+ 'ribbon-3' => esc_html__( 'Style 3', 'essential-addons-elementor' ),
354
+ ],
355
+ 'condition' => [
356
+ 'eael_pricing_table_featured' => 'yes',
357
+ ],
358
+ ]
359
+ );
360
+
361
  /**
362
+ * Condition: 'eael_pricing_table_featured_styles' => [ 'ribbon-2', 'ribbon-3' ], 'eael_pricing_table_featured' => 'yes'
363
  */
364
+ $this->add_control(
365
  'eael_pricing_table_featured_tag_text',
366
  [
367
  'label' => esc_html__( 'Featured Tag Text', 'essential-addons-elementor' ),
369
  'label_block' => false,
370
  'default' => esc_html__( 'Featured', 'essential-addons-elementor' ),
371
  'selectors' => [
372
+ '{{WRAPPER}} .eael-pricing.style-1 .eael-pricing-item.featured:before' => 'content: "{{VALUE}}";',
373
+ '{{WRAPPER}} .eael-pricing.style-2 .eael-pricing-item.featured:before' => 'content: "{{VALUE}}";',
374
  ],
375
  'condition' => [
376
+ 'eael_pricing_table_featured_styles' => [ 'ribbon-2', 'ribbon-3' ],
377
  'eael_pricing_table_featured' => 'yes'
378
  ]
379
  ]
654
  'eael_pricing_table_style!' => 'style-1'
655
  ]
656
  ]
657
+
658
  );
659
 
660
  $this->add_control(
678
  ]
679
  );
680
 
681
+ $this->add_group_control(
682
+ Group_Control_Typography::get_type(),
683
+ [
684
+ 'name' => 'eael_pricing_table_price_tag_typography',
685
+ 'selector' => '{{WRAPPER}} .eael-pricing-item .price-tag',
686
+ ]
687
+ );
688
+
689
+ $this->add_control(
690
+ 'eael_pricing_table_price_currency_heading',
691
+ [
692
+ 'label' => esc_html__( 'Price Currency Style', 'essential-addons-elementor' ),
693
+ 'type' => Controls_Manager::HEADING,
694
+ 'separator' => 'before'
695
+ ]
696
+ );
697
+
698
  $this->add_control(
699
+ 'eael_pricing_table_pricing_curr_color',
700
  [
701
+ 'label' => esc_html__( 'Color', 'essential-addons-elementor' ),
702
  'type' => Controls_Manager::COLOR,
703
+ 'default' => '#00C853',
704
  'selectors' => [
705
+ '{{WRAPPER}} .eael-pricing-item .price-tag .price-currency' => 'color: {{VALUE}};',
706
  ],
707
  ]
708
  );
710
  $this->add_group_control(
711
  Group_Control_Typography::get_type(),
712
  [
713
+ 'name' => 'eael_pricing_table_price_cur_typography',
714
+ 'selector' => '{{WRAPPER}} .eael-pricing-item .price-currency',
715
  ]
716
  );
717
 
785
  [
786
  'label' => esc_html__( 'Ribbon Style', 'essential-addons-elementor' ),
787
  'tab' => Controls_Manager::TAB_STYLE,
 
 
 
788
  ]
789
  );
790
 
795
  'type' => Controls_Manager::COLOR,
796
  'default' => '#00C853',
797
  'selectors' => [
798
+ '{{WRAPPER}} .eael-pricing.style-1 .eael-pricing-item.ribbon-1:before' => 'background: {{VALUE}};',
799
+ '{{WRAPPER}} .eael-pricing.style-2 .eael-pricing-item.ribbon-1:before' => 'background: {{VALUE}};',
800
+ '{{WRAPPER}} .eael-pricing.style-3 .eael-pricing-item.ribbon-1:before' => 'background: {{VALUE}};',
801
+ '{{WRAPPER}} .eael-pricing.style-4 .eael-pricing-item.ribbon-1:before' => 'background: {{VALUE}};',
802
  ],
803
  'condition' => [
804
+ 'eael_pricing_table_featured' => 'yes',
805
+ 'eael_pricing_table_featured_styles' => 'ribbon-1'
806
  ],
807
  ]
808
  );
821
  ],
822
  ],
823
  'selectors' => [
824
+ '{{WRAPPER}} .eael-pricing.style-1 .eael-pricing-item.ribbon-1:before' => 'height: {{SIZE}}px;',
825
+ '{{WRAPPER}} .eael-pricing.style-2 .eael-pricing-item.ribbon-1:before' => 'height: {{SIZE}}px;',
826
+ '{{WRAPPER}} .eael-pricing.style-3 .eael-pricing-item.ribbon-1:before' => 'height: {{SIZE}}px;',
827
+ '{{WRAPPER}} .eael-pricing.style-4 .eael-pricing-item.ribbon-1:before' => 'height: {{SIZE}}px;',
828
  ],
829
  'condition' => [
830
+ 'eael_pricing_table_featured' => 'yes',
831
+ 'eael_pricing_table_featured_styles' => 'ribbon-1'
832
  ],
833
  ]
834
  );
847
  ],
848
  ],
849
  'selectors' => [
850
+ '{{WRAPPER}} .eael-pricing.style-1 .eael-pricing-item.ribbon-2:before' => 'font-size: {{SIZE}}px;',
851
+ '{{WRAPPER}} .eael-pricing.style-2 .eael-pricing-item.ribbon-2:before' => 'font-size: {{SIZE}}px;',
852
+ '{{WRAPPER}} .eael-pricing.style-3 .eael-pricing-item.ribbon-2:before' => 'font-size: {{SIZE}}px;',
853
+ '{{WRAPPER}} .eael-pricing.style-4 .eael-pricing-item.ribbon-2:before' => 'font-size: {{SIZE}}px;',
854
+
855
+ '{{WRAPPER}} .eael-pricing.style-1 .eael-pricing-item.ribbon-3:before' => 'font-size: {{SIZE}}px;',
856
+ '{{WRAPPER}} .eael-pricing.style-2 .eael-pricing-item.ribbon-3:before' => 'font-size: {{SIZE}}px;',
857
+ '{{WRAPPER}} .eael-pricing.style-3 .eael-pricing-item.ribbon-3:before' => 'font-size: {{SIZE}}px;',
858
+ '{{WRAPPER}} .eael-pricing.style-4 .eael-pricing-item.ribbon-3:before' => 'font-size: {{SIZE}}px;',
859
+
860
  ],
861
  'condition' => [
862
+ 'eael_pricing_table_featured' => 'yes',
863
+ 'eael_pricing_table_featured_styles' => ['ribbon-2', 'ribbon-3']
864
  ],
865
  ]
866
  );
872
  'type' => Controls_Manager::COLOR,
873
  'default' => '',
874
  'selectors' => [
875
+ '{{WRAPPER}} .eael-pricing.style-1 .eael-pricing-item.ribbon-2:before' => 'color: {{VALUE}};',
876
+ '{{WRAPPER}} .eael-pricing.style-2 .eael-pricing-item.ribbon-2:before' => 'color: {{VALUE}};',
877
+ '{{WRAPPER}} .eael-pricing.style-3 .eael-pricing-item.ribbon-2:before' => 'color: {{VALUE}};',
878
+ '{{WRAPPER}} .eael-pricing.style-4 .eael-pricing-item.ribbon-2:before' => 'color: {{VALUE}};',
879
+
880
+ '{{WRAPPER}} .eael-pricing.style-1 .eael-pricing-item.ribbon-3:before' => 'color: {{VALUE}};',
881
+ '{{WRAPPER}} .eael-pricing.style-2 .eael-pricing-item.ribbon-3:before' => 'color: {{VALUE}};',
882
+ '{{WRAPPER}} .eael-pricing.style-3 .eael-pricing-item.ribbon-3:before' => 'color: {{VALUE}};',
883
+ '{{WRAPPER}} .eael-pricing.style-4 .eael-pricing-item.ribbon-3:before' => 'color: {{VALUE}};',
884
  ],
885
  'condition' => [
886
+ 'eael_pricing_table_featured' => 'yes',
887
+ 'eael_pricing_table_featured_styles' => ['ribbon-2', 'ribbon-3']
888
  ],
889
  ]
890
  );
896
  'type' => Controls_Manager::COLOR,
897
  'default' => '',
898
  'selectors' => [
899
+ '{{WRAPPER}} .eael-pricing.style-1 .eael-pricing-item.ribbon-2:before' => 'background: {{VALUE}};',
900
+ '{{WRAPPER}} .eael-pricing.style-1 .eael-pricing-item.ribbon-2:after' => 'border-bottom-color: {{VALUE}};',
901
+ '{{WRAPPER}} .eael-pricing.style-1 .eael-pricing-item.ribbon-3:before' => 'background: {{VALUE}};',
902
+
903
+ '{{WRAPPER}} .eael-pricing.style-2 .eael-pricing-item.ribbon-2:before' => 'background: {{VALUE}};',
904
+ '{{WRAPPER}} .eael-pricing.style-2 .eael-pricing-item.ribbon-2:after' => 'border-bottom-color: {{VALUE}};',
905
+ '{{WRAPPER}} .eael-pricing.style-2 .eael-pricing-item.ribbon-3:before' => 'background: {{VALUE}};',
906
+
907
+ '{{WRAPPER}} .eael-pricing.style-3 .eael-pricing-item.ribbon-2:before' => 'background: {{VALUE}};',
908
+ '{{WRAPPER}} .eael-pricing.style-3 .eael-pricing-item.ribbon-2:after' => 'border-bottom-color: {{VALUE}};',
909
+ '{{WRAPPER}} .eael-pricing.style-3 .eael-pricing-item.ribbon-3:before' => 'background: {{VALUE}};',
910
+
911
+ '{{WRAPPER}} .eael-pricing.style-4 .eael-pricing-item.ribbon-2:before' => 'background: {{VALUE}};',
912
+ '{{WRAPPER}} .eael-pricing.style-4 .eael-pricing-item.ribbon-2:after' => 'border-bottom-color: {{VALUE}};',
913
+ '{{WRAPPER}} .eael-pricing.style-4 .eael-pricing-item.ribbon-3:before' => 'background: {{VALUE}};',
914
  ],
915
  'condition' => [
916
+ 'eael_pricing_table_featured' => 'yes',
917
+ 'eael_pricing_table_featured_styles' => ['ribbon-2', 'ribbon-3']
918
  ],
919
  ]
920
  );
1295
 
1296
 
1297
  protected function render( ) {
1298
+
1299
  $settings = $this->get_settings();
1300
  $pricing_table_image = $this->get_settings( 'eael_pricing_table_image' );
1301
+ $pricing_table_image_url = Group_Control_Image_Size::get_attachment_image_src( $pricing_table_image['id'], 'thumbnail', $settings );
1302
  $target = $settings['eael_pricing_table_btn_link']['is_external'] ? 'target="_blank"' : '';
1303
  $nofollow = $settings['eael_pricing_table_btn_link']['nofollow'] ? 'rel="nofollow"' : '';
1304
+ if( 'yes' === $settings['eael_pricing_table_featured'] ) : $featured_class = 'featured '.$settings['eael_pricing_table_featured_styles']; else : $featured_class = ''; endif;
1305
  ?>
1306
  <?php if( 'style-1' === $settings['eael_pricing_table_style'] || 'style-3' === $settings['eael_pricing_table_style'] || 'style-4' === $settings['eael_pricing_table_style'] ) : ?>
1307
  <div class="eael-pricing style-1">
1310
  <h2 class="title"><?php echo $settings['eael_pricing_table_title']; ?></h2>
1311
  </div>
1312
  <div class="eael-pricing-tag">
1313
+ <span class="price-tag"><?php if( $settings['eael_pricing_table_price_cur_placement'] == 'left' ) : ?><span class="price-currency"><?php echo $settings['eael_pricing_table_price_cur']; ?></span> <?php endif; ?><?php if( $settings['eael_pricing_table_price_cur_placement'] == 'left-sup' ) : ?><sup class="price-currency"><?php echo $settings['eael_pricing_table_price_cur']; ?></sup> <?php endif; ?> <?php echo $settings['eael_pricing_table_price'] ?> <?php if( $settings['eael_pricing_table_price_cur_placement'] == 'right' ) : ?><span class="price-currency"><?php echo $settings['eael_pricing_table_price_cur']; ?></span><?php endif; ?><?php if( $settings['eael_pricing_table_price_cur_placement'] == 'right-sup' ) : ?><sup class="price-currency"><?php echo $settings['eael_pricing_table_price_cur']; ?></sup><?php endif; ?></span> <span class="price-period"><?php echo $settings['eael_pricing_table_period_separator']; ?> <?php echo $settings['eael_pricing_table_price_period']; ?></span>
1314
  </div>
1315
  <div class="body">
1316
  <ul>
1317
+ <?php
1318
+ foreach( $settings['eael_pricing_table_items'] as $item ) :
1319
  if( 'yes' === $item['eael_pricing_table_icon_mood'] ) : $icon_mood = ''; else : $icon_mood = 'disable-item'; endif;
1320
  ?>
1321
  <li class="<?php echo esc_attr( $icon_mood ); ?>">
1322
  <?php if( 'show' === $settings['eael_pricing_table_icon_enabled'] ) : ?>
1323
+ <span class="li-icon" style="color:<?php echo esc_attr( $item['eael_pricing_table_list_icon_color'] ); ?>"><i class="<?php echo esc_attr( $item['eael_pricing_table_list_icon'] ); ?>"></i></span>
1324
  <?php endif; ?>
1325
  <?php echo $item['eael_pricing_table_item']; ?>
1326
  </li>
1327
+ <?php endforeach; ?>
1328
  </ul>
1329
  </div>
1330
  <div class="footer">
1351
  <span class="subtitle"><?php echo $settings['eael_pricing_table_sub_title']; ?></span>
1352
  </div>
1353
  <div class="eael-pricing-tag">
1354
+ <span class="price-tag"><?php if( $settings['eael_pricing_table_price_cur_placement'] == 'left' ) : ?><span class="price-currency"><?php echo $settings['eael_pricing_table_price_cur']; ?></span> <?php endif; ?><?php if( $settings['eael_pricing_table_price_cur_placement'] == 'left-sup' ) : ?><sup class="price-currency"><?php echo $settings['eael_pricing_table_price_cur']; ?></sup> <?php endif; ?> <?php echo $settings['eael_pricing_table_price'] ?> <?php if( $settings['eael_pricing_table_price_cur_placement'] == 'right' ) : ?><span class="price-currency"><?php echo $settings['eael_pricing_table_price_cur']; ?></span><?php endif; ?><?php if( $settings['eael_pricing_table_price_cur_placement'] == 'right-sup' ) : ?><sup class="price-currency"><?php echo $settings['eael_pricing_table_price_cur']; ?></sup><?php endif; ?></span> <span class="price-period"><?php echo $settings['eael_pricing_table_period_separator']; ?> <?php echo $settings['eael_pricing_table_price_period']; ?></span>
1355
  </div>
1356
  <div class="body">
1357
  <ul>
1358
+ <?php
1359
+ foreach( $settings['eael_pricing_table_items'] as $item ) :
1360
  if( 'yes' === $item['eael_pricing_table_icon_mood'] ) : $icon_mood = ''; else : $icon_mood = 'disable-item'; endif;
1361
  ?>
1362
  <li class="<?php echo esc_attr( $icon_mood ); ?>">
1363
  <?php if( 'show' === $settings['eael_pricing_table_icon_enabled'] ) : ?>
1364
+ <span class="li-icon" style="color:<?php echo esc_attr( $item['eael_pricing_table_list_icon_color'] ); ?>"><i class="<?php echo esc_attr( $item['eael_pricing_table_list_icon'] ); ?>"></i></span>
1365
  <?php endif; ?>
1366
  <?php echo $item['eael_pricing_table_item']; ?>
1367
  </li>
1368
+ <?php endforeach; ?>
1369
  </ul>
1370
  </div>
1371
  <div class="footer">
1386
  }
1387
 
1388
  protected function content_template() {
1389
+
1390
  ?>
1391
+
1392
+
1393
  <?php
1394
  }
1395
  }
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.2
8
  * Author URI: https://www.codetic.net
9
  *
10
  * Text Domain: essential-addons-elementor
@@ -251,10 +251,10 @@ function eael_admin_notice() {
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
  }
@@ -271,7 +271,7 @@ function eael_nag_ignore() {
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');
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.3
8
  * Author URI: https://www.codetic.net
9
  *
10
  * Text Domain: essential-addons-elementor
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_notice243') ) {
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(__('<strong>20,000+</strong> users using <strong>Essential Addons for Elementor.</strong> Use the promo code <strong>20K</strong> to get <strong>20&#37; </strong> discount on pro upgrade. <a href="https://wpdeveloper.net/in/upgrade-essential-addons-elementor" target="_blank" style="text-decoration: none;"><span class="dashicons dashicons-smiley" style="margin-left: 10px;"></span> Grab the Deal</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
  }
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_notice243', 'true', true);
275
  }
276
  }
277
  add_action('admin_init', 'eael_nag_ignore');
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  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.2
7
  License: GPLv3
8
  License URI: https://opensource.org/licenses/GPL-3.0
9
 
@@ -27,6 +27,8 @@ Ultimate elements library for Elementor WordPress Page Builder. Lots of useful
27
  * Lightweight and Fast
28
  * Extra-ordinary support
29
 
 
 
30
  ### Available Elements
31
 
32
  * [Post Grid](https://essential-addons.com/elementor/post-grid/)
@@ -78,7 +80,17 @@ More coming soon (weekly update) ...
78
 
79
  Check [Flexia](https://wordpress.org/themes/flexia/), the best friend of Elementor and Essential Addons. A modern lightweight and versatile theme for WordPress with endless customization options.
80
 
 
 
 
 
 
 
 
81
 
 
 
 
82
 
83
  == Installation ==
84
 
@@ -110,6 +122,12 @@ Your existing elements/content will work with premium version. So you won't lose
110
 
111
  == Changelog ==
112
 
 
 
 
 
 
 
113
  = 2.4.2 =
114
 
115
  - Filterable Galley control improved
2
  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.4
6
+ Stable tag: 2.4.3
7
  License: GPLv3
8
  License URI: https://opensource.org/licenses/GPL-3.0
9
 
27
  * Lightweight and Fast
28
  * Extra-ordinary support
29
 
30
+ >You can enable/disable certain elements and that will eliminate all associated assets of disabled elements. So it won't slow down your website.
31
+
32
  ### Available Elements
33
 
34
  * [Post Grid](https://essential-addons.com/elementor/post-grid/)
80
 
81
  Check [Flexia](https://wordpress.org/themes/flexia/), the best friend of Elementor and Essential Addons. A modern lightweight and versatile theme for WordPress with endless customization options.
82
 
83
+ ### Documentation and Support
84
+
85
+ - For documentation and tutorials go to our [Documentation](https://essential-addons.com/elementor/docs/).
86
+ - If you have any more questions, visit our support on the [Plugin's Forum](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite).
87
+ - For more information about features, FAQs and documentation, check out our website at [Essential Addons for Elementor](https://essential-addons.com/elementor/).
88
+
89
+ ### Liked Essential Addons?
90
 
91
+ - Join our [Facebook Group](https://www.facebook.com/groups/essentialaddons/).
92
+ - Learn from our tutorials on [Youtube Channel](https://wpdeveloper.net/go/youtube-channel).
93
+ - Or rate us on [WordPress](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite/reviews/?rate=5#new-post) :)
94
 
95
  == Installation ==
96
 
122
 
123
  == Changelog ==
124
 
125
+ = 2.4.3 =
126
+
127
+ - Pricing Table improved
128
+ - Documentation and other helpful content added to admin area
129
+ - Few minor bugfix and improvements
130
+
131
  = 2.4.2 =
132
 
133
  - Filterable Galley control improved