Real Testimonials - Version 2.5.6

Version Description

  • Jun 14, 2022 =
  • Fix: The premium page warnings.
  • Fix: CSL issue.
  • Fix: The RTL direction issue.
Download this release

Release Info

Developer rubel_miah
Plugin Icon 128x128 Real Testimonials
Version 2.5.6
Comparing to
See all releases

Code changes from version 2.5.5 to 2.5.6

readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://shapedplugin.com/donate
4
  Tags: testimonial, testimonials, testimonial showcase, testimonials showcase, testimonial slider, testimonials slider, testimonial carousel, testimonial front-end submission form, testimonials widget, easy testimonial, testimonial rotator, random testimonials, custom testimonial, collect testimonials, social proof, simple testimonial plugin, best testimonials showcase plugin, free testimonial, customers reviews, real testimonials
5
  Requires at least: 4.0
6
  Tested up to: 6.0
7
- Stable tag: 2.5.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -318,6 +318,11 @@ Thank you!
318
 
319
  == Changelog ==
320
 
 
 
 
 
 
321
  = 2.5.5 - May 17, 2022 =
322
  * Tested: WordPress 6.0 compatibility.
323
  * Fix: Deprecated warning of Elementor block.
4
  Tags: testimonial, testimonials, testimonial showcase, testimonials showcase, testimonial slider, testimonials slider, testimonial carousel, testimonial front-end submission form, testimonials widget, easy testimonial, testimonial rotator, random testimonials, custom testimonial, collect testimonials, social proof, simple testimonial plugin, best testimonials showcase plugin, free testimonial, customers reviews, real testimonials
5
  Requires at least: 4.0
6
  Tested up to: 6.0
7
+ Stable tag: 2.5.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
318
 
319
  == Changelog ==
320
 
321
+ = 2.5.6 - Jun 14, 2022 =
322
+ * Fix: The premium page warnings.
323
+ * Fix: CSL issue.
324
+ * Fix: The RTL direction issue.
325
+
326
  = 2.5.5 - May 17, 2022 =
327
  * Tested: WordPress 6.0 compatibility.
328
  * Fix: Deprecated warning of Elementor block.
src/Frontend/assets/css/style.css CHANGED
@@ -1,5 +1,5 @@
1
  .sp-testimonial-free-section * {
2
- box-sizing: border-box;
3
  }
4
 
5
  /* div.sp-testimonial-free-section {
@@ -7,211 +7,232 @@
7
  } */
8
 
9
  div.sp-testimonial-free-section .slick-list {
10
- margin-right: -24px;
11
  }
12
 
13
  div.sp-testimonial-free-section.slick-initialized {
14
- display: block;
15
  }
16
 
17
  .sp-testimonial-free-section .sp-testimonial-item:focus,
18
  .sp-testimonial-free-section .slick-dots li.slick-active button:focus {
19
- outline: none;
20
  }
21
 
22
  .sp-testimonial-free-section .sp-testimonial-item {
23
- text-align: center;
24
- padding-right: 24px;
25
- will-change: transform;
26
  }
27
 
28
  #poststuff .sp-testimonial-free-wrapper h2.sp-testimonial-free-section-title,
29
  .sp-testimonial-free-wrapper h2.sp-testimonial-free-section-title {
30
- margin: 0;
31
- padding: 0;
32
- margin-bottom: 50px;
33
- font-size: 25px;
34
- line-height: 22px;
35
- font-weight: 600;
36
- font-style: normal;
37
- text-align: center;
38
  }
39
 
40
  .sp-testimonial-free-section .sp-testimonial-title {
41
- margin: 0px 0px 18px 0px;
42
  }
43
 
44
  .sp-testimonial-free-section .sp-testimonial-title h3 {
45
- font-size: 20px;
46
- line-height: 30px;
47
- text-transform: none;
48
- text-align: center;
49
- letter-spacing: normal;
50
- font-weight: 600;
51
- font-style: normal;
52
- padding: 0;
53
- margin: 0;
54
  }
55
 
56
  .sp-testimonial-free-section .sp-testimonial-client-testimonial p,
57
  .sp-testimonial-free-section .sp-testimonial-client-testimonial {
58
- font-size: 16px;
59
- line-height: 26px;
60
- text-transform: none;
61
- text-align: center;
62
- letter-spacing: normal;
63
- font-weight: 400;
64
- font-style: normal;
65
- margin: 0px 0px 20px 0px;
66
  }
67
 
68
  #sp_tpro-preview-box .sp-testimonial-free-section .sp-testimonial-client-testimonial {
69
- margin: 0px 20px 20px 0px;
70
  }
71
 
72
  .sp-testimonial-free-section .sp-testimonial-client-testimonial .sp-testimonial-content {
73
- display: inline;
74
- margin: 0;
75
- padding: 0;
76
  }
77
 
78
  .sp-testimonial-free-section .sp-testimonial-client-name {
79
- font-size: 16px;
80
- line-height: 24px;
81
- text-transform: none;
82
- text-align: center;
83
- letter-spacing: normal;
84
- font-weight: 700;
85
- font-style: normal;
86
- margin: 0px 0px 8px 0px;
87
- padding: 0;
88
  }
89
 
90
  .sp-testimonial-free-section .sp-testimonial-client-rating {
91
- margin: 0px 0px 6px 0px;
92
- text-align: center;
93
- line-height: 1;
94
  }
95
 
96
  .sp-testimonial-free-section .sp-testimonial-client-rating i.fa {
97
- font-size: 19px;
98
- margin-right: -1px;
99
  }
100
 
101
  .sp-testimonial-free-section .sp-testimonial-client-designation {
102
- font-size: 16px;
103
- line-height: 24px;
104
- text-transform: none;
105
- text-align: center;
106
- letter-spacing: normal;
107
- font-weight: 400;
108
- font-style: normal;
109
  }
110
 
111
  /* Image */
112
  .sp-testimonial-free-section .sp-testimonial-client-image {
113
- margin: 0px 0px 22px 0px;
114
  }
115
 
116
  .sp-testimonial-free-section .sp-testimonial-client-image img {
117
- display: inline-block;
118
- -webkit-border-radius: 50%;
119
- -moz-border-radius: 50%;
120
- border-radius: 50%;
121
- max-width: 100%;
122
- height: auto;
123
  }
124
 
125
  .theme-twentytwentyone .sp-testimonial-free-section .sp-testimonial-client-image img {
126
- width: auto !important;
127
  }
128
 
129
  /* Dots */
130
  .sp-testimonial-free-section .slick-dots {
131
- margin: 0;
132
- margin-top: 20px;
133
- padding: 0;
134
- list-style: none;
135
- text-align: center;
136
  }
137
 
138
  .sp-testimonial-free-section .slick-dots li {
139
- display: inline-block;
140
- border: 0;
141
- padding: 0;
142
- width: 13px;
143
- height: 13px;
144
- margin: 3px;
145
- overflow: hidden;
146
  }
147
 
148
  .sp-testimonial-free-section .slick-dots li button {
149
- border-radius: 50%;
150
- text-indent: -999px;
151
- width: 13px;
152
- height: 13px;
153
- padding: 0;
154
- border: 0;
155
- display: block;
156
  }
157
 
158
  .sp-testimonial-free-section .slick-dots li button:focus {
159
- outline-offset: unset;
160
- outline: none;
161
  }
162
 
163
  /* Nav */
164
  .sp-testimonial-free-section .slick-prev,
165
  .sp-testimonial-free-section .slick-next {
166
- top: 50%;
167
- font-size: 20px;
168
- line-height: 32px;
169
- display: block;
170
- width: 32px;
171
- padding: 0;
172
- cursor: pointer;
173
- outline: none;
174
- position: absolute;
175
- text-align: center;
176
- z-index: 22;
177
- -webkit-transition: all 0.3s ease;
178
- -moz-transition: all 0.3s ease;
179
- transition: all 0.3s ease;
180
- transform: translateY(-50px);
181
  }
182
 
183
  .sp-testimonial-free-section .slick-prev {
184
- left: 0;
185
  }
186
 
187
  .sp-testimonial-free-section .slick-next {
188
- right: 0;
189
  }
190
 
191
  /* Preloader */
192
  .sp-testimonial-free-wrapper {
193
- position: relative;
194
- overflow: hidden;
195
  }
196
 
197
  .sp-testimonial-preloader {
198
- background-color: #fff;
199
- background-repeat: no-repeat;
200
- background-position: center center;
201
- position: absolute;
202
- z-index: 90;
203
- width: 100%;
204
- height: 100%;
205
- text-align: center;
206
- top: 0;
207
- left: 0;
208
- right: 0;
209
- border: 0;
210
  }
211
 
212
  .sp-testimonial-preloader img {
213
- position: relative;
214
- top: 50%;
215
- display: inline-block;
216
- margin-top: -16px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
  }
1
  .sp-testimonial-free-section * {
2
+ box-sizing: border-box;
3
  }
4
 
5
  /* div.sp-testimonial-free-section {
7
  } */
8
 
9
  div.sp-testimonial-free-section .slick-list {
10
+ margin-right: -24px;
11
  }
12
 
13
  div.sp-testimonial-free-section.slick-initialized {
14
+ display: block;
15
  }
16
 
17
  .sp-testimonial-free-section .sp-testimonial-item:focus,
18
  .sp-testimonial-free-section .slick-dots li.slick-active button:focus {
19
+ outline: none;
20
  }
21
 
22
  .sp-testimonial-free-section .sp-testimonial-item {
23
+ text-align: center;
24
+ padding-right: 24px;
25
+ will-change: transform;
26
  }
27
 
28
  #poststuff .sp-testimonial-free-wrapper h2.sp-testimonial-free-section-title,
29
  .sp-testimonial-free-wrapper h2.sp-testimonial-free-section-title {
30
+ margin: 0;
31
+ padding: 0;
32
+ margin-bottom: 50px;
33
+ font-size: 25px;
34
+ line-height: 22px;
35
+ font-weight: 600;
36
+ font-style: normal;
37
+ text-align: center;
38
  }
39
 
40
  .sp-testimonial-free-section .sp-testimonial-title {
41
+ margin: 0px 0px 18px 0px;
42
  }
43
 
44
  .sp-testimonial-free-section .sp-testimonial-title h3 {
45
+ font-size: 20px;
46
+ line-height: 30px;
47
+ text-transform: none;
48
+ text-align: center;
49
+ letter-spacing: normal;
50
+ font-weight: 600;
51
+ font-style: normal;
52
+ padding: 0;
53
+ margin: 0;
54
  }
55
 
56
  .sp-testimonial-free-section .sp-testimonial-client-testimonial p,
57
  .sp-testimonial-free-section .sp-testimonial-client-testimonial {
58
+ font-size: 16px;
59
+ line-height: 26px;
60
+ text-transform: none;
61
+ text-align: center;
62
+ letter-spacing: normal;
63
+ font-weight: 400;
64
+ font-style: normal;
65
+ margin: 0px 0px 20px 0px;
66
  }
67
 
68
  #sp_tpro-preview-box .sp-testimonial-free-section .sp-testimonial-client-testimonial {
69
+ margin: 0px 20px 20px 0px;
70
  }
71
 
72
  .sp-testimonial-free-section .sp-testimonial-client-testimonial .sp-testimonial-content {
73
+ display: inline;
74
+ margin: 0;
75
+ padding: 0;
76
  }
77
 
78
  .sp-testimonial-free-section .sp-testimonial-client-name {
79
+ font-size: 16px;
80
+ line-height: 24px;
81
+ text-transform: none;
82
+ text-align: center;
83
+ letter-spacing: normal;
84
+ font-weight: 700;
85
+ font-style: normal;
86
+ margin: 0px 0px 8px 0px;
87
+ padding: 0;
88
  }
89
 
90
  .sp-testimonial-free-section .sp-testimonial-client-rating {
91
+ margin: 0px 0px 6px 0px;
92
+ text-align: center;
93
+ line-height: 1;
94
  }
95
 
96
  .sp-testimonial-free-section .sp-testimonial-client-rating i.fa {
97
+ font-size: 19px;
98
+ margin-right: -1px;
99
  }
100
 
101
  .sp-testimonial-free-section .sp-testimonial-client-designation {
102
+ font-size: 16px;
103
+ line-height: 24px;
104
+ text-transform: none;
105
+ text-align: center;
106
+ letter-spacing: normal;
107
+ font-weight: 400;
108
+ font-style: normal;
109
  }
110
 
111
  /* Image */
112
  .sp-testimonial-free-section .sp-testimonial-client-image {
113
+ margin: 0px 0px 22px 0px;
114
  }
115
 
116
  .sp-testimonial-free-section .sp-testimonial-client-image img {
117
+ display: inline-block;
118
+ -webkit-border-radius: 50%;
119
+ -moz-border-radius: 50%;
120
+ border-radius: 50%;
121
+ max-width: 100%;
122
+ height: auto;
123
  }
124
 
125
  .theme-twentytwentyone .sp-testimonial-free-section .sp-testimonial-client-image img {
126
+ width: auto !important;
127
  }
128
 
129
  /* Dots */
130
  .sp-testimonial-free-section .slick-dots {
131
+ margin: 0;
132
+ margin-top: 20px;
133
+ padding: 0;
134
+ list-style: none;
135
+ text-align: center;
136
  }
137
 
138
  .sp-testimonial-free-section .slick-dots li {
139
+ display: inline-block;
140
+ border: 0;
141
+ padding: 0;
142
+ width: 13px;
143
+ height: 13px;
144
+ margin: 3px;
145
+ overflow: hidden;
146
  }
147
 
148
  .sp-testimonial-free-section .slick-dots li button {
149
+ border-radius: 50%;
150
+ text-indent: -999px;
151
+ width: 13px;
152
+ height: 13px;
153
+ padding: 0;
154
+ border: 0;
155
+ display: block;
156
  }
157
 
158
  .sp-testimonial-free-section .slick-dots li button:focus {
159
+ outline-offset: unset;
160
+ outline: none;
161
  }
162
 
163
  /* Nav */
164
  .sp-testimonial-free-section .slick-prev,
165
  .sp-testimonial-free-section .slick-next {
166
+ top: 50%;
167
+ font-size: 20px;
168
+ line-height: 32px;
169
+ display: block;
170
+ width: 32px;
171
+ padding: 0;
172
+ cursor: pointer;
173
+ outline: none;
174
+ position: absolute;
175
+ text-align: center;
176
+ z-index: 22;
177
+ -webkit-transition: all 0.3s ease;
178
+ -moz-transition: all 0.3s ease;
179
+ transition: all 0.3s ease;
180
+ transform: translateY(-50px);
181
  }
182
 
183
  .sp-testimonial-free-section .slick-prev {
184
+ left: 0;
185
  }
186
 
187
  .sp-testimonial-free-section .slick-next {
188
+ right: 0;
189
  }
190
 
191
  /* Preloader */
192
  .sp-testimonial-free-wrapper {
193
+ position: relative;
194
+ overflow: hidden;
195
  }
196
 
197
  .sp-testimonial-preloader {
198
+ background-color: #fff;
199
+ background-repeat: no-repeat;
200
+ background-position: center center;
201
+ position: absolute;
202
+ z-index: 90;
203
+ width: 100%;
204
+ height: 100%;
205
+ text-align: center;
206
+ top: 0;
207
+ left: 0;
208
+ right: 0;
209
+ border: 0;
210
  }
211
 
212
  .sp-testimonial-preloader img {
213
+ position: relative;
214
+ top: 50%;
215
+ display: inline-block;
216
+ margin-top: -16px;
217
+ }
218
+
219
+ .sp-testimonial-free-section:not(.slick-initialized) {
220
+ display: flex;
221
+ margin: 0 50px;
222
+ padding: unset !important;
223
+ overflow: hidden;
224
+ }
225
+
226
+ .sp-testimonial-free-section:not(.slick-initialized)>.sp-testimonial-item {
227
+ min-width: 100%;
228
+ width: 100%;
229
+ padding: 0;
230
+ }
231
+
232
+ .sp-testimonial-item {
233
+ direction: ltr;
234
+ }
235
+
236
+ html[dir='rtl'] .sp-testimonial-item {
237
+ direction: rtl;
238
  }
src/Frontend/assets/css/style.min.css CHANGED
@@ -1 +1 @@
1
- .sp-testimonial-free-section *{box-sizing:border-box}div.sp-testimonial-free-section .slick-list{margin-right:-24px}div.sp-testimonial-free-section.slick-initialized{display:block}.sp-testimonial-free-section .slick-dots li.slick-active button:focus,.sp-testimonial-free-section .sp-testimonial-item:focus{outline:0}.sp-testimonial-free-section .sp-testimonial-item{text-align:center;padding-right:24px;will-change:transform}#poststuff .sp-testimonial-free-wrapper h2.sp-testimonial-free-section-title,.sp-testimonial-free-wrapper h2.sp-testimonial-free-section-title{margin:0;padding:0;margin-bottom:50px;font-size:25px;line-height:22px;font-weight:600;font-style:normal;text-align:center}.sp-testimonial-free-section .sp-testimonial-title{margin:0 0 18px 0}.sp-testimonial-free-section .sp-testimonial-title h3{font-size:20px;line-height:30px;text-transform:none;text-align:center;letter-spacing:normal;font-weight:600;font-style:normal;padding:0;margin:0}.sp-testimonial-free-section .sp-testimonial-client-testimonial,.sp-testimonial-free-section .sp-testimonial-client-testimonial p{font-size:16px;line-height:26px;text-transform:none;text-align:center;letter-spacing:normal;font-weight:400;font-style:normal;margin:0 0 20px 0}#sp_tpro-preview-box .sp-testimonial-free-section .sp-testimonial-client-testimonial{margin:0 20px 20px 0}.sp-testimonial-free-section .sp-testimonial-client-testimonial .sp-testimonial-content{display:inline;margin:0;padding:0}.sp-testimonial-free-section .sp-testimonial-client-name{font-size:16px;line-height:24px;text-transform:none;text-align:center;letter-spacing:normal;font-weight:700;font-style:normal;margin:0 0 8px 0;padding:0}.sp-testimonial-free-section .sp-testimonial-client-rating{margin:0 0 6px 0;text-align:center;line-height:1}.sp-testimonial-free-section .sp-testimonial-client-rating i.fa{font-size:19px;margin-right:-1px}.sp-testimonial-free-section .sp-testimonial-client-designation{font-size:16px;line-height:24px;text-transform:none;text-align:center;letter-spacing:normal;font-weight:400;font-style:normal}.sp-testimonial-free-section .sp-testimonial-client-image{margin:0 0 22px 0}.sp-testimonial-free-section .sp-testimonial-client-image img{display:inline-block;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;max-width:100%;height:auto}.theme-twentytwentyone .sp-testimonial-free-section .sp-testimonial-client-image img{width:auto!important}.sp-testimonial-free-section .slick-dots{margin:0;margin-top:20px;padding:0;list-style:none;text-align:center}.sp-testimonial-free-section .slick-dots li{display:inline-block;border:0;padding:0;width:13px;height:13px;margin:3px;overflow:hidden}.sp-testimonial-free-section .slick-dots li button{border-radius:50%;text-indent:-999px;width:13px;height:13px;padding:0;border:0;display:block}.sp-testimonial-free-section .slick-dots li button:focus{outline-offset:unset;outline:0}.sp-testimonial-free-section .slick-next,.sp-testimonial-free-section .slick-prev{top:50%;font-size:20px;line-height:32px;display:block;width:32px;padding:0;cursor:pointer;outline:0;position:absolute;text-align:center;z-index:22;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;transition:all .3s ease;transform:translateY(-50px)}.sp-testimonial-free-section .slick-prev{left:0}.sp-testimonial-free-section .slick-next{right:0}.sp-testimonial-free-wrapper{position:relative;overflow:hidden}.sp-testimonial-preloader{background-color:#fff;background-repeat:no-repeat;background-position:center center;position:absolute;z-index:90;width:100%;height:100%;text-align:center;top:0;left:0;right:0;border:0}.sp-testimonial-preloader img{position:relative;top:50%;display:inline-block;margin-top:-16px}
1
+ .sp-testimonial-free-section *{box-sizing:border-box}div.sp-testimonial-free-section .slick-list{margin-right:-24px}div.sp-testimonial-free-section.slick-initialized{display:block}.sp-testimonial-free-section .slick-dots li.slick-active button:focus,.sp-testimonial-free-section .sp-testimonial-item:focus{outline:0}.sp-testimonial-free-section .sp-testimonial-item{text-align:center;padding-right:24px;will-change:transform}#poststuff .sp-testimonial-free-wrapper h2.sp-testimonial-free-section-title,.sp-testimonial-free-wrapper h2.sp-testimonial-free-section-title{margin:0;padding:0;margin-bottom:50px;font-size:25px;line-height:22px;font-weight:600;font-style:normal;text-align:center}.sp-testimonial-free-section .sp-testimonial-title{margin:0 0 18px 0}.sp-testimonial-free-section .sp-testimonial-title h3{font-size:20px;line-height:30px;text-transform:none;text-align:center;letter-spacing:normal;font-weight:600;font-style:normal;padding:0;margin:0}.sp-testimonial-free-section .sp-testimonial-client-testimonial,.sp-testimonial-free-section .sp-testimonial-client-testimonial p{font-size:16px;line-height:26px;text-transform:none;text-align:center;letter-spacing:normal;font-weight:400;font-style:normal;margin:0 0 20px 0}#sp_tpro-preview-box .sp-testimonial-free-section .sp-testimonial-client-testimonial{margin:0 20px 20px 0}.sp-testimonial-free-section .sp-testimonial-client-testimonial .sp-testimonial-content{display:inline;margin:0;padding:0}.sp-testimonial-free-section .sp-testimonial-client-name{font-size:16px;line-height:24px;text-transform:none;text-align:center;letter-spacing:normal;font-weight:700;font-style:normal;margin:0 0 8px 0;padding:0}.sp-testimonial-free-section .sp-testimonial-client-rating{margin:0 0 6px 0;text-align:center;line-height:1}.sp-testimonial-free-section .sp-testimonial-client-rating i.fa{font-size:19px;margin-right:-1px}.sp-testimonial-free-section .sp-testimonial-client-designation{font-size:16px;line-height:24px;text-transform:none;text-align:center;letter-spacing:normal;font-weight:400;font-style:normal}.sp-testimonial-free-section .sp-testimonial-client-image{margin:0 0 22px 0}.sp-testimonial-free-section .sp-testimonial-client-image img{display:inline-block;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;max-width:100%;height:auto}.theme-twentytwentyone .sp-testimonial-free-section .sp-testimonial-client-image img{width:auto!important}.sp-testimonial-free-section .slick-dots{margin:0;margin-top:20px;padding:0;list-style:none;text-align:center}.sp-testimonial-free-section .slick-dots li{display:inline-block;border:0;padding:0;width:13px;height:13px;margin:3px;overflow:hidden}.sp-testimonial-free-section .slick-dots li button{border-radius:50%;text-indent:-999px;width:13px;height:13px;padding:0;border:0;display:block}.sp-testimonial-free-section .slick-dots li button:focus{outline-offset:unset;outline:0}.sp-testimonial-free-section .slick-next,.sp-testimonial-free-section .slick-prev{top:50%;font-size:20px;line-height:32px;display:block;width:32px;padding:0;cursor:pointer;outline:0;position:absolute;text-align:center;z-index:22;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;transition:all .3s ease;transform:translateY(-50px)}.sp-testimonial-free-section .slick-prev{left:0}.sp-testimonial-free-section .slick-next{right:0}.sp-testimonial-free-wrapper{position:relative;overflow:hidden}.sp-testimonial-preloader{background-color:#fff;background-repeat:no-repeat;background-position:center center;position:absolute;z-index:90;width:100%;height:100%;text-align:center;top:0;left:0;right:0;border:0}.sp-testimonial-preloader img{position:relative;top:50%;display:inline-block;margin-top:-16px}.sp-testimonial-free-section:not(.slick-initialized){display:flex;margin:0 50px;padding:unset!important;overflow:hidden}.sp-testimonial-free-section:not(.slick-initialized)>.sp-testimonial-item{min-width:100%;width:100%;padding:0}.sp-testimonial-item{direction:ltr}html[dir=rtl] .sp-testimonial-item{direction:rtl}
src/Includes/TFREE_Functions.php CHANGED
@@ -121,10 +121,10 @@ class TFREE_Functions {
121
  'sslverify' => false,
122
  );
123
 
124
- $raw = wp_remote_retrieve_body( wp_remote_get( 'http://wptally.com/api/' . $username, $params ) );
125
  $raw = json_decode( $raw, true );
126
 
127
- if ( array_key_exists( 'error', $raw ) ) {
128
  $data = array(
129
  'error' => $raw['error'],
130
  );
@@ -182,11 +182,16 @@ class TFREE_Functions {
182
  <div class="count-item">
183
  <h3 class="sp_testimonial-font-24">
184
  <?php
185
- $plugin_data = $this->happy_users();
186
- $plugin_names = array_values( $plugin_data['plugins'] );
 
 
 
 
 
 
 
187
 
188
- $active_installations = array_column( $plugin_names, 'installs', 'url' );
189
- echo esc_attr( $active_installations['http://wordpress.org/plugins/testimonial-free'] ) . '+';
190
  ?>
191
  </h3>
192
  <span class="sp_testimonial-font-weight-400">Active Installations</span>
@@ -194,8 +199,13 @@ class TFREE_Functions {
194
  <div class="count-item">
195
  <h3 class="sp_testimonial-font-24">
196
  <?php
197
- $active_installations = array_column( $plugin_names, 'downloads', 'url' );
198
- echo esc_attr( $active_installations['http://wordpress.org/plugins/testimonial-free'] );
 
 
 
 
 
199
  ?>
200
  </h3>
201
  <span class="sp_testimonial-font-weight-400">all time downloads</span>
@@ -203,8 +213,13 @@ class TFREE_Functions {
203
  <div class="count-item">
204
  <h3 class="sp_testimonial-font-24">
205
  <?php
206
- $active_installations = array_column( $plugin_names, 'rating', 'url' );
207
- echo esc_attr( $active_installations['http://wordpress.org/plugins/testimonial-free'] ) . '/5';
 
 
 
 
 
208
  ?>
209
  </h3>
210
  <span class="sp_testimonial-font-weight-400">user reviews</span>
@@ -403,10 +418,15 @@ class TFREE_Functions {
403
  <h2 class="sp_testimonial-font-28">Join
404
  <?php
405
  $install = 0;
406
- foreach ( $plugin_names as &$plugin_name ) {
407
- $install += $plugin_name['installs'];
 
 
 
 
 
408
  }
409
- echo esc_attr( $install + '15000' ) . '+';
410
  ?>
411
  Happys Users in 160+ Countries </h2>
412
  <p class="sp_testimonial-font-16 sp_testimonial-mt-25 sp_testimonial-line-height-22">98% of customers are happy with <b>ShapedPlugin's</b> products and support. <br>
121
  'sslverify' => false,
122
  );
123
 
124
+ $raw = wp_remote_retrieve_body( wp_remote_get( 'https://wptally.com/api/' . $username, $params ) );
125
  $raw = json_decode( $raw, true );
126
 
127
+ if ( is_array( $raw ) && array_key_exists( 'error', $raw ) ) {
128
  $data = array(
129
  'error' => $raw['error'],
130
  );
182
  <div class="count-item">
183
  <h3 class="sp_testimonial-font-24">
184
  <?php
185
+ $plugin_data = $this->happy_users();
186
+ if ( isset( $plugin_data['plugins'] ) ) {
187
+ $plugin_names = array_values( $plugin_data['plugins'] );
188
+
189
+ $active_installations = array_column( $plugin_names, 'installs', 'url' );
190
+ echo esc_attr( $active_installations['http://wordpress.org/plugins/testimonial-free'] ) . '+';
191
+ } else {
192
+ echo '40000+';
193
+ }
194
 
 
 
195
  ?>
196
  </h3>
197
  <span class="sp_testimonial-font-weight-400">Active Installations</span>
199
  <div class="count-item">
200
  <h3 class="sp_testimonial-font-24">
201
  <?php
202
+ if ( isset( $plugin_data['plugins'] ) ) {
203
+ $plugin_downloads = array_column( $plugin_names, 'downloads', 'url' );
204
+ echo esc_attr( $plugin_downloads['http://wordpress.org/plugins/testimonial-free'] );
205
+ } else {
206
+ echo '540500';
207
+ }
208
+
209
  ?>
210
  </h3>
211
  <span class="sp_testimonial-font-weight-400">all time downloads</span>
213
  <div class="count-item">
214
  <h3 class="sp_testimonial-font-24">
215
  <?php
216
+ if ( isset( $plugin_data['plugins'] ) ) {
217
+ $plugin_rating = array_column( $plugin_names, 'rating', 'url' );
218
+ echo esc_attr( $plugin_rating['http://wordpress.org/plugins/testimonial-free'] ) . '/5';
219
+ } else {
220
+ echo '4.6/5';
221
+ }
222
+
223
  ?>
224
  </h3>
225
  <span class="sp_testimonial-font-weight-400">user reviews</span>
418
  <h2 class="sp_testimonial-font-28">Join
419
  <?php
420
  $install = 0;
421
+ if ( isset( $plugin_data['plugins'] ) ) {
422
+ foreach ( $plugin_names as &$plugin_name ) {
423
+ $install += $plugin_name['installs'];
424
+ }
425
+ echo esc_attr( $install + '15000' ) . '+';
426
+ } else {
427
+ echo '243000+';
428
  }
429
+
430
  ?>
431
  Happys Users in 160+ Countries </h2>
432
  <p class="sp_testimonial-font-16 sp_testimonial-mt-25 sp_testimonial-line-height-22">98% of customers are happy with <b>ShapedPlugin's</b> products and support. <br>
testimonial-free.php CHANGED
@@ -12,7 +12,7 @@
12
  * Plugin Name: Real Testimonials
13
  * Plugin URI: https://shapedplugin.com/real-testimonials/?ref=1
14
  * Description: Most Customizable and Powerful Testimonials Showcase Plugin for WordPress that allows you to manage and display Testimonials or Reviews on any page or widget.
15
- * Version: 2.5.5
16
  * Author: ShapedPlugin
17
  * Author URI: https://shapedplugin.com/
18
  * Text Domain: testimonial-free
@@ -37,7 +37,7 @@ function is_testimonial_pro_active() {
37
  }
38
 
39
  define( 'SP_TFREE_NAME', 'Real Testimonials' );
40
- define( 'SP_TFREE_VERSION', '2.5.5' );
41
  define( 'SP_TFREE_PATH', plugin_dir_path( __FILE__ ) . 'src/' );
42
  define( 'SP_TFREE_URL', plugin_dir_url( __FILE__ ) . 'src/' );
43
  define( 'SP_TFREE_BASENAME', plugin_basename( __FILE__ ) );
12
  * Plugin Name: Real Testimonials
13
  * Plugin URI: https://shapedplugin.com/real-testimonials/?ref=1
14
  * Description: Most Customizable and Powerful Testimonials Showcase Plugin for WordPress that allows you to manage and display Testimonials or Reviews on any page or widget.
15
+ * Version: 2.5.6
16
  * Author: ShapedPlugin
17
  * Author URI: https://shapedplugin.com/
18
  * Text Domain: testimonial-free
37
  }
38
 
39
  define( 'SP_TFREE_NAME', 'Real Testimonials' );
40
+ define( 'SP_TFREE_VERSION', '2.5.6' );
41
  define( 'SP_TFREE_PATH', plugin_dir_path( __FILE__ ) . 'src/' );
42
  define( 'SP_TFREE_URL', plugin_dir_url( __FILE__ ) . 'src/' );
43
  define( 'SP_TFREE_BASENAME', plugin_basename( __FILE__ ) );