Addons for Elementor - Version 6.9.4

Version Description

  • Added - Added star rating option for Testimonials Slider
  • Added - Add customization option for star ratings in Testimonials and Testimonials Slider widgets
Download this release

Release Info

Developer livemesh
Plugin Icon 128x128 Addons for Elementor
Version 6.9.4
Comparing to
See all releases

Code changes from version 6.9.2 to 6.9.4

addons-for-elementor.php CHANGED
@@ -8,11 +8,11 @@
8
  * Author URI: https://livemeshelementor.com
9
  * License: GPL3
10
  * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
11
- * Version: 6.9.2
12
  * Text Domain: livemesh-el-addons
13
  * Domain Path: languages
14
- * Elementor tested up to: 3.1.0
15
- * Elementor Pro tested up to: 3.1.0
16
  *
17
  * Livemesh Addons for Elementor is distributed under the terms of the GNU
18
  * General Public License as published by the Free Software Foundation,
@@ -37,7 +37,7 @@ if ( !defined( 'ABSPATH' ) ) {
37
 
38
  if ( !function_exists( 'lae_fs' ) ) {
39
  // Plugin version
40
- define( 'LAE_VERSION', '6.9.2' );
41
  // Plugin Root File
42
  define( 'LAE_PLUGIN_FILE', __FILE__ );
43
  // Plugin Folder Path
8
  * Author URI: https://livemeshelementor.com
9
  * License: GPL3
10
  * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
11
+ * Version: 6.9.4
12
  * Text Domain: livemesh-el-addons
13
  * Domain Path: languages
14
+ * Elementor tested up to: 3.2.0
15
+ * Elementor Pro tested up to: 3.2.0
16
  *
17
  * Livemesh Addons for Elementor is distributed under the terms of the GNU
18
  * General Public License as published by the Free Software Foundation,
37
 
38
  if ( !function_exists( 'lae_fs' ) ) {
39
  // Plugin version
40
+ define( 'LAE_VERSION', '6.9.4' );
41
  // Plugin Root File
42
  define( 'LAE_PLUGIN_FILE', __FILE__ );
43
  // Plugin Folder Path
assets/css/widgets/testimonials-slider.css CHANGED
@@ -5,7 +5,24 @@
5
  .lae-testimonials-slider.lae-container {
6
  max-width: 900px;
7
  margin: 0 auto; }
8
- .lae-testimonials-slider .lae-testimonial-text {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  text-align: center;
10
  max-width: 750px;
11
  margin: 0 auto 40px;
@@ -13,9 +30,9 @@
13
  line-height: 32px;
14
  font-style: italic;
15
  color: #666; }
16
- .lae-dark-bg .lae-testimonials-slider .lae-testimonial-text {
17
  color: #ccc; }
18
- .lae-testimonials-slider .lae-testimonial-text i {
19
  color: #ccc;
20
  font-size: 32px;
21
  display: block;
@@ -23,26 +40,26 @@
23
  background: none;
24
  width: auto;
25
  height: auto; }
26
- .lae-dark-bg .lae-testimonials-slider .lae-testimonial-text i {
27
  color: #ddd; }
28
- .lae-testimonials-slider .lae-testimonial-user {
29
  display: table;
30
  margin: 0 auto; }
31
- .lae-testimonials-slider .lae-testimonial-user .lae-image-wrapper {
32
  display: table-cell; }
33
- .lae-testimonials-slider .lae-testimonial-user .lae-image-wrapper img {
34
  max-width: 64px;
35
  border-radius: 50%;
36
  margin-right: 15px; }
37
- .rtl .lae-testimonials-slider .lae-testimonial-user .lae-image-wrapper img {
38
  margin: 0 0 0 15px; }
39
- .lae-testimonials-slider .lae-testimonial-user .lae-text {
40
  display: table-cell;
41
  vertical-align: middle;
42
  color: #888; }
43
- .lae-dark-bg .lae-testimonials-slider .lae-testimonial-user .lae-text {
44
  color: #909090; }
45
- .lae-testimonials-slider .lae-testimonial-user .lae-text .lae-author-name {
46
  font-size: 18px;
47
  line-height: 26px;
48
  letter-spacing: 1px;
@@ -55,7 +72,7 @@
55
  font-size: 15px;
56
  line-height: 24px;
57
  margin-bottom: 5px; }
58
- .lae-dark-bg .lae-testimonials-slider .lae-testimonial-user .lae-text .lae-author-name {
59
  color: #e5e5e5; }
60
 
61
  /*# sourceMappingURL=testimonials-slider.css.map */
5
  .lae-testimonials-slider.lae-container {
6
  max-width: 900px;
7
  margin: 0 auto; }
8
+ .lae-testimonials-slider .lae-testimonial .lae-testimonial-star-rating {
9
+ padding: 0;
10
+ margin: 0 0 10px 0; }
11
+ .lae-testimonials-slider .lae-testimonial .lae-testimonial-star-rating .lae-testimonial-star-rating-item {
12
+ display: inline-block; }
13
+ .lae-testimonials-slider .lae-testimonial .lae-testimonial-star-rating .lae-testimonial-star-rating-item svg {
14
+ fill: #d8d8d8; }
15
+ .lae-testimonials-slider .lae-testimonial.lae-rating-five .lae-testimonial-star-rating .lae-testimonial-star-rating-item svg {
16
+ fill: #f2b01e; }
17
+ .lae-testimonials-slider .lae-testimonial.lae-rating-one .lae-testimonial-star-rating .lae-testimonial-star-rating-item:first-child svg {
18
+ fill: #f2b01e; }
19
+ .lae-testimonials-slider .lae-testimonial.lae-rating-two .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(1) svg, .lae-testimonials-slider .lae-testimonial.lae-rating-two .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(2) svg {
20
+ fill: #f2b01e; }
21
+ .lae-testimonials-slider .lae-testimonial.lae-rating-three .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(1) svg, .lae-testimonials-slider .lae-testimonial.lae-rating-three .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(2) svg, .lae-testimonials-slider .lae-testimonial.lae-rating-three .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(3) svg {
22
+ fill: #f2b01e; }
23
+ .lae-testimonials-slider .lae-testimonial.lae-rating-four .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(1) svg, .lae-testimonials-slider .lae-testimonial.lae-rating-four .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(2) svg, .lae-testimonials-slider .lae-testimonial.lae-rating-four .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(3) svg, .lae-testimonials-slider .lae-testimonial.lae-rating-four .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(4) svg {
24
+ fill: #f2b01e; }
25
+ .lae-testimonials-slider .lae-testimonial .lae-testimonial-text {
26
  text-align: center;
27
  max-width: 750px;
28
  margin: 0 auto 40px;
30
  line-height: 32px;
31
  font-style: italic;
32
  color: #666; }
33
+ .lae-dark-bg .lae-testimonials-slider .lae-testimonial .lae-testimonial-text {
34
  color: #ccc; }
35
+ .lae-testimonials-slider .lae-testimonial .lae-testimonial-text i {
36
  color: #ccc;
37
  font-size: 32px;
38
  display: block;
40
  background: none;
41
  width: auto;
42
  height: auto; }
43
+ .lae-dark-bg .lae-testimonials-slider .lae-testimonial .lae-testimonial-text i {
44
  color: #ddd; }
45
+ .lae-testimonials-slider .lae-testimonial .lae-testimonial-user {
46
  display: table;
47
  margin: 0 auto; }
48
+ .lae-testimonials-slider .lae-testimonial .lae-testimonial-user .lae-image-wrapper {
49
  display: table-cell; }
50
+ .lae-testimonials-slider .lae-testimonial .lae-testimonial-user .lae-image-wrapper img {
51
  max-width: 64px;
52
  border-radius: 50%;
53
  margin-right: 15px; }
54
+ .rtl .lae-testimonials-slider .lae-testimonial .lae-testimonial-user .lae-image-wrapper img {
55
  margin: 0 0 0 15px; }
56
+ .lae-testimonials-slider .lae-testimonial .lae-testimonial-user .lae-text {
57
  display: table-cell;
58
  vertical-align: middle;
59
  color: #888; }
60
+ .lae-dark-bg .lae-testimonials-slider .lae-testimonial .lae-testimonial-user .lae-text {
61
  color: #909090; }
62
+ .lae-testimonials-slider .lae-testimonial .lae-testimonial-user .lae-text .lae-author-name {
63
  font-size: 18px;
64
  line-height: 26px;
65
  letter-spacing: 1px;
72
  font-size: 15px;
73
  line-height: 24px;
74
  margin-bottom: 5px; }
75
+ .lae-dark-bg .lae-testimonials-slider .lae-testimonial .lae-testimonial-user .lae-text .lae-author-name {
76
  color: #e5e5e5; }
77
 
78
  /*# sourceMappingURL=testimonials-slider.css.map */
assets/css/widgets/testimonials-slider.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["testimonials-slider.scss","../_lae-lib.scss"],"names":[],"mappings":"AAGA,8FAA8F;AAI9F;EACE,YAAW;EACX,mBAAkB,EAAA;EAElB;IACE,iBAAgB;IAChB,eAAc,EAAA;EAGhB;IACE,mBAAkB;IAClB,iBAAgB;IAChB,oBAAmB;IACnB,gBAAe;IACf,kBAAiB;IACjB,mBAAkB;IAClB,YAAW,EAAA;IAEX;MACE,YAAW,EAAA;IAGb;MACE,YAAW;MACX,gBAAe;MACf,eAAc;MACd,oBAAmB;MACnB,iBAAgB;MAChB,YAAW;MACX,aAAY,EAAA;MAEZ;QACE,YAAW,EAAA;EAKjB;IACE,eAAc;IACd,eAAc,EAAA;IAEd;MACE,oBAAmB,EAAA;MAEnB;QACE,gBAAe;QACf,mBAAkB;QAClB,mBAAkB,EAAA;QAElB;UACE,mBAAkB,EAAA;IAKxB;MACE,oBAAmB;MACnB,uBAAsB;MACtB,YAAW,EAAA;MAEX;QACE,eAAc,EAAA;MAGhB;QCgEJ,gBAAe;QACf,kBAAiB;QACjB,oBAAmB;QACnB,kBAAiB;QACjB,YAAW;QACX,0BAAyB;QACzB,YAAW;QACX,cAAa;QACb,oBAAmB;QDtEb,gBAAe;QACf,kBAAiB;QACjB,mBAAkB,EAAA;QAElB;UACE,eAAc,EAAA","file":"testimonials-slider.css"}
1
+ {"version":3,"sources":["testimonials-slider.scss","../_lae-lib.scss"],"names":[],"mappings":"AAGA,8FAA8F;AAI9F;EACE,YAAW;EACX,mBAAkB,EAAA;EAElB;IACE,iBAAgB;IAChB,eAAc,EAAA;EAKd;IACE,WAAU;IACV,mBAAkB,EAAA;IAElB;MACE,sBAAqB,EAAA;MAErB;QACE,cAAa,EAAA;EAMjB;IACE,cAAa,EAAA;EAMb;IACE,cAAa,EAAA;EAOf;IACE,cAAa,EAAA;EAOf;IACE,cAAa,EAAA;EAOf;IACE,cAAa,EAAA;EAKnB;IACE,mBAAkB;IAClB,iBAAgB;IAChB,oBAAmB;IACnB,gBAAe;IACf,kBAAiB;IACjB,mBAAkB;IAClB,YAAW,EAAA;IAEX;MACE,YAAW,EAAA;IAGb;MACE,YAAW;MACX,gBAAe;MACf,eAAc;MACd,oBAAmB;MACnB,iBAAgB;MAChB,YAAW;MACX,aAAY,EAAA;MAEZ;QACE,YAAW,EAAA;EAKjB;IACE,eAAc;IACd,eAAc,EAAA;IAEd;MACE,oBAAmB,EAAA;MAEnB;QACE,gBAAe;QACf,mBAAkB;QAClB,mBAAkB,EAAA;QAElB;UACE,mBAAkB,EAAA;IAKxB;MACE,oBAAmB;MACnB,uBAAsB;MACtB,YAAW,EAAA;MAEX;QACE,eAAc,EAAA;MAGhB;QCWN,gBAAe;QACf,kBAAiB;QACjB,oBAAmB;QACnB,kBAAiB;QACjB,YAAW;QACX,0BAAyB;QACzB,YAAW;QACX,cAAa;QACb,oBAAmB;QDjBX,gBAAe;QACf,kBAAiB;QACjB,mBAAkB,EAAA;QAElB;UACE,eAAc,EAAA","file":"testimonials-slider.css"}
assets/css/widgets/testimonials-slider.scss CHANGED
@@ -14,69 +14,123 @@
14
  margin: 0 auto;
15
  }
16
 
17
- .lae-testimonial-text {
18
- text-align: center;
19
- max-width: 750px;
20
- margin: 0 auto 40px;
21
- font-size: 18px;
22
- line-height: 32px;
23
- font-style: italic;
24
- color: #666;
25
-
26
- .lae-dark-bg & {
27
- color: #ccc;
28
- }
29
 
30
- i {
31
- color: #ccc;
32
- font-size: 32px;
33
- display: block;
34
- margin-bottom: 35px;
35
- background: none;
36
- width: auto;
37
- height: auto;
38
 
39
- .lae-dark-bg & {
40
- color: #ddd;
 
 
 
 
41
  }
42
  }
43
- }
44
 
45
- .lae-testimonial-user {
46
- display: table;
47
- margin: 0 auto;
 
 
48
 
49
- .lae-image-wrapper {
50
- display: table-cell;
 
 
 
 
 
51
 
52
- img {
53
- max-width: 64px;
54
- border-radius: 50%;
55
- margin-right: 15px;
 
 
 
56
 
57
- .rtl & {
58
- margin: 0 0 0 15px;
 
 
59
  }
60
  }
61
  }
62
 
63
- .lae-text {
64
- display: table-cell;
65
- vertical-align: middle;
66
- color: #888;
 
 
 
 
 
 
 
 
 
 
 
 
67
 
68
  .lae-dark-bg & {
69
- color: #909090;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  }
71
 
72
- .lae-author-name {
73
- @include lae-heading-style();
74
- font-size: 15px;
75
- line-height: 24px;
76
- margin-bottom: 5px;
77
 
78
  .lae-dark-bg & {
79
- color: #e5e5e5;
 
 
 
 
 
 
 
 
 
 
 
80
  }
81
  }
82
  }
14
  margin: 0 auto;
15
  }
16
 
17
+ .lae-testimonial {
 
 
 
 
 
 
 
 
 
 
 
18
 
19
+ .lae-testimonial-star-rating {
20
+ padding: 0;
21
+ margin: 0 0 10px 0;
 
 
 
 
 
22
 
23
+ .lae-testimonial-star-rating-item {
24
+ display: inline-block;
25
+
26
+ svg {
27
+ fill: #d8d8d8;
28
+ }
29
  }
30
  }
 
31
 
32
+ &.lae-rating-five .lae-testimonial-star-rating .lae-testimonial-star-rating-item {
33
+ svg {
34
+ fill: #f2b01e;
35
+ }
36
+ }
37
 
38
+ &.lae-rating-one .lae-testimonial-star-rating .lae-testimonial-star-rating-item {
39
+ &:first-child {
40
+ svg {
41
+ fill: #f2b01e;
42
+ }
43
+ }
44
+ }
45
 
46
+ &.lae-rating-two .lae-testimonial-star-rating .lae-testimonial-star-rating-item {
47
+ &:nth-child(1), &:nth-child(2) {
48
+ svg {
49
+ fill: #f2b01e;
50
+ }
51
+ }
52
+ }
53
 
54
+ &.lae-rating-three .lae-testimonial-star-rating .lae-testimonial-star-rating-item {
55
+ &:nth-child(1), &:nth-child(2), &:nth-child(3) {
56
+ svg {
57
+ fill: #f2b01e;
58
  }
59
  }
60
  }
61
 
62
+ &.lae-rating-four .lae-testimonial-star-rating .lae-testimonial-star-rating-item {
63
+ &:nth-child(1), &:nth-child(2), &:nth-child(3), &:nth-child(4) {
64
+ svg {
65
+ fill: #f2b01e;
66
+ }
67
+ }
68
+ }
69
+
70
+ .lae-testimonial-text {
71
+ text-align: center;
72
+ max-width: 750px;
73
+ margin: 0 auto 40px;
74
+ font-size: 18px;
75
+ line-height: 32px;
76
+ font-style: italic;
77
+ color: #666;
78
 
79
  .lae-dark-bg & {
80
+ color: #ccc;
81
+ }
82
+
83
+ i {
84
+ color: #ccc;
85
+ font-size: 32px;
86
+ display: block;
87
+ margin-bottom: 35px;
88
+ background: none;
89
+ width: auto;
90
+ height: auto;
91
+
92
+ .lae-dark-bg & {
93
+ color: #ddd;
94
+ }
95
+ }
96
+ }
97
+
98
+ .lae-testimonial-user {
99
+ display: table;
100
+ margin: 0 auto;
101
+
102
+ .lae-image-wrapper {
103
+ display: table-cell;
104
+
105
+ img {
106
+ max-width: 64px;
107
+ border-radius: 50%;
108
+ margin-right: 15px;
109
+
110
+ .rtl & {
111
+ margin: 0 0 0 15px;
112
+ }
113
+ }
114
  }
115
 
116
+ .lae-text {
117
+ display: table-cell;
118
+ vertical-align: middle;
119
+ color: #888;
 
120
 
121
  .lae-dark-bg & {
122
+ color: #909090;
123
+ }
124
+
125
+ .lae-author-name {
126
+ @include lae-heading-style();
127
+ font-size: 15px;
128
+ line-height: 24px;
129
+ margin-bottom: 5px;
130
+
131
+ .lae-dark-bg & {
132
+ color: #e5e5e5;
133
+ }
134
  }
135
  }
136
  }
assets/css/widgets/testimonials.css CHANGED
@@ -98,7 +98,7 @@
98
 
99
  /*-------- Style 2 ----------------*/
100
  .lae-testimonials-style2 .lae-testimonial .lae-testimonial-star-rating {
101
- margin: 20px 0 0 0; }
102
  .lae-testimonials-style2 .lae-testimonial .lae-testimonial-text {
103
  margin-top: 20px; }
104
  .lae-testimonials-style2 .lae-testimonial:not(.lae-rating-none) .lae-testimonial-text {
98
 
99
  /*-------- Style 2 ----------------*/
100
  .lae-testimonials-style2 .lae-testimonial .lae-testimonial-star-rating {
101
+ margin: 10px 0 0 0; }
102
  .lae-testimonials-style2 .lae-testimonial .lae-testimonial-text {
103
  margin-top: 20px; }
104
  .lae-testimonials-style2 .lae-testimonial:not(.lae-rating-none) .lae-testimonial-text {
assets/css/widgets/testimonials.scss CHANGED
@@ -168,7 +168,7 @@
168
  .lae-testimonials-style2 {
169
  .lae-testimonial {
170
  .lae-testimonial-star-rating {
171
- margin: 20px 0 0 0;
172
  }
173
  .lae-testimonial-text {
174
  margin-top: 20px;
168
  .lae-testimonials-style2 {
169
  .lae-testimonial {
170
  .lae-testimonial-star-rating {
171
+ margin: 10px 0 0 0;
172
  }
173
  .lae-testimonial-text {
174
  margin-top: 20px;
includes/widgets/testimonials-slider.php CHANGED
@@ -95,6 +95,19 @@ class LAE_Testimonials_Slider_Widget extends LAE_Widget_Base
95
  'active' => true,
96
  ],
97
  ] );
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  $repeater->add_control( 'testimonial_text', [
99
  'label' => __( 'Testimonials Text', 'livemesh-el-addons' ),
100
  'type' => Controls_Manager::WYSIWYG,
@@ -219,7 +232,7 @@ class LAE_Testimonials_Slider_Widget extends LAE_Widget_Base
219
  'type' => Controls_Manager::DIMENSIONS,
220
  'size_units' => [ 'px', '%' ],
221
  'selectors' => [
222
- '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial-user .lae-image-wrapper img' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
223
  ],
224
  ] );
225
  $this->add_control( 'thumbnail_size', [
@@ -237,7 +250,7 @@ class LAE_Testimonials_Slider_Widget extends LAE_Widget_Base
237
  ],
238
  ],
239
  'selectors' => [
240
- '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial-user .lae-image-wrapper img' => 'max-width: {{SIZE}}{{UNIT}};',
241
  ],
242
  ] );
243
  $this->end_controls_section();
@@ -249,12 +262,12 @@ class LAE_Testimonials_Slider_Widget extends LAE_Widget_Base
249
  'label' => __( 'Color', 'livemesh-el-addons' ),
250
  'type' => Controls_Manager::COLOR,
251
  'selectors' => [
252
- '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial-text' => 'color: {{VALUE}};',
253
  ],
254
  ] );
255
  $this->add_group_control( Group_Control_Typography::get_type(), [
256
  'name' => 'text_typography',
257
- 'selector' => '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial-text',
258
  ] );
259
  $this->end_controls_section();
260
  $this->start_controls_section( 'section_testimonials_author_name', [
@@ -279,12 +292,12 @@ class LAE_Testimonials_Slider_Widget extends LAE_Widget_Base
279
  'label' => __( 'Color', 'livemesh-el-addons' ),
280
  'type' => Controls_Manager::COLOR,
281
  'selectors' => [
282
- '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial-user .lae-text .lae-author-name' => 'color: {{VALUE}};',
283
  ],
284
  ] );
285
  $this->add_group_control( Group_Control_Typography::get_type(), [
286
  'name' => 'title_typography',
287
- 'selector' => '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial-user .lae-text .lae-author-name',
288
  ] );
289
  $this->end_controls_section();
290
  $this->start_controls_section( 'section_testimonials_author_credentials', [
@@ -295,12 +308,32 @@ class LAE_Testimonials_Slider_Widget extends LAE_Widget_Base
295
  'label' => __( 'Color', 'livemesh-el-addons' ),
296
  'type' => Controls_Manager::COLOR,
297
  'selectors' => [
298
- '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial-user .lae-text' => 'color: {{VALUE}};',
299
  ],
300
  ] );
301
  $this->add_group_control( Group_Control_Typography::get_type(), [
302
  'name' => 'credential_typography',
303
- 'selector' => '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial-user .lae-text',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
304
  ] );
305
  $this->end_controls_section();
306
  $this->start_controls_section( 'section_quote_icon_styling', [
@@ -318,7 +351,7 @@ class LAE_Testimonials_Slider_Widget extends LAE_Widget_Base
318
  ],
319
  ],
320
  'selectors' => [
321
- '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial-text i' => 'font-size: {{SIZE}}{{UNIT}};',
322
  ],
323
  ] );
324
  $this->add_control( 'quote_icon_color', [
@@ -326,7 +359,7 @@ class LAE_Testimonials_Slider_Widget extends LAE_Widget_Base
326
  'type' => Controls_Manager::COLOR,
327
  'default' => '',
328
  'selectors' => [
329
- '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial-text i' => 'color: {{VALUE}};',
330
  ],
331
  ] );
332
  $this->end_controls_section();
95
  'active' => true,
96
  ],
97
  ] );
98
+ $repeater->add_control( 'testimonial_rating', [
99
+ 'label' => __( 'Rating', 'livemesh-el-addons' ),
100
+ 'type' => Controls_Manager::SELECT,
101
+ 'default' => 'rating-none',
102
+ 'options' => [
103
+ 'rating-none' => __( 'None', 'livemesh-el-addons' ),
104
+ 'rating-one' => __( '1', 'livemesh-el-addons' ),
105
+ 'rating-two' => __( '2', 'livemesh-el-addons' ),
106
+ 'rating-three' => __( '3', 'livemesh-el-addons' ),
107
+ 'rating-four' => __( '4', 'livemesh-el-addons' ),
108
+ 'rating-five' => __( '5', 'livemesh-el-addons' ),
109
+ ],
110
+ ] );
111
  $repeater->add_control( 'testimonial_text', [
112
  'label' => __( 'Testimonials Text', 'livemesh-el-addons' ),
113
  'type' => Controls_Manager::WYSIWYG,
232
  'type' => Controls_Manager::DIMENSIONS,
233
  'size_units' => [ 'px', '%' ],
234
  'selectors' => [
235
+ '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial .lae-testimonial-user .lae-image-wrapper img' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
236
  ],
237
  ] );
238
  $this->add_control( 'thumbnail_size', [
250
  ],
251
  ],
252
  'selectors' => [
253
+ '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial .lae-testimonial-user .lae-image-wrapper img' => 'max-width: {{SIZE}}{{UNIT}};',
254
  ],
255
  ] );
256
  $this->end_controls_section();
262
  'label' => __( 'Color', 'livemesh-el-addons' ),
263
  'type' => Controls_Manager::COLOR,
264
  'selectors' => [
265
+ '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial .lae-testimonial-text' => 'color: {{VALUE}};',
266
  ],
267
  ] );
268
  $this->add_group_control( Group_Control_Typography::get_type(), [
269
  'name' => 'text_typography',
270
+ 'selector' => '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial .lae-testimonial-text',
271
  ] );
272
  $this->end_controls_section();
273
  $this->start_controls_section( 'section_testimonials_author_name', [
292
  'label' => __( 'Color', 'livemesh-el-addons' ),
293
  'type' => Controls_Manager::COLOR,
294
  'selectors' => [
295
+ '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial .lae-testimonial-user .lae-text .lae-author-name' => 'color: {{VALUE}};',
296
  ],
297
  ] );
298
  $this->add_group_control( Group_Control_Typography::get_type(), [
299
  'name' => 'title_typography',
300
+ 'selector' => '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial .lae-testimonial-user .lae-text .lae-author-name',
301
  ] );
302
  $this->end_controls_section();
303
  $this->start_controls_section( 'section_testimonials_author_credentials', [
308
  'label' => __( 'Color', 'livemesh-el-addons' ),
309
  'type' => Controls_Manager::COLOR,
310
  'selectors' => [
311
+ '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial .lae-testimonial-user .lae-text' => 'color: {{VALUE}};',
312
  ],
313
  ] );
314
  $this->add_group_control( Group_Control_Typography::get_type(), [
315
  'name' => 'credential_typography',
316
+ 'selector' => '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial .lae-testimonial-user .lae-text',
317
+ ] );
318
+ $this->end_controls_section();
319
+ $this->start_controls_section( 'section_testimonials_rating', [
320
+ 'label' => __( 'Author Star Rating', 'livemesh-el-addons' ),
321
+ 'tab' => Controls_Manager::TAB_STYLE,
322
+ 'show_label' => false,
323
+ ] );
324
+ $this->add_control( 'rating_color', [
325
+ 'label' => __( 'Default Color', 'livemesh-el-addons' ),
326
+ 'type' => Controls_Manager::COLOR,
327
+ 'selectors' => [
328
+ '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial .lae-testimonial-star-rating .lae-testimonial-star-rating-item svg' => 'fill: {{VALUE}};',
329
+ ],
330
+ ] );
331
+ $this->add_control( 'rating_highlight_color', [
332
+ 'label' => __( 'Highlight Color', 'livemesh-el-addons' ),
333
+ 'type' => Controls_Manager::COLOR,
334
+ 'selectors' => [
335
+ '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial.lae-rating-five .lae-testimonial-star-rating .lae-testimonial-star-rating-item svg,{{WRAPPER}} .lae-testimonials-slider .lae-testimonial.lae-rating-one .lae-testimonial-star-rating .lae-testimonial-star-rating-item:first-child svg,{{WRAPPER}} .lae-testimonials-slider .lae-testimonial.lae-rating-two .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(1) svg,{{WRAPPER}} .lae-testimonials-slider .lae-testimonial.lae-rating-two .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(2) svg,{{WRAPPER}} .lae-testimonials-slider .lae-testimonial.lae-rating-three .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(1) svg,{{WRAPPER}} .lae-testimonials-slider .lae-testimonial.lae-rating-three .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(2) svg,{{WRAPPER}} .lae-testimonials-slider .lae-testimonial.lae-rating-three .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(3) svg,{{WRAPPER}} .lae-testimonials-slider .lae-testimonial.lae-rating-four .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(1) svg,{{WRAPPER}} .lae-testimonials-slider .lae-testimonial.lae-rating-four .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(2) svg,{{WRAPPER}} .lae-testimonials-slider .lae-testimonial.lae-rating-four .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(3) svg,{{WRAPPER}} .lae-testimonials-slider .lae-testimonial.lae-rating-four .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(4) svg' => 'fill: {{VALUE}};',
336
+ ],
337
  ] );
338
  $this->end_controls_section();
339
  $this->start_controls_section( 'section_quote_icon_styling', [
351
  ],
352
  ],
353
  'selectors' => [
354
+ '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial .lae-testimonial-text i' => 'font-size: {{SIZE}}{{UNIT}};',
355
  ],
356
  ] );
357
  $this->add_control( 'quote_icon_color', [
359
  'type' => Controls_Manager::COLOR,
360
  'default' => '',
361
  'selectors' => [
362
+ '{{WRAPPER}} .lae-testimonials-slider .lae-testimonial .lae-testimonial-text i' => 'color: {{VALUE}};',
363
  ],
364
  ] );
365
  $this->end_controls_section();
includes/widgets/testimonials.php CHANGED
@@ -582,6 +582,26 @@ class LAE_Testimonials_Widget extends LAE_Widget_Base
582
  'selector' => '{{WRAPPER}} .lae-testimonials .lae-testimonial-user .lae-text',
583
  ] );
584
  $this->end_controls_section();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
585
  }
586
 
587
  protected function render()
582
  'selector' => '{{WRAPPER}} .lae-testimonials .lae-testimonial-user .lae-text',
583
  ] );
584
  $this->end_controls_section();
585
+ $this->start_controls_section( 'section_testimonials_rating', [
586
+ 'label' => __( 'Author Star Rating', 'livemesh-el-addons' ),
587
+ 'tab' => Controls_Manager::TAB_STYLE,
588
+ 'show_label' => false,
589
+ ] );
590
+ $this->add_control( 'rating_color', [
591
+ 'label' => __( 'Default Color', 'livemesh-el-addons' ),
592
+ 'type' => Controls_Manager::COLOR,
593
+ 'selectors' => [
594
+ '{{WRAPPER}} .lae-testimonials .lae-testimonial .lae-testimonial-star-rating .lae-testimonial-star-rating-item svg' => 'fill: {{VALUE}};',
595
+ ],
596
+ ] );
597
+ $this->add_control( 'rating_highlight_color', [
598
+ 'label' => __( 'Highlight Color', 'livemesh-el-addons' ),
599
+ 'type' => Controls_Manager::COLOR,
600
+ 'selectors' => [
601
+ '{{WRAPPER}} .lae-testimonials .lae-testimonial.lae-rating-five .lae-testimonial-star-rating .lae-testimonial-star-rating-item svg,{{WRAPPER}} .lae-testimonials .lae-testimonial.lae-rating-one .lae-testimonial-star-rating .lae-testimonial-star-rating-item:first-child svg,{{WRAPPER}} .lae-testimonials .lae-testimonial.lae-rating-two .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(1) svg,{{WRAPPER}} .lae-testimonials .lae-testimonial.lae-rating-two .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(2) svg,{{WRAPPER}} .lae-testimonials .lae-testimonial.lae-rating-three .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(1) svg,{{WRAPPER}} .lae-testimonials .lae-testimonial.lae-rating-three .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(2) svg,{{WRAPPER}} .lae-testimonials .lae-testimonial.lae-rating-three .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(3) svg,{{WRAPPER}} .lae-testimonials .lae-testimonial.lae-rating-four .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(1) svg,{{WRAPPER}} .lae-testimonials .lae-testimonial.lae-rating-four .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(2) svg,{{WRAPPER}} .lae-testimonials .lae-testimonial.lae-rating-four .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(3) svg,{{WRAPPER}} .lae-testimonials .lae-testimonial.lae-rating-four .lae-testimonial-star-rating .lae-testimonial-star-rating-item:nth-child(4) svg' => 'fill: {{VALUE}};',
602
+ ],
603
+ ] );
604
+ $this->end_controls_section();
605
  }
606
 
607
  protected function render()
plugin.php CHANGED
@@ -45,7 +45,7 @@ if ( !class_exists( 'Livemesh_Elementor_Addons' ) ) {
45
  public function __clone()
46
  {
47
  // Cloning instances of the class is forbidden
48
- _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'livemesh-el-addons' ), '6.9.2' );
49
  }
50
 
51
  /**
@@ -55,7 +55,7 @@ if ( !class_exists( 'Livemesh_Elementor_Addons' ) ) {
55
  public function __wakeup()
56
  {
57
  // Unserializing instances of the class is forbidden
58
- _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'livemesh-el-addons' ), '6.9.2' );
59
  }
60
 
61
  private function setup_debug_constants()
45
  public function __clone()
46
  {
47
  // Cloning instances of the class is forbidden
48
+ _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'livemesh-el-addons' ), '6.9.4' );
49
  }
50
 
51
  /**
55
  public function __wakeup()
56
  {
57
  // Unserializing instances of the class is forbidden
58
+ _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'livemesh-el-addons' ), '6.9.4' );
59
  }
60
 
61
  private function setup_debug_constants()
readme.txt CHANGED
@@ -7,7 +7,7 @@ Tags: elementor, elementor addons, elementor extensions, elementor widgets, page
7
  Requires at least: 4.5
8
  Tested up to: 5.7
9
  Requires PHP: 5.6
10
- Stable Tag: 6.9.2
11
  License: GPLv3
12
  License URI: https://opensource.org/licenses/GPL-3.0
13
 
@@ -133,6 +133,7 @@ You can view the change log for the Premium version of the plugin at <a href="ht
133
  * For lightbox, click anywhere on the image. If a destination URL is specified for the gallery item, the lightbox can be opened by clicking on an icon.
134
  * Advanced features like touch/swipe controls, pinch out/in, double-tap, keyboard navigation, full screen, thumbnails, social media sharing, hardware-accelerated animations, direct linking supported with lightbox.
135
  * **WooCommerce Support** – Now you can create a grid of WooCommerce products and display details of WooCommerce products like name, price, rating, add to cart, add to wish list, etc. It comes with a quick view option to display product details in a modal window.
 
136
  * **The most feature-rich Image/Video Gallery and Image/Video Slider/Carousel for Elementor**
137
  * Gallery module with support for images, YouTube/Vimeo, and HTML5 self-hosted videos
138
  * Gallery Carousel/Slider module for images, YouTube/Vimeo, and HTML5 self-hosted videos
@@ -258,6 +259,10 @@ Email us at support[at]livemeshthemes.com and we will be happy to assist you.
258
 
259
 
260
 
 
 
 
 
261
  = 6.9.2 =
262
  * Added - Carousel option along with Grid for Services and Clients Elementor addons
263
  * Added - Extensive customization options for Carousel function of Services, Team Members, Testimonials and Clients addons
@@ -552,8 +557,3 @@ Email us at support[at]livemeshthemes.com and we will be happy to assist you.
552
  = 1.0 =
553
  * Initial release.
554
 
555
-
556
- == Upgrade Notice ==
557
-
558
- = 4.0.0 =
559
- A major update. Make a backup of your database before upgrading.
7
  Requires at least: 4.5
8
  Tested up to: 5.7
9
  Requires PHP: 5.6
10
+ Stable Tag: 6.9.4
11
  License: GPLv3
12
  License URI: https://opensource.org/licenses/GPL-3.0
13
 
133
  * For lightbox, click anywhere on the image. If a destination URL is specified for the gallery item, the lightbox can be opened by clicking on an icon.
134
  * Advanced features like touch/swipe controls, pinch out/in, double-tap, keyboard navigation, full screen, thumbnails, social media sharing, hardware-accelerated animations, direct linking supported with lightbox.
135
  * **WooCommerce Support** – Now you can create a grid of WooCommerce products and display details of WooCommerce products like name, price, rating, add to cart, add to wish list, etc. It comes with a quick view option to display product details in a modal window.
136
+ * **Additional styles and settings for Posts Slider, Posts Multislider and Posts Gridbox Slider**
137
  * **The most feature-rich Image/Video Gallery and Image/Video Slider/Carousel for Elementor**
138
  * Gallery module with support for images, YouTube/Vimeo, and HTML5 self-hosted videos
139
  * Gallery Carousel/Slider module for images, YouTube/Vimeo, and HTML5 self-hosted videos
259
 
260
 
261
 
262
+ = 6.9.4 =
263
+ * Added - Added star rating option for Testimonials Slider
264
+ * Added - Add customization option for star ratings in Testimonials and Testimonials Slider widgets
265
+
266
  = 6.9.2 =
267
  * Added - Carousel option along with Grid for Services and Clients Elementor addons
268
  * Added - Extensive customization options for Carousel function of Services, Team Members, Testimonials and Clients addons
557
  = 1.0 =
558
  * Initial release.
559
 
 
 
 
 
 
templates/addons/testimonials-slider/content.php CHANGED
@@ -16,12 +16,18 @@ if (!defined('ABSPATH')) {
16
 
17
  <li class="lae-slide lae-testimonial-wrapper">
18
 
19
- <div class="lae-testimonial">
20
 
21
  <div class="lae-testimonial-text">
22
 
23
  <i class="lae-icon-quote"></i>
24
 
 
 
 
 
 
 
25
  <?php echo $widget_instance->parse_text_editor($testimonial['testimonial_text']); ?>
26
 
27
  </div>
16
 
17
  <li class="lae-slide lae-testimonial-wrapper">
18
 
19
+ <div class="lae-testimonial lae-<?php echo $testimonial['testimonial_rating']; ?>">
20
 
21
  <div class="lae-testimonial-text">
22
 
23
  <i class="lae-icon-quote"></i>
24
 
25
+ <?php if ($testimonial['testimonial_rating'] !== 'rating-none') : ?>
26
+
27
+ <?php lae_get_template_part("addons/testimonials-slider/star-rating", $args); ?>
28
+
29
+ <?php endif; ?>
30
+
31
  <?php echo $widget_instance->parse_text_editor($testimonial['testimonial_text']); ?>
32
 
33
  </div>
templates/addons/testimonials-slider/star-rating.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Star Rating Template
4
+ *
5
+ * This template can be overridden by copying it to mytheme/addons-for-elementor/addons/testimonials/star-rating.php
6
+ *
7
+ */
8
+ ?>
9
+
10
+ <div class="lae-testimonial-star-rating">
11
+ <div class="lae-testimonial-star-rating-item">
12
+ <svg width="14px" height="14px">
13
+ <path d="M14,5.4c-0.1-0.2-0.3-0.4-0.5-0.4L9.4,4.4L7.6,0.7C7.5,0.4,7.2,0.3,7,0.3c-0.2,0-0.5,0.1-0.6,0.4L4.6,4.4L0.5,4.9
14
+ C0.3,5,0.1,5.1,0,5.4C0,5.6,0,5.9,0.2,6l2.9,2.9l-0.7,4c0,0.2,0.1,0.5,0.3,0.6c0.1,0.1,0.2,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1L7,11.7
15
+ l3.6,1.9c0.1,0,0.2,0.1,0.3,0.1c0,0,0,0,0,0c0.4,0,0.6-0.3,0.6-0.6c0,0,0-0.1,0-0.1l-0.7-4L13.8,6C14,5.9,14,5.6,14,5.4z"></path>
16
+ </svg>
17
+ </div>
18
+ <div class="lae-testimonial-star-rating-item">
19
+ <svg width="14px" height="14px">
20
+ <path d="M14,5.4c-0.1-0.2-0.3-0.4-0.5-0.4L9.4,4.4L7.6,0.7C7.5,0.4,7.2,0.3,7,0.3c-0.2,0-0.5,0.1-0.6,0.4L4.6,4.4L0.5,4.9
21
+ C0.3,5,0.1,5.1,0,5.4C0,5.6,0,5.9,0.2,6l2.9,2.9l-0.7,4c0,0.2,0.1,0.5,0.3,0.6c0.1,0.1,0.2,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1L7,11.7
22
+ l3.6,1.9c0.1,0,0.2,0.1,0.3,0.1c0,0,0,0,0,0c0.4,0,0.6-0.3,0.6-0.6c0,0,0-0.1,0-0.1l-0.7-4L13.8,6C14,5.9,14,5.6,14,5.4z"></path>
23
+ </svg>
24
+ </div>
25
+ <div class="lae-testimonial-star-rating-item">
26
+ <svg width="14px" height="14px">
27
+ <path d="M14,5.4c-0.1-0.2-0.3-0.4-0.5-0.4L9.4,4.4L7.6,0.7C7.5,0.4,7.2,0.3,7,0.3c-0.2,0-0.5,0.1-0.6,0.4L4.6,4.4L0.5,4.9
28
+ C0.3,5,0.1,5.1,0,5.4C0,5.6,0,5.9,0.2,6l2.9,2.9l-0.7,4c0,0.2,0.1,0.5,0.3,0.6c0.1,0.1,0.2,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1L7,11.7
29
+ l3.6,1.9c0.1,0,0.2,0.1,0.3,0.1c0,0,0,0,0,0c0.4,0,0.6-0.3,0.6-0.6c0,0,0-0.1,0-0.1l-0.7-4L13.8,6C14,5.9,14,5.6,14,5.4z"></path>
30
+ </svg>
31
+ </div>
32
+ <div class="lae-testimonial-star-rating-item">
33
+ <svg width="14px" height="14px">
34
+ <path d="M14,5.4c-0.1-0.2-0.3-0.4-0.5-0.4L9.4,4.4L7.6,0.7C7.5,0.4,7.2,0.3,7,0.3c-0.2,0-0.5,0.1-0.6,0.4L4.6,4.4L0.5,4.9
35
+ C0.3,5,0.1,5.1,0,5.4C0,5.6,0,5.9,0.2,6l2.9,2.9l-0.7,4c0,0.2,0.1,0.5,0.3,0.6c0.1,0.1,0.2,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1L7,11.7
36
+ l3.6,1.9c0.1,0,0.2,0.1,0.3,0.1c0,0,0,0,0,0c0.4,0,0.6-0.3,0.6-0.6c0,0,0-0.1,0-0.1l-0.7-4L13.8,6C14,5.9,14,5.6,14,5.4z"></path>
37
+ </svg>
38
+ </div>
39
+ <div class="lae-testimonial-star-rating-item">
40
+ <svg width="14px" height="14px">
41
+ <path d="M14,5.4c-0.1-0.2-0.3-0.4-0.5-0.4L9.4,4.4L7.6,0.7C7.5,0.4,7.2,0.3,7,0.3c-0.2,0-0.5,0.1-0.6,0.4L4.6,4.4L0.5,4.9
42
+ C0.3,5,0.1,5.1,0,5.4C0,5.6,0,5.9,0.2,6l2.9,2.9l-0.7,4c0,0.2,0.1,0.5,0.3,0.6c0.1,0.1,0.2,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1L7,11.7
43
+ l3.6,1.9c0.1,0,0.2,0.1,0.3,0.1c0,0,0,0,0,0c0.4,0,0.6-0.3,0.6-0.6c0,0,0-0.1,0-0.1l-0.7-4L13.8,6C14,5.9,14,5.6,14,5.4z"></path>
44
+ </svg>
45
+ </div>
46
+ </div>
templates/addons/testimonials/style1.php CHANGED
@@ -44,7 +44,7 @@ if ($settings['layout'] == 'grid')
44
 
45
  <?php endif; ?>
46
 
47
- </div>
48
 
49
  <div class="lae-text">
50
 
44
 
45
  <?php endif; ?>
46
 
47
+ </div><!-- .lae-image-wrapper -->
48
 
49
  <div class="lae-text">
50