Elementor Essential Addons - Version 1.1.0

Version Description

  • Post Grid (Masonry) element added
  • Few minor improvement
Download this release

Release Info

Developer codetic
Plugin Icon 128x128 Elementor Essential Addons
Version 1.1.0
Comparing to
See all releases

Code changes from version 1.0.1 to 1.1.0

assets/css/essential-addons-editor.css ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .elementor-panel .pro-feature, .elementor-panel .pro-feature a {
2
+ color: #a4afb7;
3
+ text-transform: uppercase;
4
+ letter-spacing: 1px;
5
+ line-height: 1.8;
6
+ font-style: normal;
7
+ }
8
+
9
+ .elementor-panel .pro-feature a {
10
+ text-decoration: underline;
11
+ color: #f54 !important;
12
+ }
13
+
14
+ .elementor-panel .elementor-control-eael_section_pro .elementor-panel-heading-title.elementor-panel-heading-title,
15
+ .elementor-panel .elementor-control-eael_section_pro .elementor-panel-heading-toggle {
16
+ color: #f54;
17
+ }
18
+
19
+ .elementor-panel .elementor-control-eael_control_get_pro .elementor-control-field {
20
+ display: none!important;
21
+ }
assets/css/essential-addons-elementor.css CHANGED
@@ -8,6 +8,7 @@
8
  clear: both;
9
  }
10
 
 
11
  /* Common Styles for slider elements */
12
 
13
  .eael-testimonial-slider .slick-prev, .eael-testimonial-slider .slick-next,
@@ -1440,6 +1441,11 @@ body:not(.x-ethos):not(.x-integrity):not(.x-renew):not(.x-icon) .eael-product-ca
1440
 
1441
  /* weForm Styles */
1442
 
 
 
 
 
 
1443
  .eael-contact-form-align-center .eael-weform-container, .eael-contact-form-btn-align-center .eael-weform-container ul.wpuf-form .wpuf-submit input[type="submit"] {
1444
  margin-left: auto !important;
1445
  margin-right: auto !important;
@@ -1461,3 +1467,202 @@ body:not(.x-ethos):not(.x-integrity):not(.x-renew):not(.x-icon) .eael-product-ca
1461
  max-width: 100%;
1462
  }
1463
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  clear: both;
9
  }
10
 
11
+
12
  /* Common Styles for slider elements */
13
 
14
  .eael-testimonial-slider .slick-prev, .eael-testimonial-slider .slick-next,
1441
 
1442
  /* weForm Styles */
1443
 
1444
+ .eael-weform-container input, .eael-weform-container textarea {
1445
+ height: auto;
1446
+ padding: 10px;
1447
+ }
1448
+
1449
  .eael-contact-form-align-center .eael-weform-container, .eael-contact-form-btn-align-center .eael-weform-container ul.wpuf-form .wpuf-submit input[type="submit"] {
1450
  margin-left: auto !important;
1451
  margin-right: auto !important;
1467
  max-width: 100%;
1468
  }
1469
 
1470
+ /* Post Grid Style */
1471
+
1472
+
1473
+ .eael-grid-post {
1474
+ float: left;
1475
+ padding: 10px;
1476
+ }
1477
+
1478
+ .eael-grid-post-holder {
1479
+ border: 1px solid rgba(0,0,0,.1);
1480
+ }
1481
+
1482
+ .eael-grid-post-holder-inner {
1483
+ height: 100%;
1484
+ }
1485
+
1486
+ .eael-entry-media {
1487
+ position: relative;
1488
+ }
1489
+
1490
+ .eael-entry-overlay {
1491
+ position: absolute;
1492
+ top: 0;
1493
+ left: 0;
1494
+ width: 100%;
1495
+ height: 100%;
1496
+ z-index: 999;
1497
+ opacity: 0;
1498
+ -webkit-transition: opacity .2s ease-in-out,-webkit-transform .25s cubic-bezier(.19,1,.22,1);
1499
+ -moz-transition: opacity .2s ease-in-out,-moz-transform .25s cubic-bezier(.19,1,.22,1);
1500
+ transition: opacity .2s ease-in-out,transform .25s cubic-bezier(.19,1,.22,1);
1501
+ }
1502
+
1503
+ .eael-entry-overlay:hover {
1504
+ opacity: 1;
1505
+ }
1506
+
1507
+
1508
+ .eael-entry-overlay > a {
1509
+ position: absolute;
1510
+ top: 0;
1511
+ left: 0;
1512
+ width: 100%;
1513
+ height: 100%;
1514
+ z-index: 99999;
1515
+ }
1516
+
1517
+ .eael-entry-title {
1518
+ margin: 10px 0 5px;
1519
+ font-size: 1.2em;
1520
+ }
1521
+
1522
+ .eael-entry-overlay i {
1523
+ color: #fff;
1524
+ width: 60px;
1525
+ text-align: center;
1526
+ line-height: 60px;
1527
+ height: 60px;
1528
+ position: absolute;
1529
+ left: 50%;
1530
+ margin-left: -30px;
1531
+ font-size: 32px;
1532
+ top: 50%;
1533
+ margin-top: -30px;
1534
+ -webkit-perspective: 1000;
1535
+ -moz-perspective: 1000;
1536
+ -ms-perspective: 1000;
1537
+ perspective: 1000;
1538
+ opacity: 0;
1539
+ -webkit-transform: translatex(-20px);
1540
+ -moz-transform: translatex(-20px);
1541
+ -ms-transform: translatex(-20px);
1542
+ transform: translatex(-20px);
1543
+ -webkit-transition: opacity .2s ease-in-out,-webkit-transform .25s cubic-bezier(.19,1,.22,1);
1544
+ -moz-transition: opacity .2s ease-in-out,-moz-transform .25s cubic-bezier(.19,1,.22,1);
1545
+ transition: opacity .2s ease-in-out,transform .25s cubic-bezier(.19,1,.22,1);
1546
+ }
1547
+
1548
+ .eael-entry-media:hover .eael-entry-overlay i {
1549
+ -webkit-transform: translatex(0px);
1550
+ -moz-transform: translatex(0px);
1551
+ -ms-transform: translatex(0px);
1552
+ transform: translatex(0px);
1553
+ opacity: 1;
1554
+ }
1555
+
1556
+ .eael-entry-thumbnail img {
1557
+ width: 100%;
1558
+ max-width: 100%;
1559
+ vertical-align: middle;
1560
+ }
1561
+
1562
+ .eael-entry-footer {
1563
+ display: flex;
1564
+ flex-flow: row nowrap;
1565
+ align-items: center;
1566
+ }
1567
+
1568
+ .eael-entry-footer .eael-author-avatar {
1569
+ flex: 0 0 auto;
1570
+ width: 50px;
1571
+ }
1572
+
1573
+ .eael-entry-footer .eael-author-avatar .avatar {
1574
+ border-radius: 50%;
1575
+ }
1576
+
1577
+ .eael-post-grid .eael-entry-footer .eael-entry-meta {
1578
+ padding-left: 8px;
1579
+ }
1580
+
1581
+ .eael-entry-meta > div {
1582
+ font-size: 12px;
1583
+ line-height: 1.2;
1584
+ padding-bottom: 5px;
1585
+ }
1586
+
1587
+ .eael-grid-post-excerpt p {
1588
+ margin: 0;
1589
+ font-size: 14px;
1590
+ }
1591
+
1592
+ .eael-entry-meta .eael-entry-footer .eael-posted-by {
1593
+ display: block;
1594
+ }
1595
+
1596
+ .eael-grid-post .eael-entry-wrapper, .eael-grid-post .eael-entry-footer {
1597
+ padding: 15px;
1598
+ }
1599
+
1600
+ .eael-post-grid .eael-entry-header .eael-entry-meta span.eael-posted-on {
1601
+ padding-left: 5px;
1602
+ }
1603
+
1604
+ .eael-post-grid .eael-entry-header .eael-entry-meta span.eael-posted-on::before {
1605
+ content: '\f111';
1606
+ font-family: FontAwesome;
1607
+ color: inherit;
1608
+ opacity: .4;
1609
+ font-size: .8em;
1610
+ padding-right: 7px;
1611
+ }
1612
+
1613
+
1614
+ /* Post Grid Column */
1615
+
1616
+ .eael-col-1 .eael-post-grid-column {
1617
+ float: none;
1618
+ width: 100%;
1619
+ }
1620
+ .eael-col-2 .eael-post-grid-column{
1621
+ float: left;
1622
+ width: 50%;
1623
+ }
1624
+ .eael-col-3 .eael-post-grid-column {
1625
+ float: left;
1626
+ width: 33.3333%;
1627
+ }
1628
+ .eael-col-4 .eael-post-grid-column {
1629
+ float: left;
1630
+ width: 25%;
1631
+ }
1632
+ .eael-col-5 .eael-post-grid-column {
1633
+ float: left;
1634
+ width: 20%;
1635
+ }
1636
+ .eael-col-6 .eael-post-grid-column {
1637
+ float: left;
1638
+ width: 16.6666%;
1639
+ }
1640
+
1641
+ /* Responsive Styles for POst Grid */
1642
+
1643
+ @media only screen and (max-width: 979px) {
1644
+ .eael-col-1 .eael-post-grid-column, .eael-col-2 .eael-post-grid-column,
1645
+ .eael-col-3 .eael-post-grid-column, .eael-col-4 .eael-post-grid-column,
1646
+ .eael-col-5 .eael-post-grid-column, .eael-col-6 .eael-post-grid-column {
1647
+ width: 33.3333%;
1648
+ }
1649
+ }
1650
+
1651
+ @media only screen and (max-width: 767px) {
1652
+ .eael-col-1 .eael-post-grid-column, .eael-col-2 .eael-post-grid-column,
1653
+ .eael-col-3 .eael-post-grid-column, .eael-col-4 .eael-post-grid-column,
1654
+ .eael-col-5 .eael-post-grid-column, .eael-col-6 .eael-post-grid-column {
1655
+ width: 50%;
1656
+ }
1657
+ }
1658
+
1659
+ @media only screen and (max-width: 480px) {
1660
+ .eael-col-1 .eael-post-grid-column, .eael-col-2 .eael-post-grid-column,
1661
+ .eael-col-3 .eael-post-grid-column, .eael-col-4 .eael-post-grid-column,
1662
+ .eael-col-5 .eael-post-grid-column, .eael-col-6 .eael-post-grid-column {
1663
+ float: none;
1664
+ width: 100%;
1665
+ }
1666
+ }
1667
+
1668
+
elements/contact-form-7/contact-form-7.php CHANGED
@@ -47,7 +47,35 @@ class Widget_Eael_Contact_Form extends Widget_Base {
47
 
48
  $this->end_controls_section();
49
 
50
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  $this->start_controls_section(
52
  'eael_section_contact_form_styles',
53
  [
47
 
48
  $this->end_controls_section();
49
 
50
+
51
+ $this->start_controls_section(
52
+ 'eael_section_pro',
53
+ [
54
+ 'label' => __( 'Go Premium', 'essential-addons-elementor' )
55
+ ]
56
+ );
57
+
58
+
59
+ $this->add_control(
60
+ 'eael_control_get_pro',
61
+ [
62
+ 'label' => __( 'Unlock more possibilities', 'essential-addons-elementor' ),
63
+ 'type' => Controls_Manager::CHOOSE,
64
+ 'options' => [
65
+ '1' => [
66
+ 'title' => __( '', 'essential-addons-elementor' ),
67
+ 'icon' => 'fa fa-unlock-alt',
68
+ ],
69
+ ],
70
+ 'default' => '1',
71
+ 'description' => '<span class="pro-feature"> Get the <a href="https://essential-addons.com/elementor/buy.php" target="_blank">Pro version</a> for more stunning elements and customization options.</span>'
72
+ ]
73
+ );
74
+
75
+
76
+ $this->end_controls_section();
77
+
78
+
79
  $this->start_controls_section(
80
  'eael_section_contact_form_styles',
81
  [
elements/countdown/countdown.php CHANGED
@@ -228,7 +228,34 @@ class Widget_Eael_Countdown extends Widget_Base {
228
 
229
 
230
  $this->end_controls_section();
231
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
232
 
233
  $this->start_controls_section(
234
  'eael_section_countdown_styles_general',
228
 
229
 
230
  $this->end_controls_section();
231
+
232
+
233
+ $this->start_controls_section(
234
+ 'eael_section_pro',
235
+ [
236
+ 'label' => __( 'Go Premium', 'essential-addons-elementor' )
237
+ ]
238
+ );
239
+
240
+
241
+ $this->add_control(
242
+ 'eael_control_get_pro',
243
+ [
244
+ 'label' => __( 'Unlock more possibilities', 'essential-addons-elementor' ),
245
+ 'type' => Controls_Manager::CHOOSE,
246
+ 'options' => [
247
+ '1' => [
248
+ 'title' => __( '', 'essential-addons-elementor' ),
249
+ 'icon' => 'fa fa-unlock-alt',
250
+ ],
251
+ ],
252
+ 'default' => '1',
253
+ 'description' => '<span class="pro-feature"> Get the <a href="https://essential-addons.com/elementor/buy.php" target="_blank">Pro version</a> for more stunning elements and customization options.</span>'
254
+ ]
255
+ );
256
+
257
+
258
+ $this->end_controls_section();
259
 
260
  $this->start_controls_section(
261
  'eael_section_countdown_styles_general',
elements/creative-button/creative-button.php CHANGED
@@ -161,8 +161,33 @@ class Widget_Eael_Creative_Button extends Widget_Base {
161
 
162
  $this->end_controls_section();
163
 
 
 
 
 
 
 
164
 
165
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  // Style Controls
167
  $this->start_controls_section(
168
  'eael_section_creative_button_settings',
161
 
162
  $this->end_controls_section();
163
 
164
+ $this->start_controls_section(
165
+ 'eael_section_pro',
166
+ [
167
+ 'label' => __( 'Go Premium', 'essential-addons-elementor' )
168
+ ]
169
+ );
170
 
171
 
172
+ $this->add_control(
173
+ 'eael_control_get_pro',
174
+ [
175
+ 'label' => __( 'Unlock more possibilities', 'essential-addons-elementor' ),
176
+ 'type' => Controls_Manager::CHOOSE,
177
+ 'options' => [
178
+ '1' => [
179
+ 'title' => __( '', 'essential-addons-elementor' ),
180
+ 'icon' => 'fa fa-unlock-alt',
181
+ ],
182
+ ],
183
+ 'default' => '1',
184
+ 'description' => '<span class="pro-feature"> Get the <a href="https://essential-addons.com/elementor/buy.php" target="_blank">Pro version</a> for more stunning elements and customization options.</span>'
185
+ ]
186
+ );
187
+
188
+
189
+ $this->end_controls_section();
190
+
191
  // Style Controls
192
  $this->start_controls_section(
193
  'eael_section_creative_button_settings',
elements/fancy-text/fancy-text.php CHANGED
@@ -194,7 +194,32 @@ class Widget_Eael_Fancy_Text extends Widget_Base {
194
 
195
  $this->end_controls_section();
196
 
197
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
198
 
199
  $this->start_controls_section(
200
  'eael_fancy_text_prefix_styles',
194
 
195
  $this->end_controls_section();
196
 
197
+ $this->start_controls_section(
198
+ 'eael_section_pro',
199
+ [
200
+ 'label' => __( 'Go Premium', 'essential-addons-elementor' )
201
+ ]
202
+ );
203
+
204
+
205
+ $this->add_control(
206
+ 'eael_control_get_pro',
207
+ [
208
+ 'label' => __( 'Unlock more possibilities', 'essential-addons-elementor' ),
209
+ 'type' => Controls_Manager::CHOOSE,
210
+ 'options' => [
211
+ '1' => [
212
+ 'title' => __( '', 'essential-addons-elementor' ),
213
+ 'icon' => 'fa fa-unlock-alt',
214
+ ],
215
+ ],
216
+ 'default' => '1',
217
+ 'description' => '<span class="pro-feature"> Get the <a href="https://essential-addons.com/elementor/buy.php" target="_blank">Pro version</a> for more stunning elements and customization options.</span>'
218
+ ]
219
+ );
220
+
221
+
222
+ $this->end_controls_section();
223
 
224
  $this->start_controls_section(
225
  'eael_fancy_text_prefix_styles',
elements/post-grid/post-grid.php ADDED
@@ -0,0 +1,678 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Elementor;
3
+
4
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
5
+
6
+ class Widget_Eael_Post_Grid extends Widget_Base {
7
+
8
+ public function get_name() {
9
+ return 'eael-post-grid';
10
+ }
11
+
12
+ public function get_title() {
13
+ return __( 'EA Post Grid', 'essential-addons-elementor' );
14
+ }
15
+
16
+ public function get_icon() {
17
+ return 'eicon-posts-grid';
18
+ }
19
+
20
+ public function get_categories() {
21
+ return [ 'essential-addons-elementor' ];
22
+ }
23
+
24
+ protected function _register_controls() {
25
+ $this->start_controls_section(
26
+ 'eael_section_post_grid_filters',
27
+ [
28
+ 'label' => __( 'Post Settings', 'essential-addons-elementor' )
29
+ ]
30
+ );
31
+
32
+
33
+ $this->add_control(
34
+ 'eael_post_type',
35
+ [
36
+ 'label' => __( 'Post Type', 'essential-addons-elementor' ),
37
+ 'type' => Controls_Manager::SELECT,
38
+ 'options' => eael_get_post_types(),
39
+ 'default' => 'post',
40
+
41
+ ]
42
+ );
43
+
44
+ $this->add_control(
45
+ 'category',
46
+ [
47
+ 'label' => __( 'Categories', 'essential-addons-elementor' ),
48
+ 'type' => Controls_Manager::SELECT2,
49
+ 'label_block' => true,
50
+ 'multiple' => true,
51
+ 'options' => eael_post_type_categories(),
52
+ 'condition' => [
53
+ 'eael_post_type' => 'post'
54
+ ]
55
+ ]
56
+ );
57
+
58
+
59
+ $this->add_control(
60
+ 'eael_posts_count',
61
+ [
62
+ 'label' => __( 'Number of Posts', 'essential-addons-elementor' ),
63
+ 'type' => Controls_Manager::NUMBER,
64
+ 'default' => '4'
65
+ ]
66
+ );
67
+
68
+
69
+ $this->add_control(
70
+ 'eael_post_offset',
71
+ [
72
+ 'label' => __( 'Post Offset', 'essential-addons-elementor' ),
73
+ 'type' => Controls_Manager::NUMBER,
74
+ 'default' => '0'
75
+ ]
76
+ );
77
+
78
+ $this->add_control(
79
+ 'eael_post_orderby',
80
+ [
81
+ 'label' => __( 'Order By', 'essential-addons-elementor' ),
82
+ 'type' => Controls_Manager::SELECT,
83
+ 'options' => eael_get_post_orderby_options(),
84
+ 'default' => 'date',
85
+
86
+ ]
87
+ );
88
+
89
+ $this->add_control(
90
+ 'eael_post_order',
91
+ [
92
+ 'label' => __( 'Order', 'essential-addons-elementor' ),
93
+ 'type' => Controls_Manager::SELECT,
94
+ 'options' => [
95
+ 'asc' => 'Ascending',
96
+ 'desc' => 'Descending'
97
+ ],
98
+ 'default' => 'desc',
99
+ ]
100
+ );
101
+
102
+ $this->end_controls_section();
103
+
104
+ $this->start_controls_section(
105
+ 'eael_section_post_grid_layout',
106
+ [
107
+ 'label' => __( 'Layout Settings', 'essential-addons-elementor' )
108
+ ]
109
+ );
110
+
111
+ $this->add_control(
112
+ 'eael_post_grid_columns',
113
+ [
114
+ 'label' => esc_html__( 'Number of Columns', 'essential-addons-elementor' ),
115
+ 'type' => Controls_Manager::SELECT,
116
+ 'default' => 'eael-col-4',
117
+ 'options' => [
118
+ 'eael-col-1' => esc_html__( 'Single Column', 'essential-addons-elementor' ),
119
+ 'eael-col-2' => esc_html__( 'Two Columns', 'essential-addons-elementor' ),
120
+ 'eael-col-3' => esc_html__( 'Three Columns', 'essential-addons-elementor' ),
121
+ 'eael-col-4' => esc_html__( 'Four Columns', 'essential-addons-elementor' ),
122
+ 'eael-col-5' => esc_html__( 'Five Columns', 'essential-addons-elementor' ),
123
+ 'eael-col-6' => esc_html__( 'Six Columns', 'essential-addons-elementor' ),
124
+ ],
125
+ ]
126
+ );
127
+
128
+ $this->add_control(
129
+ 'eael_show_image',
130
+ [
131
+ 'label' => __( 'Show Image', 'essential-addons-elementor' ),
132
+ 'type' => Controls_Manager::CHOOSE,
133
+ 'options' => [
134
+ '1' => [
135
+ 'title' => __( 'Yes', 'essential-addons-elementor' ),
136
+ 'icon' => 'fa fa-check',
137
+ ],
138
+ '0' => [
139
+ 'title' => __( 'No', 'essential-addons-elementor' ),
140
+ 'icon' => 'fa fa-ban',
141
+ ]
142
+ ],
143
+ 'default' => '1'
144
+ ]
145
+ );
146
+ $this->add_group_control(
147
+ Group_Control_Image_Size::get_type(),
148
+ [
149
+ 'name' => 'image',
150
+ 'exclude' => [ 'custom' ],
151
+ 'default' => 'medium',
152
+ 'condition' => [
153
+ 'eael_show_image' => '1',
154
+ ]
155
+ ]
156
+ );
157
+
158
+
159
+ $this->add_control(
160
+ 'eael_show_title',
161
+ [
162
+ 'label' => __( 'Show Title', 'essential-addons-elementor' ),
163
+ 'type' => Controls_Manager::CHOOSE,
164
+ 'options' => [
165
+ '1' => [
166
+ 'title' => __( 'Yes', 'essential-addons-elementor' ),
167
+ 'icon' => 'fa fa-check',
168
+ ],
169
+ '0' => [
170
+ 'title' => __( 'No', 'essential-addons-elementor' ),
171
+ 'icon' => 'fa fa-ban',
172
+ ]
173
+ ],
174
+ 'default' => '1'
175
+ ]
176
+ );
177
+
178
+ $this->add_control(
179
+ 'eael_show_excerpt',
180
+ [
181
+ 'label' => __( 'Show excerpt', 'essential-addons-elementor' ),
182
+ 'type' => Controls_Manager::CHOOSE,
183
+ 'options' => [
184
+ '1' => [
185
+ 'title' => __( 'Yes', 'essential-addons-elementor' ),
186
+ 'icon' => 'fa fa-check',
187
+ ],
188
+ '0' => [
189
+ 'title' => __( 'No', 'essential-addons-elementor' ),
190
+ 'icon' => 'fa fa-ban',
191
+ ]
192
+ ],
193
+ 'default' => '1'
194
+ ]
195
+ );
196
+
197
+
198
+ $this->add_control(
199
+ 'eael_excerpt_length',
200
+ [
201
+ 'label' => __( 'Excerpt Words', 'essential-addons-elementor' ),
202
+ 'type' => Controls_Manager::NUMBER,
203
+ 'default' => '10',
204
+ 'condition' => [
205
+ 'eael_show_excerpt' => '1',
206
+ ],
207
+ 'description' => '<span class="pro-feature"> Pro Feature. Get <a href="https://essential-addons.com/elementor/buy.php" target="_blank">Pro version</a> </span>'
208
+
209
+ ]
210
+ );
211
+
212
+
213
+ $this->add_control(
214
+ 'eael_show_meta',
215
+ [
216
+ 'label' => __( 'Show Meta', 'essential-addons-elementor' ),
217
+ 'type' => Controls_Manager::CHOOSE,
218
+ 'options' => [
219
+ '1' => [
220
+ 'title' => __( 'Yes', 'essential-addons-elementor' ),
221
+ 'icon' => 'fa fa-check',
222
+ ],
223
+ '0' => [
224
+ 'title' => __( 'No', 'essential-addons-elementor' ),
225
+ 'icon' => 'fa fa-ban',
226
+ ]
227
+ ],
228
+ 'default' => '1'
229
+ ]
230
+ );
231
+
232
+ $this->add_control(
233
+ 'eael_post_grid_meta_position',
234
+ [
235
+ 'label' => esc_html__( 'Meta Position', 'essential-addons-elementor' ),
236
+ 'type' => Controls_Manager::SELECT,
237
+ 'default' => 'meta-entry-footer',
238
+ 'options' => [
239
+ 'meta-entry-header' => esc_html__( 'Entry Header', 'essential-addons-elementor' ),
240
+ 'meta-entry-footer' => esc_html__( 'Entry Footer', 'essential-addons-elementor' ),
241
+ ],
242
+ 'condition' => [
243
+ 'eael_show_meta' => '1',
244
+ ]
245
+ ]
246
+ );
247
+
248
+
249
+ $this->end_controls_section();
250
+
251
+
252
+
253
+ $this->start_controls_section(
254
+ 'eael_section_pro',
255
+ [
256
+ 'label' => __( 'Go Premium', 'essential-addons-elementor' )
257
+ ]
258
+ );
259
+
260
+
261
+ $this->add_control(
262
+ 'eael_control_get_pro',
263
+ [
264
+ 'label' => __( 'Unlock more possibilities', 'essential-addons-elementor' ),
265
+ 'type' => Controls_Manager::CHOOSE,
266
+ 'options' => [
267
+ '1' => [
268
+ 'title' => __( '', 'essential-addons-elementor' ),
269
+ 'icon' => 'fa fa-unlock-alt',
270
+ ],
271
+ ],
272
+ 'default' => '1',
273
+ 'description' => '<span class="pro-feature"> Get the <a href="https://essential-addons.com/elementor/buy.php" target="_blank">Pro version</a> for more stunning elements and customization options.</span>'
274
+ ]
275
+ );
276
+
277
+
278
+ $this->end_controls_section();
279
+
280
+ $this->start_controls_section(
281
+ 'eael_section_post_grid_style',
282
+ [
283
+ 'label' => __( 'Post Grid Style', 'essential-addons-elementor' ),
284
+ 'tab' => Controls_Manager::TAB_STYLE
285
+ ]
286
+ );
287
+
288
+ $this->add_control(
289
+ 'eael_post_grid_bg_color',
290
+ [
291
+ 'label' => __( 'Post Background Color', 'essential-addons-elementor' ),
292
+ 'type' => Controls_Manager::COLOR,
293
+ 'default' => '#fff',
294
+ 'selectors' => [
295
+ '{{WRAPPER}} .eael-grid-post-holder' => 'background-color: {{VALUE}}',
296
+ ]
297
+
298
+ ]
299
+ );
300
+
301
+ $this->add_control(
302
+ 'eael_thumbnail_overlay_color',
303
+ [
304
+ 'label' => __( 'Thumbnail Overlay Color', 'essential-addons-elementor' ),
305
+ 'type' => Controls_Manager::COLOR,
306
+ 'default' => 'rgba(0,0,0, .75)',
307
+ 'selectors' => [
308
+ '{{WRAPPER}} .eael-entry-overlay' => 'background-color: {{VALUE}}',
309
+ ]
310
+
311
+ ]
312
+ );
313
+
314
+ $this->add_responsive_control(
315
+ 'eael_post_grid_spacing',
316
+ [
317
+ 'label' => esc_html__( 'Spacing Between Items', 'essential-addons-elementor' ),
318
+ 'type' => Controls_Manager::DIMENSIONS,
319
+ 'size_units' => [ 'px', '%', 'em' ],
320
+ 'selectors' => [
321
+ '{{WRAPPER}} .eael-grid-post' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
322
+ ],
323
+ ]
324
+ );
325
+
326
+ $this->add_group_control(
327
+ Group_Control_Border::get_type(),
328
+ [
329
+ 'name' => 'eael_post_grid_border',
330
+ 'label' => esc_html__( 'Border', 'essential-addons-elementor' ),
331
+ 'selector' => '{{WRAPPER}} .eael-grid-post-holder',
332
+ ]
333
+ );
334
+
335
+ $this->add_control(
336
+ 'eael_post_grid_border_radius',
337
+ [
338
+ 'label' => esc_html__( 'Border Radius', 'essential-addons-elementor' ),
339
+ 'type' => Controls_Manager::DIMENSIONS,
340
+ 'selectors' => [
341
+ '{{WRAPPER}} .eael-grid-post-holder' => 'border-radius: {{TOP}}px {{RIGHT}}px {{BOTTOM}}px {{LEFT}}px;',
342
+ ],
343
+ ]
344
+ );
345
+
346
+ $this->add_group_control(
347
+ Group_Control_Box_Shadow::get_type(),
348
+ [
349
+ 'name' => 'eael_post_grid_box_shadow',
350
+ 'selector' => '{{WRAPPER}} .eael-grid-post-holder',
351
+ ]
352
+ );
353
+
354
+
355
+ $this->end_controls_section();
356
+
357
+ $this->start_controls_section(
358
+ 'eael_section_typography',
359
+ [
360
+ 'label' => __( 'Color & Typography', 'essential-addons-elementor' ),
361
+ 'tab' => Controls_Manager::TAB_STYLE
362
+ ]
363
+ );
364
+
365
+ $this->add_control(
366
+ 'eael_post_grid_title_style',
367
+ [
368
+ 'label' => __( 'Title Style', 'essential-addons-elementor' ),
369
+ 'type' => Controls_Manager::HEADING,
370
+ 'separator' => 'before',
371
+ ]
372
+ );
373
+
374
+ $this->add_control(
375
+ 'eael_post_grid_title_color',
376
+ [
377
+ 'label' => __( 'Title Color', 'essential-addons-elementor' ),
378
+ 'type' => Controls_Manager::COLOR,
379
+ 'default'=> '#303133',
380
+ 'selectors' => [
381
+ '{{WRAPPER}} .eael-entry-title, {{WRAPPER}} .eael-entry-title a' => 'color: {{VALUE}};',
382
+ ]
383
+
384
+ ]
385
+ );
386
+
387
+ $this->add_control(
388
+ 'eael_post_grid_title_hover_color',
389
+ [
390
+ 'label' => __( 'Title Hover Color', 'essential-addons-elementor' ),
391
+ 'type' => Controls_Manager::COLOR,
392
+ 'default'=> '#23527c',
393
+ 'selectors' => [
394
+ '{{WRAPPER}} .eael-entry-title:hover, {{WRAPPER}} .eael-entry-title a:hover' => 'color: {{VALUE}};',
395
+ ]
396
+
397
+ ]
398
+ );
399
+
400
+ $this->add_responsive_control(
401
+ 'eael_post_grid_title_alignment',
402
+ [
403
+ 'label' => __( 'Title Alignment', 'essential-addons-elementor' ),
404
+ 'type' => Controls_Manager::CHOOSE,
405
+ 'options' => [
406
+ 'left' => [
407
+ 'title' => __( 'Left', 'essential-addons-elementor' ),
408
+ 'icon' => 'fa fa-align-left',
409
+ ],
410
+ 'center' => [
411
+ 'title' => __( 'Center', 'essential-addons-elementor' ),
412
+ 'icon' => 'fa fa-align-center',
413
+ ],
414
+ 'right' => [
415
+ 'title' => __( 'Right', 'essential-addons-elementor' ),
416
+ 'icon' => 'fa fa-align-right',
417
+ ]
418
+ ],
419
+ 'selectors' => [
420
+ '{{WRAPPER}} .eael-entry-title' => 'text-align: {{VALUE}};',
421
+ ]
422
+ ]
423
+ );
424
+
425
+ $this->add_group_control(
426
+ Group_Control_Typography::get_type(),
427
+ [
428
+ 'name' => 'eael_post_grid_title_typography',
429
+ 'label' => __( 'Typography', 'essential-addons-elementor' ),
430
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
431
+ 'selector' => '{{WRAPPER}} .eael-entry-title',
432
+ ]
433
+ );
434
+
435
+ $this->add_control(
436
+ 'eael_post_grid_excerpt_style',
437
+ [
438
+ 'label' => __( 'Excerpt Style', 'essential-addons-elementor' ),
439
+ 'type' => Controls_Manager::HEADING,
440
+ 'separator' => 'before',
441
+ ]
442
+ );
443
+
444
+ $this->add_control(
445
+ 'eael_post_grid_excerpt_color',
446
+ [
447
+ 'label' => __( 'Excerpt Color', 'essential-addons-elementor' ),
448
+ 'type' => Controls_Manager::COLOR,
449
+ 'default'=> '',
450
+ 'selectors' => [
451
+ '{{WRAPPER}} .eael-grid-post-excerpt p' => 'color: {{VALUE}};',
452
+ ]
453
+ ]
454
+ );
455
+
456
+ $this->add_responsive_control(
457
+ 'eael_post_grid_excerpt_alignment',
458
+ [
459
+ 'label' => __( 'Excerpt Alignment', 'essential-addons-elementor' ),
460
+ 'type' => Controls_Manager::CHOOSE,
461
+ 'options' => [
462
+ 'left' => [
463
+ 'title' => __( 'Left', 'essential-addons-elementor' ),
464
+ 'icon' => 'fa fa-align-left',
465
+ ],
466
+ 'center' => [
467
+ 'title' => __( 'Center', 'essential-addons-elementor' ),
468
+ 'icon' => 'fa fa-align-center',
469
+ ],
470
+ 'right' => [
471
+ 'title' => __( 'Right', 'essential-addons-elementor' ),
472
+ 'icon' => 'fa fa-align-right',
473
+ ],
474
+ 'justify' => [
475
+ 'title' => __( 'Justified', 'essential-addons-elementor' ),
476
+ 'icon' => 'fa fa-align-justify',
477
+ ],
478
+ ],
479
+ 'selectors' => [
480
+ '{{WRAPPER}} .eael-grid-post-excerpt p' => 'text-align: {{VALUE}};',
481
+ ],
482
+ ]
483
+ );
484
+
485
+ $this->add_group_control(
486
+ Group_Control_Typography::get_type(),
487
+ [
488
+ 'name' => 'eael_post_grid_excerpt_typography',
489
+ 'label' => __( 'excerpt Typography', 'essential-addons-elementor' ),
490
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_3,
491
+ 'selector' => '{{WRAPPER}} .eael-grid-post-excerpt p',
492
+ ]
493
+ );
494
+
495
+
496
+ $this->add_control(
497
+ 'eael_post_grid_meta_style',
498
+ [
499
+ 'label' => __( 'Meta Style', 'essential-addons-elementor' ),
500
+ 'type' => Controls_Manager::HEADING,
501
+ 'separator' => 'before',
502
+ ]
503
+ );
504
+
505
+ $this->add_control(
506
+ 'eael_post_grid_meta_color',
507
+ [
508
+ 'label' => __( 'Meta Color', 'essential-addons-elementor' ),
509
+ 'type' => Controls_Manager::COLOR,
510
+ 'default'=> '',
511
+ 'selectors' => [
512
+ '{{WRAPPER}} .eael-entry-meta, .eael-entry-meta a' => 'color: {{VALUE}};',
513
+ ]
514
+ ]
515
+ );
516
+
517
+ $this->add_responsive_control(
518
+ 'eael_post_grid_meta_alignment',
519
+ [
520
+ 'label' => __( 'Meta Alignment', 'essential-addons-elementor' ),
521
+ 'type' => Controls_Manager::CHOOSE,
522
+ 'options' => [
523
+ 'flex-start' => [
524
+ 'title' => __( 'Left', 'essential-addons-elementor' ),
525
+ 'icon' => 'fa fa-align-left',
526
+ ],
527
+ 'center' => [
528
+ 'title' => __( 'Center', 'essential-addons-elementor' ),
529
+ 'icon' => 'fa fa-align-center',
530
+ ],
531
+ 'flex-end' => [
532
+ 'title' => __( 'Right', 'essential-addons-elementor' ),
533
+ 'icon' => 'fa fa-align-right',
534
+ ],
535
+ 'stretch' => [
536
+ 'title' => __( 'Justified', 'essential-addons-elementor' ),
537
+ 'icon' => 'fa fa-align-justify',
538
+ ],
539
+ ],
540
+ 'selectors' => [
541
+ '{{WRAPPER}} .eael-entry-footer' => 'justify-content: {{VALUE}};',
542
+ ],
543
+ ]
544
+ );
545
+
546
+ $this->add_group_control(
547
+ Group_Control_Typography::get_type(),
548
+ [
549
+ 'name' => 'eael_post_grid_meta_typography',
550
+ 'label' => __( 'Excerpt Typography', 'essential-addons-elementor' ),
551
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_3,
552
+ 'selector' => '{{WRAPPER}} .eael-entry-meta > div',
553
+ ]
554
+ );
555
+
556
+
557
+ $this->end_controls_section();
558
+
559
+ }
560
+
561
+
562
+ protected function render( ) {
563
+ $settings = $this->get_settings();
564
+
565
+ $post_args = eael_get_post_settings($settings);
566
+
567
+ $posts = eael_get_post_data($post_args);
568
+
569
+ ?>
570
+
571
+ <div id="eael-post-grid-<?php echo esc_attr($this->get_id()); ?>" class="eael-post-grid <?php echo esc_attr($settings['eael_post_grid_columns'] ); ?>">
572
+ <div class="eael-post-grid">
573
+ <?php
574
+ if(count($posts)){
575
+ global $post;
576
+ ?>
577
+ <?php
578
+ foreach($posts as $post){
579
+ setup_postdata($post);
580
+ ?>
581
+
582
+
583
+ <article class="eael-grid-post eael-post-grid-column">
584
+ <div class="eael-grid-post-holder">
585
+ <div class="eael-grid-post-holder-inner">
586
+
587
+ <?php if ($thumbnail_exists = has_post_thumbnail()): ?>
588
+ <div class="eael-entry-media">
589
+ <div class="eael-entry-overlay">
590
+ <i class="fa fa-long-arrow-right" aria-hidden="true"></i>
591
+ <a href="<?php echo get_permalink(); ?>"></a>
592
+ </div>
593
+ <div class="eael-entry-thumbnail">
594
+ <?php if($settings['eael_show_image'] == 1){ ?>
595
+ <img src="<?php echo wp_get_attachment_image_url(get_post_thumbnail_id(), $settings['image_size'])?>">
596
+ <?php } ?>
597
+ </div>
598
+ </div>
599
+ <?php endif; ?>
600
+
601
+ <div class="eael-entry-wrapper">
602
+ <header class="eael-entry-header">
603
+ <?php if($settings['eael_show_title']){ ?>
604
+ <h2 class="eael-entry-title"><a class="eael-grid-post-link" href="<?php echo get_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
605
+ <?php } ?>
606
+
607
+ <?php if($settings['eael_show_meta'] && $settings['eael_post_grid_meta_position'] == 'meta-entry-header'){ ?>
608
+ <div class="eael-entry-meta">
609
+ <span class="eael-posted-by"><?php the_author_posts_link(); ?></span>
610
+ <span class="eael-posted-on"><time datetime="<?php echo get_the_date(); ?>"><?php echo get_the_date(); ?></time></span>
611
+ </div>
612
+ <?php } ?>
613
+ </header>
614
+
615
+ <div class="eael-entry-content">
616
+ <?php if($settings['eael_show_excerpt']){ ?>
617
+ <div class="eael-grid-post-excerpt">
618
+ <p><?php echo eael_get_excerpt_by_id(get_the_ID(), 40);?></p>
619
+ </div>
620
+ <?php } ?>
621
+ </div>
622
+ </div>
623
+
624
+ <?php if($settings['eael_show_meta'] && $settings['eael_post_grid_meta_position'] == 'meta-entry-footer'){ ?>
625
+ <div class="eael-entry-footer">
626
+ <div class="eael-author-avatar">
627
+ <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ), get_the_author_meta( 'user_nicename' ) ); ?>"><?php echo get_avatar( get_the_author_meta( 'ID' ), 96 ); ?> </a>
628
+ </div>
629
+ <div class="eael-entry-meta">
630
+ <div class="eael-posted-by"><?php the_author_posts_link(); ?></div>
631
+ <div class="eael-posted-on"><time datetime="<?php echo get_the_date(); ?>"><?php echo get_the_date(); ?></time></div>
632
+ </div>
633
+ </div>
634
+ <?php } ?>
635
+ </div>
636
+ </div>
637
+ </article>
638
+ <?php
639
+ }
640
+ wp_reset_postdata();
641
+ ?>
642
+ <?php
643
+ }
644
+ ?>
645
+ </div>
646
+ </div>
647
+
648
+
649
+ <script type="text/javascript">
650
+
651
+ (function ($) {
652
+ 'use strict';
653
+
654
+ $(window).load(function(){
655
+
656
+ $('.eael-post-grid').masonry({
657
+ itemSelector: '.eael-grid-post',
658
+ percentPosition: true,
659
+ columnWidth: '.eael-post-grid-column'
660
+ });
661
+
662
+ });
663
+
664
+ }(jQuery));
665
+
666
+ </script>
667
+
668
+
669
+ <?php
670
+ }
671
+
672
+ protected function content_template() {
673
+ ?>
674
+
675
+ <?php
676
+ }
677
+ }
678
+ Plugin::instance()->widgets_manager->register_widget_type( new Widget_Eael_Post_Grid() );
elements/post-timeline/post-timeline.php CHANGED
@@ -194,6 +194,35 @@ class Widget_PostTimeline extends Widget_Base {
194
 
195
  $this->end_controls_section();
196
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  $this->start_controls_section(
198
  'eael_section_post_timeline_style',
199
  [
194
 
195
  $this->end_controls_section();
196
 
197
+
198
+ $this->start_controls_section(
199
+ 'eael_section_pro',
200
+ [
201
+ 'label' => __( 'Go Premium', 'essential-addons-elementor' )
202
+ ]
203
+ );
204
+
205
+
206
+ $this->add_control(
207
+ 'eael_control_get_pro',
208
+ [
209
+ 'label' => __( 'Unlock more possibilities', 'essential-addons-elementor' ),
210
+ 'type' => Controls_Manager::CHOOSE,
211
+ 'options' => [
212
+ '1' => [
213
+ 'title' => __( '', 'essential-addons-elementor' ),
214
+ 'icon' => 'fa fa-unlock-alt',
215
+ ],
216
+ ],
217
+ 'default' => '1',
218
+ 'description' => '<span class="pro-feature"> Get the <a href="https://essential-addons.com/elementor/buy.php" target="_blank">Pro version</a> for more stunning elements and customization options.</span>'
219
+ ]
220
+ );
221
+
222
+
223
+ $this->end_controls_section();
224
+
225
+
226
  $this->start_controls_section(
227
  'eael_section_post_timeline_style',
228
  [
elements/product-grid/product-grid.php CHANGED
@@ -119,6 +119,32 @@ class Widget_Eael_Product_Grid extends Widget_Base {
119
 
120
  $this->end_controls_section();
121
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122
 
123
  $this->start_controls_section(
124
  'eael_product_grid_styles',
119
 
120
  $this->end_controls_section();
121
 
122
+ $this->start_controls_section(
123
+ 'eael_section_pro',
124
+ [
125
+ 'label' => __( 'Go Premium', 'essential-addons-elementor' )
126
+ ]
127
+ );
128
+
129
+
130
+ $this->add_control(
131
+ 'eael_control_get_pro',
132
+ [
133
+ 'label' => __( 'Unlock more possibilities', 'essential-addons-elementor' ),
134
+ 'type' => Controls_Manager::CHOOSE,
135
+ 'options' => [
136
+ '1' => [
137
+ 'title' => __( '', 'essential-addons-elementor' ),
138
+ 'icon' => 'fa fa-unlock-alt',
139
+ ],
140
+ ],
141
+ 'default' => '1',
142
+ 'description' => '<span class="pro-feature"> Get the <a href="https://essential-addons.com/elementor/buy.php" target="_blank">Pro version</a> for more stunning elements and customization options.</span>'
143
+ ]
144
+ );
145
+
146
+
147
+ $this->end_controls_section();
148
 
149
  $this->start_controls_section(
150
  'eael_product_grid_styles',
elements/team-members/team-members.php CHANGED
@@ -202,7 +202,34 @@ class Widget_Eael_Team_Member extends Widget_Base {
202
  );
203
 
204
  $this->end_controls_section();
205
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
206
 
207
  $this->start_controls_section(
208
  'eael_section_team_members_styles_general',
202
  );
203
 
204
  $this->end_controls_section();
205
+
206
+
207
+ $this->start_controls_section(
208
+ 'eael_section_pro',
209
+ [
210
+ 'label' => __( 'Go Premium', 'essential-addons-elementor' )
211
+ ]
212
+ );
213
+
214
+
215
+ $this->add_control(
216
+ 'eael_control_get_pro',
217
+ [
218
+ 'label' => __( 'Unlock more possibilities', 'essential-addons-elementor' ),
219
+ 'type' => Controls_Manager::CHOOSE,
220
+ 'options' => [
221
+ '1' => [
222
+ 'title' => __( '', 'essential-addons-elementor' ),
223
+ 'icon' => 'fa fa-unlock-alt',
224
+ ],
225
+ ],
226
+ 'default' => '1',
227
+ 'description' => '<span class="pro-feature"> Get the <a href="https://essential-addons.com/elementor/buy.php" target="_blank">Pro version</a> for more stunning elements and customization options.</span>'
228
+ ]
229
+ );
230
+
231
+
232
+ $this->end_controls_section();
233
 
234
  $this->start_controls_section(
235
  'eael_section_team_members_styles_general',
elements/testimonials/testimonials.php CHANGED
@@ -110,7 +110,32 @@ class Widget_Eael_Testimonial extends Widget_Base {
110
 
111
  $this->end_controls_section();
112
 
113
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
 
115
  $this->start_controls_section(
116
  'eael_section_testimonial_styles_general',
110
 
111
  $this->end_controls_section();
112
 
113
+ $this->start_controls_section(
114
+ 'eael_section_pro',
115
+ [
116
+ 'label' => __( 'Go Premium', 'essential-addons-elementor' )
117
+ ]
118
+ );
119
+
120
+
121
+ $this->add_control(
122
+ 'eael_control_get_pro',
123
+ [
124
+ 'label' => __( 'Unlock more possibilities', 'essential-addons-elementor' ),
125
+ 'type' => Controls_Manager::CHOOSE,
126
+ 'options' => [
127
+ '1' => [
128
+ 'title' => __( '', 'essential-addons-elementor' ),
129
+ 'icon' => 'fa fa-unlock-alt',
130
+ ],
131
+ ],
132
+ 'default' => '1',
133
+ 'description' => '<span class="pro-feature"> Get the <a href="https://essential-addons.com/elementor/buy.php" target="_blank">Pro version</a> for more stunning elements and customization options.</span>'
134
+ ]
135
+ );
136
+
137
+
138
+ $this->end_controls_section();
139
 
140
  $this->start_controls_section(
141
  'eael_section_testimonial_styles_general',
elements/weforms/weforms.php CHANGED
@@ -47,7 +47,33 @@ class Widget_Eael_WeForm extends Widget_Base {
47
 
48
 
49
  $this->end_controls_section();
50
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
 
52
  $this->start_controls_section(
53
  'eael_section_weform_styles',
47
 
48
 
49
  $this->end_controls_section();
50
+
51
+ $this->start_controls_section(
52
+ 'eael_section_pro',
53
+ [
54
+ 'label' => __( 'Go Premium', 'essential-addons-elementor' )
55
+ ]
56
+ );
57
+
58
+
59
+ $this->add_control(
60
+ 'eael_control_get_pro',
61
+ [
62
+ 'label' => __( 'Unlock more possibilities', 'essential-addons-elementor' ),
63
+ 'type' => Controls_Manager::CHOOSE,
64
+ 'options' => [
65
+ '1' => [
66
+ 'title' => __( '', 'essential-addons-elementor' ),
67
+ 'icon' => 'fa fa-unlock-alt',
68
+ ],
69
+ ],
70
+ 'default' => '1',
71
+ 'description' => '<span class="pro-feature"> Get the <a href="https://essential-addons.com/elementor/buy.php" target="_blank">Pro version</a> for more stunning elements and customization options.</span>'
72
+ ]
73
+ );
74
+
75
+
76
+ $this->end_controls_section();
77
 
78
  $this->start_controls_section(
79
  'eael_section_weform_styles',
essential_adons_elementor.php CHANGED
@@ -1,10 +1,10 @@
1
  <?php
2
  /**
3
- * Plugin Name: Essential Addons for Elementor Lite
4
  * Description: Elements bundle for Elementor page builder plugin for WordPress. <a href="https://essential-addons.com/elementor/buy.php">Get Premium version</a>
5
  * Plugin URI: https://essential-addons.com/elementor/
6
- * Author: Elementor Addons Team by Codetic
7
- * Version: 1.0.1
8
  * Author URI: http://www.codetic.net
9
  *
10
  * Text Domain: essential-addons-elementor
@@ -22,6 +22,7 @@ require_once ESSENTIAL_ADDONS_EL_PATH.'includes/queries.php';
22
  function add_eael_elements(){
23
 
24
  // load elements
 
25
  require_once ESSENTIAL_ADDONS_EL_PATH.'elements/post-timeline/post-timeline.php';
26
  require_once ESSENTIAL_ADDONS_EL_PATH.'elements/fancy-text/fancy-text.php';
27
  require_once ESSENTIAL_ADDONS_EL_PATH.'elements/creative-button/creative-button.php';
@@ -51,3 +52,12 @@ function essential_addons_el_enqueue(){
51
  }
52
  add_action( 'wp_enqueue_scripts', 'essential_addons_el_enqueue' );
53
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
  /**
3
+ * Plugin Name: Essential Addons Elementor
4
  * Description: Elements bundle for Elementor page builder plugin for WordPress. <a href="https://essential-addons.com/elementor/buy.php">Get Premium version</a>
5
  * Plugin URI: https://essential-addons.com/elementor/
6
+ * Author: Codetic
7
+ * Version: 1.1.0
8
  * Author URI: http://www.codetic.net
9
  *
10
  * Text Domain: essential-addons-elementor
22
  function add_eael_elements(){
23
 
24
  // load elements
25
+ require_once ESSENTIAL_ADDONS_EL_PATH.'elements/post-grid/post-grid.php';
26
  require_once ESSENTIAL_ADDONS_EL_PATH.'elements/post-timeline/post-timeline.php';
27
  require_once ESSENTIAL_ADDONS_EL_PATH.'elements/fancy-text/fancy-text.php';
28
  require_once ESSENTIAL_ADDONS_EL_PATH.'elements/creative-button/creative-button.php';
52
  }
53
  add_action( 'wp_enqueue_scripts', 'essential_addons_el_enqueue' );
54
 
55
+
56
+ // Editor CSS
57
+
58
+ add_action( 'elementor/editor/before_enqueue_scripts', function() {
59
+
60
+ wp_register_style( 'essential_addons_elementor_editor-css', ESSENTIAL_ADDONS_EL_URL.'assets/css/essential-addons-editor.css');
61
+ wp_enqueue_style( 'essential_addons_elementor_editor-css' );
62
+
63
+ } );
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
- === Essential Addons for Elementor Lite ===
2
  Contributors: Codetic, re_enter_rupok
3
- Tags: elementor, elements, widgets, page builder, builder, visual editor, wordpress page builder
4
  Requires at least: 4.0
5
  Tested up to: 4.8
6
- Stable tag: 1.0.1
7
  License: GPLv3
8
  License URI: https://opensource.org/licenses/GPL-3.0
9
 
@@ -28,6 +28,7 @@ Elementor elements bundle for Elementor WordPress Page Builder. Lots of useful
28
 
29
  ### Available Elements
30
 
 
31
  * <a href="https://www.codetic.net/essential-addons-elementor/post-timeline/" target="_blank">Post Timeline</a>
32
  * <a href="https://www.codetic.net/essential-addons-elementor/fancy-text/" target="_blank">Fancy Text</a>
33
  * <a href="https://www.codetic.net/essential-addons-elementor/creative-buttons/" target="_blank">Creative Buttons</a>
@@ -41,7 +42,6 @@ Elementor elements bundle for Elementor WordPress Page Builder. Lots of useful
41
 
42
  ### More elements on <a href="https://essential-addons.com/elementor/buy.php">Premium Version</a>
43
 
44
- * <a href="https://www.codetic.net/essential-addons-elementor/post-grid/" target="_blank">Post Grid (Masonry)</a>
45
  * <a href="https://www.codetic.net/essential-addons-elementor/post-block/" target="_blank">Post Block (Flex)</a>
46
  * <a href="https://www.codetic.net/essential-addons-elementor/lightbox-modal/" target="_blank">Lightbox & Modal</a>
47
  * <a href="https://www.codetic.net/essential-addons-elementor/testimonial-slider/" target="_blank">Testimonial Slider</a>
@@ -80,6 +80,12 @@ Your existing elements/content will work with premium version. So you won't lose
80
 
81
  == Changelog ==
82
 
 
 
 
 
 
 
83
  = 1.0.1 =
84
 
85
  - Element added for weForms (https://wordpress.org/plugins/weforms/)
@@ -91,6 +97,7 @@ Initial stable realese
91
 
92
  == Upgrade Notice ==
93
 
94
- = 1.0.1 =
95
 
96
- - Element added for weForms (https://wordpress.org/plugins/weforms/)
 
1
+ === Essential Addons Elementor ===
2
  Contributors: Codetic, re_enter_rupok
3
+ Tags: elementor, elements, addons, elementor addon, widgets, page builder, builder, visual editor, wordpress page builder
4
  Requires at least: 4.0
5
  Tested up to: 4.8
6
+ Stable tag: 1.1.0
7
  License: GPLv3
8
  License URI: https://opensource.org/licenses/GPL-3.0
9
 
28
 
29
  ### Available Elements
30
 
31
+ * <a href="https://www.codetic.net/essential-addons-elementor/post-grid/" target="_blank">Post Grid (Masonry)</a>
32
  * <a href="https://www.codetic.net/essential-addons-elementor/post-timeline/" target="_blank">Post Timeline</a>
33
  * <a href="https://www.codetic.net/essential-addons-elementor/fancy-text/" target="_blank">Fancy Text</a>
34
  * <a href="https://www.codetic.net/essential-addons-elementor/creative-buttons/" target="_blank">Creative Buttons</a>
42
 
43
  ### More elements on <a href="https://essential-addons.com/elementor/buy.php">Premium Version</a>
44
 
 
45
  * <a href="https://www.codetic.net/essential-addons-elementor/post-block/" target="_blank">Post Block (Flex)</a>
46
  * <a href="https://www.codetic.net/essential-addons-elementor/lightbox-modal/" target="_blank">Lightbox & Modal</a>
47
  * <a href="https://www.codetic.net/essential-addons-elementor/testimonial-slider/" target="_blank">Testimonial Slider</a>
80
 
81
  == Changelog ==
82
 
83
+ = 1.1.0 =
84
+
85
+ - Post Grid (Masonry) element added
86
+ - Few minor improvement
87
+
88
+
89
  = 1.0.1 =
90
 
91
  - Element added for weForms (https://wordpress.org/plugins/weforms/)
97
 
98
  == Upgrade Notice ==
99
 
100
+ = 1.0.2 =
101
 
102
+ - Post Grid (Masonry) element added
103
+ - Few minor improvement