Version Description
- Fixed - Incompatibility with certain themes due to different versions of waypoints scripts being used.
- Fixed - Misplaced HTML5 video background hero header video tags information
Download this release
Release Info
Developer | livemesh |
Plugin | ![]() |
Version | 2.3 |
Comparing to | |
See all releases |
Code changes from version 2.2.1 to 2.3
- admin/assets/css/premium-upgrade.css +0 -598
- admin/assets/js/premium-upgrade.js +0 -31
- admin/views/documentation.php +5 -0
- assets/css/lsow-admin.css +0 -7
- assets/js/jquery.waypoints.js +2 -2
- assets/js/jquery.waypoints.min.js +1 -1
- assets/js/lsow-admin.js +0 -0
- assets/js/lsow-frontend.js +1 -1
- assets/js/lsow-frontend.min.js +1 -1
- freemius/assets/css/admin/common.css +2 -2
- freemius/assets/scss/admin/common.scss +1 -1
- freemius/includes/class-freemius.php +105 -39
- freemius/includes/class-fs-plugin-updater.php +177 -0
- freemius/includes/customizer/class-fs-customizer-upsell-control.php +1 -1
- freemius/includes/fs-plugin-info-dialog.php +11 -8
- freemius/templates/account/partials/addon.php +2 -2
- freemius/templates/add-ons.php +5 -1
- freemius/templates/checkout.php +2 -2
- freemius/templates/connect.php +5 -2
- freemius/templates/contact.php +1 -1
- freemius/templates/pricing.php +1 -1
- freemius/templates/tabs.php +5 -1
- includes/widgets/lsow-hero-image-widget/tpl/default.php +2 -2
- includes/widgets/lsow-odometers-widget/js/odometer.js +2 -2
- includes/widgets/lsow-odometers-widget/js/odometer.min.js +1 -1
- includes/widgets/lsow-piecharts-widget/js/piechart.js +2 -2
- includes/widgets/lsow-piecharts-widget/js/piechart.min.js +1 -1
- includes/widgets/lsow-stats-bar-widget/js/stats-bar.js +2 -2
- includes/widgets/lsow-stats-bar-widget/js/stats-bar.min.js +1 -1
- languages/livemesh-so-widgets-en_US.mo +0 -0
- languages/livemesh-so-widgets-en_US.po +1406 -137
- languages/livemesh-so-widgets-he_IL.mo +0 -0
- languages/livemesh-so-widgets-he_IL.po +1457 -185
- languages/livemesh-so-widgets.pot +1414 -136
- livemesh-siteorigin-widgets.php +2 -2
- plugin.php +2 -2
- readme.txt +5 -1
admin/assets/css/premium-upgrade.css
DELETED
@@ -1,598 +0,0 @@
|
|
1 |
-
/* -------------------- Pricing Plan ------------ */
|
2 |
-
.clear:after {
|
3 |
-
visibility: hidden;
|
4 |
-
display: block;
|
5 |
-
font-size: 0;
|
6 |
-
content: " ";
|
7 |
-
clear: both;
|
8 |
-
height: 0; }
|
9 |
-
|
10 |
-
.clear {
|
11 |
-
display: inline-table;
|
12 |
-
clear: both; }
|
13 |
-
|
14 |
-
* html .clear {
|
15 |
-
height: 1%; }
|
16 |
-
|
17 |
-
.clear {
|
18 |
-
display: block; }
|
19 |
-
|
20 |
-
.hide {
|
21 |
-
display: none !important; }
|
22 |
-
|
23 |
-
.flex-wrap {
|
24 |
-
display: -ms-flexbox;
|
25 |
-
display: -webkit-box;
|
26 |
-
display: flex;
|
27 |
-
-ms-flex-wrap: wrap;
|
28 |
-
flex-wrap: wrap; }
|
29 |
-
|
30 |
-
.flex-col {
|
31 |
-
display: -ms-flexbox;
|
32 |
-
display: -webkit-box;
|
33 |
-
display: flex; }
|
34 |
-
|
35 |
-
.btn {
|
36 |
-
line-height: 20px;
|
37 |
-
display: block;
|
38 |
-
float: left;
|
39 |
-
position: relative;
|
40 |
-
overflow: hidden;
|
41 |
-
padding: 13px 20px;
|
42 |
-
font-size: 0.9375em;
|
43 |
-
font-weight: 400;
|
44 |
-
text-align: center;
|
45 |
-
cursor: pointer;
|
46 |
-
text-decoration: none;
|
47 |
-
margin: 0;
|
48 |
-
border: 0;
|
49 |
-
outline: 0;
|
50 |
-
border-image-width: 0;
|
51 |
-
border-radius: 3px; }
|
52 |
-
|
53 |
-
.btn,
|
54 |
-
.btn:hover,
|
55 |
-
.btn:focus,
|
56 |
-
.btn:active {
|
57 |
-
color: #fff;
|
58 |
-
text-decoration: none; }
|
59 |
-
|
60 |
-
.btn {
|
61 |
-
background-color: #00bcd4; }
|
62 |
-
|
63 |
-
.btn:hover {
|
64 |
-
background-color: #26c6da; }
|
65 |
-
|
66 |
-
.btn:focus,
|
67 |
-
.btn:active {
|
68 |
-
background-color: #05a7bd; }
|
69 |
-
|
70 |
-
.m0 {
|
71 |
-
margin: 0 !important; }
|
72 |
-
|
73 |
-
.mb0 {
|
74 |
-
margin-bottom: 0 !important; }
|
75 |
-
|
76 |
-
.mb1 {
|
77 |
-
margin-bottom: 1px !important; }
|
78 |
-
|
79 |
-
.mb5 {
|
80 |
-
margin-bottom: 5px !important; }
|
81 |
-
|
82 |
-
.mb10 {
|
83 |
-
margin-bottom: 10px !important; }
|
84 |
-
|
85 |
-
.mb15 {
|
86 |
-
margin-bottom: 15px !important; }
|
87 |
-
|
88 |
-
.mb20 {
|
89 |
-
margin-bottom: 20px !important; }
|
90 |
-
|
91 |
-
.mb30 {
|
92 |
-
margin-bottom: 30px !important; }
|
93 |
-
|
94 |
-
.c-wh {
|
95 |
-
color: #fff !important; }
|
96 |
-
|
97 |
-
.c-red {
|
98 |
-
color: #da4f49 !important; }
|
99 |
-
|
100 |
-
.c-mg {
|
101 |
-
color: #9e9e9e; }
|
102 |
-
|
103 |
-
.w100 {
|
104 |
-
width: 100% !important; }
|
105 |
-
|
106 |
-
.bg-cy {
|
107 |
-
background-color: #00bcd4; }
|
108 |
-
|
109 |
-
.bg-gr {
|
110 |
-
background-color: #8ac249; }
|
111 |
-
|
112 |
-
.pricing-content {
|
113 |
-
max-width: 1000px;
|
114 |
-
margin: 0 auto; }
|
115 |
-
|
116 |
-
.pricing-content, .pricing-content p {
|
117 |
-
font-size: 18px;
|
118 |
-
line-height: 1.6; }
|
119 |
-
|
120 |
-
.pricing-content p:empty {
|
121 |
-
display: none; }
|
122 |
-
|
123 |
-
div.plans-wrapper ul {
|
124 |
-
list-style-type: none;
|
125 |
-
margin: 0 0 15px 0; }
|
126 |
-
|
127 |
-
div#plans {
|
128 |
-
margin-top: 50px; }
|
129 |
-
|
130 |
-
div.plans-wrapper {
|
131 |
-
width: 100%;
|
132 |
-
margin: 0 auto;
|
133 |
-
position: relative;
|
134 |
-
background: #f5f8f9;
|
135 |
-
z-index: 4;
|
136 |
-
-webkit-box-shadow: 0 0 30px rgba(34, 44, 55, 0.15);
|
137 |
-
box-shadow: 0 0 30px rgba(34, 44, 55, 0.15); }
|
138 |
-
|
139 |
-
div.plans-wrapper div.plan-intro div.w100 {
|
140 |
-
padding: 20px 30px 0 30px;
|
141 |
-
position: relative; }
|
142 |
-
|
143 |
-
div.plans-wrapper div.plan-intro {
|
144 |
-
width: 340px;
|
145 |
-
float: left;
|
146 |
-
padding: 30px 0;
|
147 |
-
position: relative;
|
148 |
-
z-index: 4; }
|
149 |
-
|
150 |
-
div.plans-wrapper div.plans {
|
151 |
-
width: 100%;
|
152 |
-
float: left;
|
153 |
-
margin: 0 0 0 -340px;
|
154 |
-
position: relative; }
|
155 |
-
|
156 |
-
div.plans-wrapper div.content-wrapper {
|
157 |
-
margin: 0 0 0 340px;
|
158 |
-
position: relative; }
|
159 |
-
|
160 |
-
div.plans-wrapper div.plan {
|
161 |
-
width: 50%;
|
162 |
-
float: left;
|
163 |
-
text-align: center;
|
164 |
-
position: relative;
|
165 |
-
z-index: 2;
|
166 |
-
-webkit-transition: all .5s;
|
167 |
-
transition: all .5s; }
|
168 |
-
|
169 |
-
div.plans-wrapper div.plan h3 {
|
170 |
-
color: #fff; }
|
171 |
-
|
172 |
-
div.plans-wrapper div.plan:last-child {
|
173 |
-
border-right: 0; }
|
174 |
-
|
175 |
-
div.plans-wrapper div.plan {
|
176 |
-
background: #222c37;
|
177 |
-
-webkit-transition: all .25s;
|
178 |
-
transition: all .25s; }
|
179 |
-
|
180 |
-
div.plans-wrapper div.plan2,
|
181 |
-
div.plans-wrapper div.plan4 {
|
182 |
-
background: #2d3741; }
|
183 |
-
|
184 |
-
div.plans-wrapper div.plan div.w100 {
|
185 |
-
position: relative;
|
186 |
-
padding: 40px 20px 80px 20px; }
|
187 |
-
|
188 |
-
div.plans-wrapper div.plan-intro img {
|
189 |
-
width: 100%;
|
190 |
-
height: auto; }
|
191 |
-
|
192 |
-
div.plans-wrapper div.plan p {
|
193 |
-
font-size: 1.0625em;
|
194 |
-
color: #ccc;
|
195 |
-
-webkit-backface-visibility: hidden;
|
196 |
-
backface-visibility: hidden; }
|
197 |
-
|
198 |
-
div.plans-wrapper div.plan .price {
|
199 |
-
position: relative;
|
200 |
-
display: inline-block;
|
201 |
-
font-size: 1.875em;
|
202 |
-
margin: 0 0 30px 0; }
|
203 |
-
|
204 |
-
div.plans-wrapper div.plan div.action {
|
205 |
-
position: absolute;
|
206 |
-
bottom: 30px;
|
207 |
-
left: 30px;
|
208 |
-
right: 30px;
|
209 |
-
text-align: center; }
|
210 |
-
|
211 |
-
div.plans-wrapper div.plan div.action .btn {
|
212 |
-
width: 100%;
|
213 |
-
vertical-align: top; }
|
214 |
-
|
215 |
-
div.compare-wrapper {
|
216 |
-
width: 100%;
|
217 |
-
margin: 0 auto;
|
218 |
-
background: #ececec;
|
219 |
-
position: relative; }
|
220 |
-
|
221 |
-
div.compare-wrapper div.benefits {
|
222 |
-
width: 340px;
|
223 |
-
float: left; }
|
224 |
-
|
225 |
-
div.compare-wrapper div.plans {
|
226 |
-
width: 100%;
|
227 |
-
float: left;
|
228 |
-
margin: 0 0 0 -340px;
|
229 |
-
position: relative; }
|
230 |
-
|
231 |
-
div.compare-wrapper div.content-wrapper {
|
232 |
-
margin: 0 0 0 340px;
|
233 |
-
position: relative; }
|
234 |
-
|
235 |
-
div.compare-wrapper div.plan {
|
236 |
-
width: 50%;
|
237 |
-
float: left;
|
238 |
-
padding: 30px 0 0 0;
|
239 |
-
text-align: center;
|
240 |
-
background: #f5f8f9; }
|
241 |
-
|
242 |
-
div.compare-wrapper div.plan.even {
|
243 |
-
background: #ececec; }
|
244 |
-
|
245 |
-
div.compare-wrapper div.tooltip {
|
246 |
-
padding: 20px;
|
247 |
-
background: #fff;
|
248 |
-
position: absolute;
|
249 |
-
border-bottom: #37BF91 5px solid;
|
250 |
-
top: 48px;
|
251 |
-
left: 10px;
|
252 |
-
right: 10px;
|
253 |
-
font-weight: 300;
|
254 |
-
z-index: 999;
|
255 |
-
text-align: left;
|
256 |
-
-webkit-box-shadow: 0 1px 20px rgba(34, 44, 55, 0.3);
|
257 |
-
box-shadow: 0 1px 20px rgba(34, 44, 55, 0.3); }
|
258 |
-
|
259 |
-
div.compare-wrapper div.tooltip:before {
|
260 |
-
content: '';
|
261 |
-
display: block;
|
262 |
-
position: absolute;
|
263 |
-
top: -19px;
|
264 |
-
right: 21px;
|
265 |
-
z-index: 18;
|
266 |
-
border: transparent 10px solid;
|
267 |
-
border-bottom-color: #fff; }
|
268 |
-
|
269 |
-
div.compare-wrapper div.tooltip p {
|
270 |
-
font-size: 1em;
|
271 |
-
margin: 0; }
|
272 |
-
|
273 |
-
div.compare-wrapper div.action {
|
274 |
-
padding: 30px;
|
275 |
-
background: #f0f3f4; }
|
276 |
-
|
277 |
-
div.compare-wrapper div.plan.even div.action {
|
278 |
-
background: #e7e7e7; }
|
279 |
-
|
280 |
-
div.compare-wrapper div.action .btn {
|
281 |
-
width: 100%;
|
282 |
-
vertical-align: top; }
|
283 |
-
|
284 |
-
div.compare-wrapper div.benefits h4 {
|
285 |
-
margin: 0;
|
286 |
-
padding: 30px;
|
287 |
-
background: #f5f8f9;
|
288 |
-
position: relative;
|
289 |
-
z-index: 3; }
|
290 |
-
|
291 |
-
div.compare-wrapper div.benefits ul {
|
292 |
-
list-style: none !important;
|
293 |
-
margin: 0 !important;
|
294 |
-
padding: 0 !important;
|
295 |
-
position: relative;
|
296 |
-
z-index: 4; }
|
297 |
-
|
298 |
-
div.compare-wrapper div.benefits ul li {
|
299 |
-
height: 50px;
|
300 |
-
padding: 0 30px !important;
|
301 |
-
margin: 0 !important;
|
302 |
-
text-align: left;
|
303 |
-
font-size: 0.9375em;
|
304 |
-
font-weight: 400;
|
305 |
-
position: relative;
|
306 |
-
background: #f5f8f9; }
|
307 |
-
|
308 |
-
div.compare-wrapper div.benefits ul li div.text {
|
309 |
-
vertical-align: middle;
|
310 |
-
display: table-cell;
|
311 |
-
height: 50px; }
|
312 |
-
|
313 |
-
div.compare-wrapper div.benefits ul li:nth-child(odd) {
|
314 |
-
background: #ececec; }
|
315 |
-
|
316 |
-
div.compare-wrapper div.benefits ul li:before {
|
317 |
-
display: none; }
|
318 |
-
|
319 |
-
div.compare-wrapper div.benefits ul li span.dashicons-editor-help {
|
320 |
-
line-height: 22px;
|
321 |
-
display: block;
|
322 |
-
position: absolute;
|
323 |
-
top: 5px;
|
324 |
-
right: 30px;
|
325 |
-
cursor: pointer;
|
326 |
-
text-align: center;
|
327 |
-
color: #9e9e9e;
|
328 |
-
font-size: 32px;
|
329 |
-
line-height: 1; }
|
330 |
-
|
331 |
-
div.compare-wrapper div.benefits ul li span.dashicons-editor-help:before {
|
332 |
-
font-size: 85%; }
|
333 |
-
|
334 |
-
div.compare-wrapper div.plan h4 {
|
335 |
-
color: #222c37;
|
336 |
-
margin: 0 0 30px 0; }
|
337 |
-
|
338 |
-
div.compare-wrapper div.plan ul {
|
339 |
-
width: 100%;
|
340 |
-
margin: 0 !important;
|
341 |
-
padding: 0 !important;
|
342 |
-
list-style: none !important; }
|
343 |
-
|
344 |
-
div.compare-wrapper div.plan ul li {
|
345 |
-
position: relative;
|
346 |
-
height: 50px;
|
347 |
-
line-height: 20px;
|
348 |
-
padding: 15px 20px !important;
|
349 |
-
margin: 0 !important;
|
350 |
-
text-align: center;
|
351 |
-
font-size: 0.9375em; }
|
352 |
-
|
353 |
-
div.compare-wrapper div.plan ul li:nth-child(odd) {
|
354 |
-
background: rgba(0, 0, 0, 0.02); }
|
355 |
-
|
356 |
-
div.compare-wrapper div.plan ul li:before {
|
357 |
-
display: none; }
|
358 |
-
|
359 |
-
div.compare-wrapper div.plan ul li span.dashicons-editor-help {
|
360 |
-
font-size: 24px;
|
361 |
-
vertical-align: top;
|
362 |
-
line-height: 1;
|
363 |
-
color: #9e9e9e;
|
364 |
-
margin: 0 0 0 2px;
|
365 |
-
cursor: pointer; }
|
366 |
-
|
367 |
-
div.compare-wrapper div.plan ul li span.pay {
|
368 |
-
font-weight: 700; }
|
369 |
-
|
370 |
-
div.compare-wrapper div.plan ul li div.tooltip:before {
|
371 |
-
right: 50%;
|
372 |
-
margin: 0 -10px 0 0; }
|
373 |
-
|
374 |
-
div.compare-wrapper div.plan ul li div.dashicons-no-alt {
|
375 |
-
color: #da4f49; }
|
376 |
-
|
377 |
-
div.compare-wrapper div.plan1 ul li div.dashicons-yes {
|
378 |
-
color: #8ac249; }
|
379 |
-
|
380 |
-
div.compare-wrapper div.plan2 ul li div.dashicons-yes {
|
381 |
-
color: #00bcd4; }
|
382 |
-
|
383 |
-
div.compare-wrapper div.plan3 ul li div.dashicons-yes {
|
384 |
-
color: #37BF91; }
|
385 |
-
|
386 |
-
div.compare-wrapper div.plan4 ul li div.dashicons-yes {
|
387 |
-
color: #009688; }
|
388 |
-
|
389 |
-
div.compare-wrapper .dashicons {
|
390 |
-
font-size: 28px;
|
391 |
-
line-height: 1;
|
392 |
-
width: auto;
|
393 |
-
height: auto; }
|
394 |
-
|
395 |
-
div.compare-wrapper div.plan1 ul li div.tooltip {
|
396 |
-
border-color: #8ac249; }
|
397 |
-
|
398 |
-
div.compare-wrapper div.plan2 ul li div.tooltip {
|
399 |
-
border-color: #00bcd4; }
|
400 |
-
|
401 |
-
div.compare-wrapper div.plan3 ul li div.tooltip {
|
402 |
-
border-color: #37BF91; }
|
403 |
-
|
404 |
-
div.compare-wrapper div.plan4 ul li div.tooltip {
|
405 |
-
border-color: #009688; }
|
406 |
-
|
407 |
-
div.compare-wrapper div.plan ul li .m {
|
408 |
-
display: none; }
|
409 |
-
|
410 |
-
@media only screen and (min-width: 150px) and (max-width: 1380px) {
|
411 |
-
div#plans {
|
412 |
-
margin-bottom: 40px; }
|
413 |
-
|
414 |
-
div.plans-wrapper div.plan-intro {
|
415 |
-
display: none; }
|
416 |
-
|
417 |
-
div.plans-wrapper div.plans {
|
418 |
-
margin: 0; }
|
419 |
-
|
420 |
-
div.plans-wrapper div.content-wrapper {
|
421 |
-
margin: 0; }
|
422 |
-
|
423 |
-
div.compare-wrapper {
|
424 |
-
background: transparent; }
|
425 |
-
|
426 |
-
div.compare-wrapper div.benefits {
|
427 |
-
width: 100%;
|
428 |
-
margin: 0 0 30px 0; }
|
429 |
-
|
430 |
-
div.compare-wrapper div.benefits h4 {
|
431 |
-
padding: 0;
|
432 |
-
background: transparent;
|
433 |
-
font-size: 2em;
|
434 |
-
line-height: 1em;
|
435 |
-
font-weight: 100;
|
436 |
-
color: #222c37; }
|
437 |
-
|
438 |
-
div.compare-wrapper div.benefits ul {
|
439 |
-
display: none; }
|
440 |
-
|
441 |
-
div.compare-wrapper div.plans {
|
442 |
-
margin: 0; }
|
443 |
-
|
444 |
-
div.compare-wrapper div.content-wrapper {
|
445 |
-
margin: 0; }
|
446 |
-
|
447 |
-
div.compare-wrapper div.plan h4 {
|
448 |
-
color: #fff;
|
449 |
-
margin: 0;
|
450 |
-
padding: 15px 20px;
|
451 |
-
background: #222c37; }
|
452 |
-
|
453 |
-
div.compare-wrapper div.plan {
|
454 |
-
width: 100%;
|
455 |
-
padding: 0;
|
456 |
-
margin: 0 0 15px 0;
|
457 |
-
text-align: left;
|
458 |
-
background: #f5f8f9 !important; }
|
459 |
-
|
460 |
-
div.compare-wrapper div.plan ul {
|
461 |
-
width: 100%;
|
462 |
-
margin: 0;
|
463 |
-
display: -ms-flexbox;
|
464 |
-
display: -webkit-box;
|
465 |
-
display: flex;
|
466 |
-
-ms-flex-wrap: wrap;
|
467 |
-
flex-wrap: wrap; }
|
468 |
-
|
469 |
-
div.compare-wrapper div.plan ul li {
|
470 |
-
width: 50%;
|
471 |
-
height: auto;
|
472 |
-
float: left;
|
473 |
-
line-height: 20px;
|
474 |
-
padding: 15px 20px 15px 40px !important;
|
475 |
-
text-align: left;
|
476 |
-
display: -ms-flexbox;
|
477 |
-
display: -webkit-box;
|
478 |
-
display: flex; }
|
479 |
-
|
480 |
-
div.compare-wrapper div.plan ul li:nth-child(odd) {
|
481 |
-
background: rgba(0, 0, 0, 0); }
|
482 |
-
|
483 |
-
div.compare-wrapper div.plan ul li:nth-child(2),
|
484 |
-
div.compare-wrapper div.plan ul li:nth-child(3),
|
485 |
-
div.compare-wrapper div.plan ul li:nth-child(6),
|
486 |
-
div.compare-wrapper div.plan ul li:nth-child(7),
|
487 |
-
div.compare-wrapper div.plan ul li:nth-child(10),
|
488 |
-
div.compare-wrapper div.plan ul li:nth-child(11),
|
489 |
-
div.compare-wrapper div.plan ul li:nth-child(14),
|
490 |
-
div.compare-wrapper div.plan ul li:nth-child(15),
|
491 |
-
div.compare-wrapper div.plan ul li:nth-child(18),
|
492 |
-
div.compare-wrapper div.plan ul li:nth-child(19),
|
493 |
-
div.compare-wrapper div.plan ul li:nth-child(22),
|
494 |
-
div.compare-wrapper div.plan ul li:nth-child(23) {
|
495 |
-
background: rgba(0, 0, 0, 0.02); }
|
496 |
-
|
497 |
-
div.compare-wrapper div.plan ul li span.message {
|
498 |
-
display: none; }
|
499 |
-
|
500 |
-
div.compare-wrapper div.plan ul li .m {
|
501 |
-
display: inline-block; }
|
502 |
-
|
503 |
-
div.compare-wrapper div.plan ul li div.dashicons-yes,
|
504 |
-
div.compare-wrapper div.plan ul li div.dashicons-no-alt {
|
505 |
-
position: absolute;
|
506 |
-
top: 13px;
|
507 |
-
left: 8px; }
|
508 |
-
|
509 |
-
div.compare-wrapper div.plan ul li div.dashicons-no-alt {
|
510 |
-
top: 16px; }
|
511 |
-
|
512 |
-
div.compare-wrapper div.plan ul li span.m-message {
|
513 |
-
display: inline-block; }
|
514 |
-
|
515 |
-
div.compare-wrapper div.action {
|
516 |
-
padding: 15px;
|
517 |
-
background: #e7e7e7; }
|
518 |
-
|
519 |
-
div.compare-wrapper div.plan.even div.action {
|
520 |
-
background: #e7e7e7; }
|
521 |
-
|
522 |
-
div.compare-wrapper div.action .btn {
|
523 |
-
width: auto; } }
|
524 |
-
@media only screen and (min-width: 150px) and (max-width: 1023px) {
|
525 |
-
div#plans {
|
526 |
-
padding-left: 30px;
|
527 |
-
padding-right: 30px; }
|
528 |
-
|
529 |
-
div.plans-wrapper div.plan {
|
530 |
-
width: 50%; }
|
531 |
-
|
532 |
-
div#compare {
|
533 |
-
padding-left: 30px;
|
534 |
-
padding-right: 30px; } }
|
535 |
-
@media only screen and (min-width: 150px) and (max-width: 767px) {
|
536 |
-
div#plans {
|
537 |
-
padding-left: 20px;
|
538 |
-
padding-right: 20px; }
|
539 |
-
|
540 |
-
div.plans-wrapper {
|
541 |
-
background: #fff;
|
542 |
-
-webkit-box-shadow: none;
|
543 |
-
box-shadow: none; }
|
544 |
-
|
545 |
-
div.plans-wrapper div.plan {
|
546 |
-
width: 100%;
|
547 |
-
margin: 0 0 15px 0;
|
548 |
-
-webkit-box-shadow: 0 0 30px rgba(34, 44, 55, 0.15);
|
549 |
-
box-shadow: 0 0 30px rgba(34, 44, 55, 0.15); }
|
550 |
-
|
551 |
-
div.plans-wrapper div.plan div.icon {
|
552 |
-
display: none; }
|
553 |
-
|
554 |
-
div.plans-wrapper div.plan p.text {
|
555 |
-
height: auto !important; }
|
556 |
-
|
557 |
-
div#compare {
|
558 |
-
padding-left: 20px;
|
559 |
-
padding-right: 20px; }
|
560 |
-
|
561 |
-
div.compare-wrapper div.plan ul li {
|
562 |
-
width: 100%; }
|
563 |
-
|
564 |
-
div.compare-wrapper div.plan ul li:nth-child(2),
|
565 |
-
div.compare-wrapper div.plan ul li:nth-child(3),
|
566 |
-
div.compare-wrapper div.plan ul li:nth-child(6),
|
567 |
-
div.compare-wrapper div.plan ul li:nth-child(7),
|
568 |
-
div.compare-wrapper div.plan ul li:nth-child(10),
|
569 |
-
div.compare-wrapper div.plan ul li:nth-child(11),
|
570 |
-
div.compare-wrapper div.plan ul li:nth-child(14),
|
571 |
-
div.compare-wrapper div.plan ul li:nth-child(15),
|
572 |
-
div.compare-wrapper div.plan ul li:nth-child(18),
|
573 |
-
div.compare-wrapper div.plan ul li:nth-child(19),
|
574 |
-
div.compare-wrapper div.plan ul li:nth-child(22),
|
575 |
-
div.compare-wrapper div.plan ul li:nth-child(23) {
|
576 |
-
background: rgba(0, 0, 0, 0); }
|
577 |
-
|
578 |
-
div.compare-wrapper div.plan ul li:nth-child(even) {
|
579 |
-
background: rgba(0, 0, 0, 0.02) !important; }
|
580 |
-
|
581 |
-
div.faq-wrapper div.g12 {
|
582 |
-
padding-bottom: 15px !important; }
|
583 |
-
|
584 |
-
div.faq-wrapper div.g4 {
|
585 |
-
width: 100%;
|
586 |
-
padding-bottom: 0;
|
587 |
-
padding-top: 0; } }
|
588 |
-
@media only screen and (min-width: 150px) and (max-width: 479px) {
|
589 |
-
div#plans {
|
590 |
-
padding-left: 15px;
|
591 |
-
padding-right: 15px; }
|
592 |
-
|
593 |
-
div#compare {
|
594 |
-
padding-left: 15px;
|
595 |
-
padding-right: 15px; } }
|
596 |
-
/* ------- END: Pricing Plan --------- */
|
597 |
-
|
598 |
-
/*# sourceMappingURL=premium-upgrade.css.map */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/assets/js/premium-upgrade.js
DELETED
@@ -1,31 +0,0 @@
|
|
1 |
-
(function($) {
|
2 |
-
|
3 |
-
$(document).ready(function() {
|
4 |
-
|
5 |
-
/* ==== COMPARE PLANS TOOLTIP =======*/
|
6 |
-
|
7 |
-
$('.compare-wrapper ul li span.dashicons-editor-help').on('click', function(){
|
8 |
-
|
9 |
-
var $tooltip = $(this).closest('li').find('.tooltip');
|
10 |
-
|
11 |
-
if($tooltip.hasClass('hide')){
|
12 |
-
$('.compare-wrapper .tooltip').addClass('hide');
|
13 |
-
$tooltip.removeClass('hide');
|
14 |
-
}
|
15 |
-
else {
|
16 |
-
$tooltip.addClass('hide');
|
17 |
-
}
|
18 |
-
|
19 |
-
});
|
20 |
-
|
21 |
-
$('html').bind('click', function(e) {
|
22 |
-
|
23 |
-
if($(e.target).closest('.compare-wrapper ul li span.dashicons-editor-help').length == 0 && $(e.target).closest('.tooltip').length == 0){
|
24 |
-
$('.compare-wrapper .tooltip').addClass('hide');
|
25 |
-
}
|
26 |
-
|
27 |
-
});
|
28 |
-
|
29 |
-
});
|
30 |
-
|
31 |
-
})(jQuery);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/views/documentation.php
CHANGED
@@ -1279,6 +1279,11 @@ else {
|
|
1279 |
|
1280 |
<h2>Change Log for the Premium Version</h2>
|
1281 |
<br>
|
|
|
|
|
|
|
|
|
|
|
1282 |
<h3>2.2.1</h3>
|
1283 |
<ul>
|
1284 |
<li>Fixed - Bug fixes related to Freemius integration.</li>
|
1279 |
|
1280 |
<h2>Change Log for the Premium Version</h2>
|
1281 |
<br>
|
1282 |
+
<h3>2.3</h3>
|
1283 |
+
<ul>
|
1284 |
+
<li>Fixed - Incompatibility with certain themes due to different versions of waypoints scripts being used.</li>
|
1285 |
+
<li>Fixed - Leaving tags empty in the gallery lead to addition of an empty filter in the filter list</li>
|
1286 |
+
</ul>
|
1287 |
<h3>2.2.1</h3>
|
1288 |
<ul>
|
1289 |
<li>Fixed - Bug fixes related to Freemius integration.</li>
|
assets/css/lsow-admin.css
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
.center {
|
2 |
-
text-align: center; }
|
3 |
-
|
4 |
-
.siteorigin-widget-form .siteorigin-widget-field .lsow-widget-input-datepicker, .siteorigin-widget-form .siteorigin-widget-field .lsow-widget-input-timepicker {
|
5 |
-
max-width: 230px; }
|
6 |
-
|
7 |
-
/*# sourceMappingURL=lsow-admin.css.map */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/jquery.waypoints.js
CHANGED
@@ -653,10 +653,10 @@ https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
|
|
653 |
}
|
654 |
|
655 |
if (window.jQuery) {
|
656 |
-
window.jQuery.fn.
|
657 |
}
|
658 |
if (window.Zepto) {
|
659 |
-
window.Zepto.fn.
|
660 |
}
|
661 |
}())
|
662 |
;
|
653 |
}
|
654 |
|
655 |
if (window.jQuery) {
|
656 |
+
window.jQuery.fn.livemeshWaypoint = createExtension(window.jQuery)
|
657 |
}
|
658 |
if (window.Zepto) {
|
659 |
+
window.Zepto.fn.livemeshWaypoint = createExtension(window.Zepto)
|
660 |
}
|
661 |
}())
|
662 |
;
|
assets/js/jquery.waypoints.min.js
CHANGED
@@ -4,4 +4,4 @@ Copyright © 2011-2016 Caleb Troughton
|
|
4 |
Licensed under the MIT license.
|
5 |
https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
|
6 |
*/
|
7 |
-
!function(){"use strict";function t(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,o),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=o.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var o in i)e.push(i[o]);for(var n=0,r=e.length;r>n;n++)e[n][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.Context.refreshAll();for(var e in i)i[e].enabled=!0;return this},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=n.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,o[t.waypointContextKey]=this,i+=1,n.windowContext||(n.windowContext=!0,n.windowContext=new e(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,o={},n=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;t&&e&&!i&&(this.adapter.off(".waypoints"),delete o[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,n.requestAnimationFrame(t))})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){(!e.didScroll||n.isTouch)&&(e.didScroll=!0,n.requestAnimationFrame(t))})},e.prototype.handleResize=function(){n.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll,r=n?o.forward:o.backward;for(var s in this.waypoints[i]){var a=this.waypoints[i][s];if(null!==a.triggerPoint){var l=o.oldScroll<a.triggerPoint,h=o.newScroll>=a.triggerPoint,p=l&&h,u=!l&&!h;(p||u)&&(a.queueTrigger(r),t[a.group.id]=a.group)}}}for(var c in t)t[c].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;n>o;o++)t[o].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var r in t){var s=t[r];for(var a in this.waypoints[r]){var l,h,p,u,c,d=this.waypoints[r][a],f=d.options.offset,w=d.triggerPoint,y=0,g=null==w;d.element!==d.element.window&&(y=d.adapter.offset()[s.offsetProp]),"function"==typeof f?f=f.apply(d):"string"==typeof f&&(f=parseFloat(f),d.options.offset.indexOf("%")>-1&&(f=Math.ceil(s.contextDimension*f/100))),l=s.contextScroll-s.contextOffset,d.triggerPoint=Math.floor(y+l-f),h=w<s.oldScroll,p=d.triggerPoint>=s.oldScroll,u=h&&p,c=!h&&!p,!g&&u?(d.queueTrigger(s.backward),o[d.group.id]=d.group):!g&&c?(d.queueTrigger(s.forward),o[d.group.id]=d.group):g&&s.oldScroll>=d.triggerPoint&&(d.queueTrigger(s.forward),o[d.group.id]=d.group)}}return n.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in o)o[t].refresh()},e.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},n.requestAnimationFrame=function(e){var i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t;i.call(window,e)},n.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}var o={vertical:{},horizontal:{}},n=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i],n="up"===i||"left"===i;o.sort(n?e:t);for(var r=0,s=o.length;s>r;r+=1){var a=o[r];(a.options.continuous||r===o.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints),o=i===this.waypoints.length-1;return o?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=n.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return o[t.axis][t.name]||new i(t)},n.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}}),e.each(["extend","inArray","isEmptyObject"],function(i,o){t[o]=e[o]}),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],o=arguments[0];return t.isFunction(arguments[0])&&(o=t.extend({},arguments[1]),o.handler=arguments[0]),this.each(function(){var n=t.extend({},o,{element:this});"string"==typeof n.context&&(n.context=t(this).closest(n.context)[0]),i.push(new e(n))}),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.
|
4 |
Licensed under the MIT license.
|
5 |
https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
|
6 |
*/
|
7 |
+
!function(){"use strict";function t(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,o),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=o.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var o in i)e.push(i[o]);for(var n=0,r=e.length;r>n;n++)e[n][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.Context.refreshAll();for(var e in i)i[e].enabled=!0;return this},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=n.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,o[t.waypointContextKey]=this,i+=1,n.windowContext||(n.windowContext=!0,n.windowContext=new e(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,o={},n=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;t&&e&&!i&&(this.adapter.off(".waypoints"),delete o[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,n.requestAnimationFrame(t))})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){(!e.didScroll||n.isTouch)&&(e.didScroll=!0,n.requestAnimationFrame(t))})},e.prototype.handleResize=function(){n.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll,r=n?o.forward:o.backward;for(var s in this.waypoints[i]){var a=this.waypoints[i][s];if(null!==a.triggerPoint){var l=o.oldScroll<a.triggerPoint,h=o.newScroll>=a.triggerPoint,p=l&&h,u=!l&&!h;(p||u)&&(a.queueTrigger(r),t[a.group.id]=a.group)}}}for(var c in t)t[c].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;n>o;o++)t[o].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var r in t){var s=t[r];for(var a in this.waypoints[r]){var l,h,p,u,c,d=this.waypoints[r][a],f=d.options.offset,w=d.triggerPoint,y=0,g=null==w;d.element!==d.element.window&&(y=d.adapter.offset()[s.offsetProp]),"function"==typeof f?f=f.apply(d):"string"==typeof f&&(f=parseFloat(f),d.options.offset.indexOf("%")>-1&&(f=Math.ceil(s.contextDimension*f/100))),l=s.contextScroll-s.contextOffset,d.triggerPoint=Math.floor(y+l-f),h=w<s.oldScroll,p=d.triggerPoint>=s.oldScroll,u=h&&p,c=!h&&!p,!g&&u?(d.queueTrigger(s.backward),o[d.group.id]=d.group):!g&&c?(d.queueTrigger(s.forward),o[d.group.id]=d.group):g&&s.oldScroll>=d.triggerPoint&&(d.queueTrigger(s.forward),o[d.group.id]=d.group)}}return n.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in o)o[t].refresh()},e.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},n.requestAnimationFrame=function(e){var i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t;i.call(window,e)},n.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}var o={vertical:{},horizontal:{}},n=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i],n="up"===i||"left"===i;o.sort(n?e:t);for(var r=0,s=o.length;s>r;r+=1){var a=o[r];(a.options.continuous||r===o.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints),o=i===this.waypoints.length-1;return o?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=n.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return o[t.axis][t.name]||new i(t)},n.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}}),e.each(["extend","inArray","isEmptyObject"],function(i,o){t[o]=e[o]}),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],o=arguments[0];return t.isFunction(arguments[0])&&(o=t.extend({},arguments[1]),o.handler=arguments[0]),this.each(function(){var n=t.extend({},o,{element:this});"string"==typeof n.context&&(n.context=t(this).closest(n.context)[0]),i.push(new e(n))}),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.livemeshWaypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.livemeshWaypoint=t(window.Zepto))}();
|
assets/js/lsow-admin.js
DELETED
File without changes
|
assets/js/lsow-frontend.js
CHANGED
@@ -27,7 +27,7 @@ if (typeof (jQuery) != 'undefined') {
|
|
27 |
$(".lsow-visible-on-scroll:not(.animated)").css('opacity', 0);
|
28 |
|
29 |
"function" != typeof window.lsow_animate_widgets && (window.lsow_animate_widgets = function () {
|
30 |
-
"undefined" != typeof $.fn.
|
31 |
var animateClass = $(this.element).data("animation");
|
32 |
$(this.element).addClass("animated " + animateClass).css('opacity', 1);
|
33 |
}, {
|
27 |
$(".lsow-visible-on-scroll:not(.animated)").css('opacity', 0);
|
28 |
|
29 |
"function" != typeof window.lsow_animate_widgets && (window.lsow_animate_widgets = function () {
|
30 |
+
"undefined" != typeof $.fn.livemeshWaypoint && $(".lsow-animate-on-scroll:not(.animated)").livemeshWaypoint(function () {
|
31 |
var animateClass = $(this.element).data("animation");
|
32 |
$(this.element).addClass("animated " + animateClass).css('opacity', 1);
|
33 |
}, {
|
assets/js/lsow-frontend.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
if(typeof jQuery!="undefined"){jQuery.noConflict();(function($){"use strict";$(function(){var LSOW_Frontend={init:function(){this.output_custom_css();this.carousel();this.setup_parallax();this.setup_ytp();this.setup_animations()},setup_animations:function(){$(".lsow-visible-on-scroll:not(.animated)").css("opacity",0);"function"!=typeof window.lsow_animate_widgets&&(window.lsow_animate_widgets=function(){"undefined"!=typeof $.fn.
|
1 |
+
if(typeof jQuery!="undefined"){jQuery.noConflict();(function($){"use strict";$(function(){var LSOW_Frontend={init:function(){this.output_custom_css();this.carousel();this.setup_parallax();this.setup_ytp();this.setup_animations()},setup_animations:function(){$(".lsow-visible-on-scroll:not(.animated)").css("opacity",0);"function"!=typeof window.lsow_animate_widgets&&(window.lsow_animate_widgets=function(){"undefined"!=typeof $.fn.livemeshWaypoint&&$(".lsow-animate-on-scroll:not(.animated)").livemeshWaypoint(function(){var animateClass=$(this.element).data("animation");$(this.element).addClass("animated "+animateClass).css("opacity",1)},{offset:"85%"})});window.setTimeout(lsow_animate_widgets,500)},output_custom_css:function(){var custom_css=lsow_settings["custom_css"];if(custom_css!==undefined&&custom_css!=""){custom_css='<style type="text/css">'+custom_css+"</style>";$("head").append(custom_css)}},isMobile:function(){"use strict";if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){return true}return false},vendor_prefix:function(){var prefix;function prefix(){var styles=window.getComputedStyle(document.documentElement,"");prefix=(Array.prototype.slice.call(styles).join("").match(/-(moz|webkit|ms)-/)||styles.OLink===""&&["","o"])[1];return prefix}prefix();return prefix},carousel:function(){if($().slick===undefined){return}var carousel_elements=$(".lsow-carousel, .lsow-posts-carousel, .lsow-gallery-carousel");carousel_elements.each(function(){var carousel_elem=$(this);var arrows=carousel_elem.data("arrows")?true:false;var dots=carousel_elem.data("dots")?true:false;var autoplay=carousel_elem.data("autoplay")?true:false;var autoplay_speed=carousel_elem.data("autoplay_speed")||3e3;var animation_speed=carousel_elem.data("animation_speed")||300;var fade=carousel_elem.data("fade")?true:false;var pause_on_hover=carousel_elem.data("pause_on_hover")?true:false;var display_columns=carousel_elem.data("display_columns")||4;var scroll_columns=carousel_elem.data("scroll_columns")||4;var gutter=carousel_elem.data("gutter")||10;var tablet_width=carousel_elem.data("tablet_width")||800;var tablet_display_columns=carousel_elem.data("tablet_display_columns")||2;var tablet_scroll_columns=carousel_elem.data("tablet_scroll_columns")||2;var mobile_width=carousel_elem.data("mobile_width")||480;var mobile_display_columns=carousel_elem.data("mobile_display_columns")||1;var mobile_scroll_columns=carousel_elem.data("mobile_scroll_columns")||1;carousel_elem.slick({arrows:arrows,dots:dots,infinite:true,autoplay:autoplay,autoplaySpeed:autoplay_speed,speed:animation_speed,fade:false,pauseOnHover:pause_on_hover,slidesToShow:display_columns,slidesToScroll:scroll_columns,responsive:[{breakpoint:tablet_width,settings:{slidesToShow:tablet_display_columns,slidesToScroll:tablet_scroll_columns}},{breakpoint:mobile_width,settings:{slidesToShow:mobile_display_columns,slidesToScroll:mobile_scroll_columns}}]})})},setup_parallax:function(){var scroll=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(callback){window.setTimeout(callback,1e3/600)};function init_parallax(){if(LSOW_Frontend.isMobile()===false){var windowHeight=$(window).height();$(".lsow-section-bg-parallax").each(function(){var segment=$(this);var elementHeight=segment.outerHeight(true);var boundingRect=segment[0].getBoundingClientRect();if(boundingRect.bottom>=0&&boundingRect.top<=windowHeight){var distanceToCover=windowHeight+elementHeight;var pixelsMoved=windowHeight-boundingRect.top;var toTransform=50;var transformPercent=toTransform*Math.abs(pixelsMoved/distanceToCover);transformPercent=-transformPercent.toFixed(2);segment.find(".lsow-parallax-bg").css("-"+LSOW_Frontend.vendor_prefix()+"-transform","translate3d(0px, "+transformPercent+"%, 0px)")}})}}if(this.isMobile()===false){scroll(init_parallax);$(window).on("scroll",function(){scroll(init_parallax)})}},setup_ytp:function(){if(this.isMobile()||$().mb_YTPlayer===undefined){return}$(".lsow-section-bg-youtube").mb_YTPlayer({startAt:0,showYTLogo:false,showControls:false,autoPlay:true,mute:true,containment:"self"})}};LSOW_Frontend.init()})})(jQuery)}
|
freemius/assets/css/admin/common.css
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
.theme-browser .theme .fs-premium-theme-badge{position:absolute;top:10px;right:0;background:#71ae00;color:#fff;text-transform:uppercase;padding:5px 10px;border-radius:3px 0 0 3px;font-weight:bold;border-right:0;-webkit-box-shadow:0 2px 1px -1px rgba(0,0,0,0.3);box-shadow:0 2px 1px -1px rgba(0,0,0,0.3);font-size:1.1em}#iframe{line-height:0;font-size:0}.fs-full-size-wrapper{margin:40px 0 -65px -20px}@media (max-width: 600px){.fs-full-size-wrapper{margin:0 0 -65px -10px}}
|
2 |
-
.fs-notice{position:relative}.fs-notice.fs-has-title{margin-bottom:30px !important}.fs-notice.success{color:green}.fs-notice.promotion{border-color:#00a0d2 !important;background-color:#f2fcff !important}.fs-notice .fs-notice-body{margin:.5em 0;padding:2px}.fs-notice .fs-close{cursor:pointer;color:#aaa;float:right}.fs-notice .fs-close:hover{color:#666}.fs-notice .fs-close>*{margin-top:7px;display:inline-block}.fs-notice label.fs-plugin-title{background:rgba(0,0,0,0.3);color:#fff;padding:2px 10px;position:absolute;top:100%;bottom:auto;right:auto;border-radius:0 0 3px 3px;left:10px;font-size:12px;font-weight:bold;cursor:auto}div.fs-notice.updated,div.fs-notice.success,div.fs-notice.promotion{display:block !important}.rtl .fs-notice .fs-close{float:left}.fs-secure-notice{position:fixed;top:32px;left:160px;right:0;background:#ebfdeb;padding:10px 20px;color:green;z-index:9999;-webkit-box-shadow:0 2px 2px rgba(6,113,6,0.3);box-shadow:0 2px 2px rgba(6,113,6,0.3);opacity:0.95;filter:alpha(opacity=95)}.fs-secure-notice:hover{opacity:1;filter:alpha(opacity=100)}.fs-secure-notice a.fs-security-proof{color:green;text-decoration:none}@media screen and (max-width: 960px){.fs-secure-notice{left:36px}}@media screen and (max-width: 600px){.fs-secure-notice{display:none}}@media screen and (max-width: 500px){#fs_promo_tab{display:none}}@media screen and (max-width: 782px){.fs-secure-notice{left:0;top:46px;text-align:center}}span.fs-submenu-item.fs-sub:before{content:'\21B3';padding:0 5px}.rtl span.fs-submenu-item.fs-sub:before{content:'\21B2'}.fs-submenu-item.pricing.upgrade-mode{color:greenyellow}.fs-submenu-item.pricing.trial-mode{color:#83e2ff}#adminmenu .update-plugins.fs-trial{background-color:#00b9eb}.fs-ajax-spinner{border:0;width:20px;height:20px;margin-right:5px;vertical-align:sub;display:inline-block;background:url
|
3 |
-
/*# sourceMappingURL=data:application/json;base64,
|
1 |
.theme-browser .theme .fs-premium-theme-badge{position:absolute;top:10px;right:0;background:#71ae00;color:#fff;text-transform:uppercase;padding:5px 10px;border-radius:3px 0 0 3px;font-weight:bold;border-right:0;-webkit-box-shadow:0 2px 1px -1px rgba(0,0,0,0.3);box-shadow:0 2px 1px -1px rgba(0,0,0,0.3);font-size:1.1em}#iframe{line-height:0;font-size:0}.fs-full-size-wrapper{margin:40px 0 -65px -20px}@media (max-width: 600px){.fs-full-size-wrapper{margin:0 0 -65px -10px}}
|
2 |
+
.fs-notice{position:relative}.fs-notice.fs-has-title{margin-bottom:30px !important}.fs-notice.success{color:green}.fs-notice.promotion{border-color:#00a0d2 !important;background-color:#f2fcff !important}.fs-notice .fs-notice-body{margin:.5em 0;padding:2px}.fs-notice .fs-close{cursor:pointer;color:#aaa;float:right}.fs-notice .fs-close:hover{color:#666}.fs-notice .fs-close>*{margin-top:7px;display:inline-block}.fs-notice label.fs-plugin-title{background:rgba(0,0,0,0.3);color:#fff;padding:2px 10px;position:absolute;top:100%;bottom:auto;right:auto;border-radius:0 0 3px 3px;left:10px;font-size:12px;font-weight:bold;cursor:auto}div.fs-notice.updated,div.fs-notice.success,div.fs-notice.promotion{display:block !important}.rtl .fs-notice .fs-close{float:left}.fs-secure-notice{position:fixed;top:32px;left:160px;right:0;background:#ebfdeb;padding:10px 20px;color:green;z-index:9999;-webkit-box-shadow:0 2px 2px rgba(6,113,6,0.3);box-shadow:0 2px 2px rgba(6,113,6,0.3);opacity:0.95;filter:alpha(opacity=95)}.fs-secure-notice:hover{opacity:1;filter:alpha(opacity=100)}.fs-secure-notice a.fs-security-proof{color:green;text-decoration:none}@media screen and (max-width: 960px){.fs-secure-notice{left:36px}}@media screen and (max-width: 600px){.fs-secure-notice{display:none}}@media screen and (max-width: 500px){#fs_promo_tab{display:none}}@media screen and (max-width: 782px){.fs-secure-notice{left:0;top:46px;text-align:center}}span.fs-submenu-item.fs-sub:before{content:'\21B3';padding:0 5px}.rtl span.fs-submenu-item.fs-sub:before{content:'\21B2'}.fs-submenu-item.pricing.upgrade-mode{color:greenyellow}.fs-submenu-item.pricing.trial-mode{color:#83e2ff}#adminmenu .update-plugins.fs-trial{background-color:#00b9eb}.fs-ajax-spinner{border:0;width:20px;height:20px;margin-right:5px;vertical-align:sub;display:inline-block;background:url("/wp-admin/images/wpspin_light-2x.gif");background-size:contain}.wrap.fs-section h2{text-align:left}
|
3 |
+
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbW1vbi5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsOENBQThDLGtCQUFrQixTQUFTLFFBQVEsbUJBQW1CLFdBQVcseUJBQXlCLGlCQUFpQiwwQkFBMkYsaUJBQWlCLGVBQWUsa0RBQWlHLDBDQUEwQyxlQUFlLENBQUMsUUFBUSxjQUFjLFdBQVcsQ0FBQyxzQkFBc0IseUJBQXlCLENBQUMsMEJBQTBCLHNCQUFzQixzQkFBc0IsQ0FBQyxDQUFDO0FBQ3prQixXQUFXLGlCQUFpQixDQUFDLHdCQUF3Qiw2QkFBNkIsQ0FBQyxtQkFBbUIsV0FBVyxDQUFDLHFCQUFxQixnQ0FBZ0MsbUNBQW1DLENBQUMsMkJBQTJCLGNBQWMsV0FBVyxDQUFDLHFCQUFxQixlQUFlLFdBQVcsV0FBVyxDQUFDLDJCQUEyQixVQUFVLENBQUMsdUJBQXVCLGVBQWUsb0JBQW9CLENBQUMsaUNBQWlDLDJCQUEyQixXQUFXLGlCQUFpQixrQkFBa0IsU0FBUyxZQUFZLFdBQVcsMEJBQTJGLFVBQVUsZUFBZSxpQkFBaUIsV0FBVyxDQUFDLG9FQUFvRSx3QkFBd0IsQ0FBQywwQkFBMEIsVUFBVSxDQUFDLGtCQUFrQixlQUFlLFNBQVMsV0FBVyxRQUFRLG1CQUFtQixrQkFBa0IsWUFBWSxhQUFhLCtDQUEyRix1Q0FBdUMsYUFBYSx3QkFBd0IsQ0FBQyx3QkFBd0IsVUFBVSx5QkFBeUIsQ0FBQyxzQ0FBc0MsWUFBWSxvQkFBb0IsQ0FBQyxxQ0FBcUMsa0JBQWtCLFNBQVMsQ0FBQyxDQUFDLHFDQUFxQyxrQkFBa0IsWUFBWSxDQUFDLENBQUMscUNBQXFDLGNBQWMsWUFBWSxDQUFDLENBQUMscUNBQXFDLGtCQUFrQixPQUFPLFNBQVMsaUJBQWlCLENBQUMsQ0FBQyxtQ0FBbUMsZ0JBQWdCLGFBQWEsQ0FBQyx3Q0FBd0MsZUFBZSxDQUFDLHNDQUFzQyxpQkFBaUIsQ0FBQyxvQ0FBb0MsYUFBYSxDQUFDLG9DQUFvQyx3QkFBd0IsQ0FBQyxpQkFBaUIsU0FBUyxXQUFXLFlBQVksaUJBQWlCLG1CQUFtQixxQkFBcUIsdURBQXVELHVCQUF1QixDQUFDLG9CQUFvQixlQUFlLENBQUMiLCJmaWxlIjoiY29tbW9uLmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi50aGVtZS1icm93c2VyIC50aGVtZSAuZnMtcHJlbWl1bS10aGVtZS1iYWRnZXtwb3NpdGlvbjphYnNvbHV0ZTt0b3A6MTBweDtyaWdodDowO2JhY2tncm91bmQ6IzcxYWUwMDtjb2xvcjojZmZmO3RleHQtdHJhbnNmb3JtOnVwcGVyY2FzZTtwYWRkaW5nOjVweCAxMHB4Oy1tb3otYm9yZGVyLXJhZGl1czozcHggMCAwIDNweDstd2Via2l0LWJvcmRlci1yYWRpdXM6M3B4IDAgMCAzcHg7Ym9yZGVyLXJhZGl1czozcHggMCAwIDNweDtmb250LXdlaWdodDpib2xkO2JvcmRlci1yaWdodDowOy1tb3otYm94LXNoYWRvdzowIDJweCAxcHggLTFweCByZ2JhKDAsMCwwLDAuMyk7LXdlYmtpdC1ib3gtc2hhZG93OjAgMnB4IDFweCAtMXB4IHJnYmEoMCwwLDAsMC4zKTtib3gtc2hhZG93OjAgMnB4IDFweCAtMXB4IHJnYmEoMCwwLDAsMC4zKTtmb250LXNpemU6MS4xZW19I2lmcmFtZXtsaW5lLWhlaWdodDowO2ZvbnQtc2l6ZTowfS5mcy1mdWxsLXNpemUtd3JhcHBlcnttYXJnaW46NDBweCAwIC02NXB4IC0yMHB4fUBtZWRpYSAobWF4LXdpZHRoOiA2MDBweCl7LmZzLWZ1bGwtc2l6ZS13cmFwcGVye21hcmdpbjowIDAgLTY1cHggLTEwcHh9fVxuLmZzLW5vdGljZXtwb3NpdGlvbjpyZWxhdGl2ZX0uZnMtbm90aWNlLmZzLWhhcy10aXRsZXttYXJnaW4tYm90dG9tOjMwcHggIWltcG9ydGFudH0uZnMtbm90aWNlLnN1Y2Nlc3N7Y29sb3I6Z3JlZW59LmZzLW5vdGljZS5wcm9tb3Rpb257Ym9yZGVyLWNvbG9yOiMwMGEwZDIgIWltcG9ydGFudDtiYWNrZ3JvdW5kLWNvbG9yOiNmMmZjZmYgIWltcG9ydGFudH0uZnMtbm90aWNlIC5mcy1ub3RpY2UtYm9keXttYXJnaW46LjVlbSAwO3BhZGRpbmc6MnB4fS5mcy1ub3RpY2UgLmZzLWNsb3Nle2N1cnNvcjpwb2ludGVyO2NvbG9yOiNhYWE7ZmxvYXQ6cmlnaHR9LmZzLW5vdGljZSAuZnMtY2xvc2U6aG92ZXJ7Y29sb3I6IzY2Nn0uZnMtbm90aWNlIC5mcy1jbG9zZT4qe21hcmdpbi10b3A6N3B4O2Rpc3BsYXk6aW5saW5lLWJsb2NrfS5mcy1ub3RpY2UgbGFiZWwuZnMtcGx1Z2luLXRpdGxle2JhY2tncm91bmQ6cmdiYSgwLDAsMCwwLjMpO2NvbG9yOiNmZmY7cGFkZGluZzoycHggMTBweDtwb3NpdGlvbjphYnNvbHV0ZTt0b3A6MTAwJTtib3R0b206YXV0bztyaWdodDphdXRvOy1tb3otYm9yZGVyLXJhZGl1czowIDAgM3B4IDNweDstd2Via2l0LWJvcmRlci1yYWRpdXM6MCAwIDNweCAzcHg7Ym9yZGVyLXJhZGl1czowIDAgM3B4IDNweDtsZWZ0OjEwcHg7Zm9udC1zaXplOjEycHg7Zm9udC13ZWlnaHQ6Ym9sZDtjdXJzb3I6YXV0b31kaXYuZnMtbm90aWNlLnVwZGF0ZWQsZGl2LmZzLW5vdGljZS5zdWNjZXNzLGRpdi5mcy1ub3RpY2UucHJvbW90aW9ue2Rpc3BsYXk6YmxvY2sgIWltcG9ydGFudH0ucnRsIC5mcy1ub3RpY2UgLmZzLWNsb3Nle2Zsb2F0OmxlZnR9LmZzLXNlY3VyZS1ub3RpY2V7cG9zaXRpb246Zml4ZWQ7dG9wOjMycHg7bGVmdDoxNjBweDtyaWdodDowO2JhY2tncm91bmQ6I2ViZmRlYjtwYWRkaW5nOjEwcHggMjBweDtjb2xvcjpncmVlbjt6LWluZGV4Ojk5OTk7LW1vei1ib3gtc2hhZG93OjAgMnB4IDJweCByZ2JhKDYsMTEzLDYsMC4zKTstd2Via2l0LWJveC1zaGFkb3c6MCAycHggMnB4IHJnYmEoNiwxMTMsNiwwLjMpO2JveC1zaGFkb3c6MCAycHggMnB4IHJnYmEoNiwxMTMsNiwwLjMpO29wYWNpdHk6MC45NTtmaWx0ZXI6YWxwaGEob3BhY2l0eT05NSl9LmZzLXNlY3VyZS1ub3RpY2U6aG92ZXJ7b3BhY2l0eToxO2ZpbHRlcjphbHBoYShvcGFjaXR5PTEwMCl9LmZzLXNlY3VyZS1ub3RpY2UgYS5mcy1zZWN1cml0eS1wcm9vZntjb2xvcjpncmVlbjt0ZXh0LWRlY29yYXRpb246bm9uZX1AbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA5NjBweCl7LmZzLXNlY3VyZS1ub3RpY2V7bGVmdDozNnB4fX1AbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA2MDBweCl7LmZzLXNlY3VyZS1ub3RpY2V7ZGlzcGxheTpub25lfX1AbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA1MDBweCl7I2ZzX3Byb21vX3RhYntkaXNwbGF5Om5vbmV9fUBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6IDc4MnB4KXsuZnMtc2VjdXJlLW5vdGljZXtsZWZ0OjA7dG9wOjQ2cHg7dGV4dC1hbGlnbjpjZW50ZXJ9fXNwYW4uZnMtc3VibWVudS1pdGVtLmZzLXN1YjpiZWZvcmV7Y29udGVudDonXFwyMUIzJztwYWRkaW5nOjAgNXB4fS5ydGwgc3Bhbi5mcy1zdWJtZW51LWl0ZW0uZnMtc3ViOmJlZm9yZXtjb250ZW50OidcXDIxQjInfS5mcy1zdWJtZW51LWl0ZW0ucHJpY2luZy51cGdyYWRlLW1vZGV7Y29sb3I6Z3JlZW55ZWxsb3d9LmZzLXN1Ym1lbnUtaXRlbS5wcmljaW5nLnRyaWFsLW1vZGV7Y29sb3I6IzgzZTJmZn0jYWRtaW5tZW51IC51cGRhdGUtcGx1Z2lucy5mcy10cmlhbHtiYWNrZ3JvdW5kLWNvbG9yOiMwMGI5ZWJ9LmZzLWFqYXgtc3Bpbm5lcntib3JkZXI6MDt3aWR0aDoyMHB4O2hlaWdodDoyMHB4O21hcmdpbi1yaWdodDo1cHg7dmVydGljYWwtYWxpZ246c3ViO2Rpc3BsYXk6aW5saW5lLWJsb2NrO2JhY2tncm91bmQ6dXJsKFwiL3dwLWFkbWluL2ltYWdlcy93cHNwaW5fbGlnaHQtMnguZ2lmXCIpO2JhY2tncm91bmQtc2l6ZTpjb250YWlufS53cmFwLmZzLXNlY3Rpb24gaDJ7dGV4dC1hbGlnbjpsZWZ0fVxuIl19 */
|
freemius/assets/scss/admin/common.scss
CHANGED
@@ -207,7 +207,7 @@ span.fs-submenu-item.fs-sub:before
|
|
207 |
margin-right: 5px;
|
208 |
vertical-align: sub;
|
209 |
display: inline-block;
|
210 |
-
background: url
|
211 |
background-size: contain;
|
212 |
}
|
213 |
|
207 |
margin-right: 5px;
|
208 |
vertical-align: sub;
|
209 |
display: inline-block;
|
210 |
+
background: url('/wp-admin/images/wpspin_light-2x.gif');
|
211 |
background-size: contain;
|
212 |
}
|
213 |
|
freemius/includes/class-freemius.php
CHANGED
@@ -1348,7 +1348,10 @@
|
|
1348 |
add_action( 'make_ham_blog', array( &$this, '_after_site_reactivated_callback' ) );
|
1349 |
}
|
1350 |
|
1351 |
-
if ( $this->is_theme() &&
|
|
|
|
|
|
|
1352 |
// Register customizer upsell.
|
1353 |
add_action( 'customize_register', array( &$this, '_customizer_register' ) );
|
1354 |
}
|
@@ -1488,13 +1491,6 @@
|
|
1488 |
array( &$this, '_submit_uninstall_reason_action' )
|
1489 |
);
|
1490 |
|
1491 |
-
if ( $this->is_theme() && $this->is_premium() && ! $this->has_active_valid_license() ) {
|
1492 |
-
$this->add_ajax_action(
|
1493 |
-
'delete_theme_update_data',
|
1494 |
-
array( &$this, '_delete_theme_update_data_action' )
|
1495 |
-
);
|
1496 |
-
}
|
1497 |
-
|
1498 |
if ( ! $this->is_addon() || $this->is_parent_plugin_installed() ) {
|
1499 |
if ( ( $this->is_plugin() && self::is_plugins_page() ) ||
|
1500 |
( $this->is_theme() && self::is_themes_page() )
|
@@ -3961,6 +3957,13 @@
|
|
3961 |
|
3962 |
$this->parse_settings( $plugin_info );
|
3963 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3964 |
if ( ! self::is_ajax() ) {
|
3965 |
if ( ! $this->is_addon() || $this->is_only_premium() ) {
|
3966 |
add_action(
|
@@ -6192,19 +6195,21 @@
|
|
6192 |
}
|
6193 |
|
6194 |
if ( $this->is_plugin_new_install() || $this->is_only_premium() ) {
|
6195 |
-
|
6196 |
-
|
6197 |
-
|
6198 |
-
|
6199 |
-
|
6200 |
-
|
6201 |
-
|
6202 |
-
|
6203 |
-
|
6204 |
-
|
6205 |
-
|
6206 |
-
|
6207 |
-
|
|
|
|
|
6208 |
} else {
|
6209 |
if ( $this->should_add_sticky_optin_notice() ) {
|
6210 |
$this->add_sticky_optin_admin_notice();
|
@@ -14756,13 +14761,15 @@
|
|
14756 |
private function add_submenu_items() {
|
14757 |
$this->_logger->entrance();
|
14758 |
|
|
|
|
|
14759 |
if ( $this->is_addon() ) {
|
14760 |
// No submenu items for add-ons.
|
14761 |
$add_submenu_items = false;
|
14762 |
} else if ( $this->is_free_wp_org_theme() && ! fs_is_network_admin() ) {
|
14763 |
// Also add submenu items when running in a free .org theme so the tabs will be visible.
|
14764 |
$add_submenu_items = true;
|
14765 |
-
} else if ( $
|
14766 |
$add_submenu_items = false;
|
14767 |
} else if ( fs_is_network_admin() ) {
|
14768 |
/**
|
@@ -14793,7 +14800,15 @@
|
|
14793 |
$this->is_submenu_item_visible( 'affiliation' )
|
14794 |
);
|
14795 |
}
|
|
|
14796 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14797 |
if ( ! WP_FS__DEMO_MODE && $this->is_registered() ) {
|
14798 |
$show_account = (
|
14799 |
$this->is_submenu_item_visible( 'account' ) &&
|
@@ -14812,10 +14827,12 @@
|
|
14812 |
'account',
|
14813 |
array( &$this, '_account_page_load' ),
|
14814 |
WP_FS__DEFAULT_PRIORITY,
|
14815 |
-
$show_account
|
14816 |
);
|
14817 |
}
|
|
|
14818 |
|
|
|
14819 |
// Add contact page.
|
14820 |
$this->add_submenu_item(
|
14821 |
$this->get_text_inline( 'Contact Us', 'contact-us' ),
|
@@ -14840,7 +14857,11 @@
|
|
14840 |
$this->is_submenu_item_visible( 'addons' )
|
14841 |
);
|
14842 |
}
|
|
|
14843 |
|
|
|
|
|
|
|
14844 |
if ( ! WP_FS__DEMO_MODE ) {
|
14845 |
$show_pricing = (
|
14846 |
$this->is_submenu_item_visible( 'pricing' ) &&
|
@@ -14862,14 +14883,14 @@
|
|
14862 |
|
14863 |
// Add upgrade/pricing page.
|
14864 |
$this->add_submenu_item(
|
14865 |
-
$pricing_cta_text . ' ' . ( is_rtl() ? '←
|
14866 |
array( &$this, '_pricing_page_render' ),
|
14867 |
$this->get_plugin_name() . ' – ' . $this->get_text_x_inline( 'Pricing', 'noun', 'pricing' ),
|
14868 |
'manage_options',
|
14869 |
'pricing',
|
14870 |
'Freemius::_clean_admin_content_section',
|
14871 |
WP_FS__LOWEST_PRIORITY,
|
14872 |
-
$show_pricing
|
14873 |
$pricing_class
|
14874 |
);
|
14875 |
}
|
@@ -15937,7 +15958,7 @@
|
|
15937 |
/**
|
15938 |
* @since 1.2.3 When running in DEV mode, retrieve pending plans as well.
|
15939 |
*/
|
15940 |
-
$result = $api->get( "/plugins/{$this->_module_id}/plans.json
|
15941 |
|
15942 |
if ( $this->is_api_result_object( $result, 'plans' ) && is_array( $result->plans ) ) {
|
15943 |
for ( $i = 0, $len = count( $result->plans ); $i < $len; $i ++ ) {
|
@@ -16405,7 +16426,7 @@
|
|
16405 |
$this->_update_licenses( $licenses, $addon->id );
|
16406 |
|
16407 |
if ( ! $this->is_addon_installed( $addon->id ) && FS_License_Manager::has_premium_license( $licenses ) ) {
|
16408 |
-
$plans_result = $this->get_api_site_or_plugin_scope()->get( "/addons/{$addon_id}/plans.json" );
|
16409 |
|
16410 |
if ( ! isset( $plans_result->error ) ) {
|
16411 |
$plans = array();
|
@@ -16733,6 +16754,7 @@
|
|
16733 |
'trial_promotion',
|
16734 |
'trial_expired',
|
16735 |
'activation_complete',
|
|
|
16736 |
) );
|
16737 |
break;
|
16738 |
case 'changed':
|
@@ -17570,19 +17592,21 @@
|
|
17570 |
|
17571 |
$api = $this->get_api_site_or_plugin_scope();
|
17572 |
|
|
|
|
|
17573 |
/**
|
17574 |
* @since 1.2.1
|
17575 |
*
|
17576 |
* If there's a cached version of the add-ons and not asking
|
17577 |
* for a flush, just use the currently stored add-ons.
|
17578 |
*/
|
17579 |
-
if ( ! $flush && $api->is_cached(
|
17580 |
$addons = self::get_all_addons();
|
17581 |
|
17582 |
return $addons[ $this->_plugin->id ];
|
17583 |
}
|
17584 |
|
17585 |
-
$result = $api->get(
|
17586 |
|
17587 |
$addons = array();
|
17588 |
if ( $this->is_api_result_object( $result, 'plugins' ) &&
|
@@ -18398,9 +18422,9 @@
|
|
18398 |
$vars = array( 'id' => $this->_module_id );
|
18399 |
|
18400 |
if ( 'true' === fs_request_get( 'checkout', false ) ) {
|
18401 |
-
|
18402 |
} else {
|
18403 |
-
|
18404 |
}
|
18405 |
}
|
18406 |
|
@@ -18515,7 +18539,9 @@
|
|
18515 |
* @return FS_Api
|
18516 |
*/
|
18517 |
private function get_current_or_network_user_api_scope( $flush = false ) {
|
18518 |
-
if ( ! $this->_is_network_active ||
|
|
|
|
|
18519 |
return $this->get_api_user_scope( $flush );
|
18520 |
}
|
18521 |
|
@@ -18603,9 +18629,19 @@
|
|
18603 |
* @author Vova Feldman (@svovaf)
|
18604 |
* @since 1.0.9
|
18605 |
*
|
18606 |
-
* @param $plans
|
18607 |
*/
|
18608 |
function _check_for_trial_plans( $plans ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18609 |
$this->_storage->has_trial_plan = FS_Plan_Manager::instance()->has_trial_plan( $plans );
|
18610 |
}
|
18611 |
|
@@ -19344,14 +19380,16 @@
|
|
19344 |
* @param array $request
|
19345 |
* @param int $success_cache_expiration
|
19346 |
* @param int $failure_cache_expiration
|
|
|
19347 |
*
|
19348 |
* @return WP_Error|array
|
19349 |
*/
|
19350 |
-
|
19351 |
&$url,
|
19352 |
$request,
|
19353 |
$success_cache_expiration = 0,
|
19354 |
-
$failure_cache_expiration = 0
|
|
|
19355 |
) {
|
19356 |
$should_cache = ($success_cache_expiration + $failure_cache_expiration > 0);
|
19357 |
|
@@ -19362,7 +19400,9 @@
|
|
19362 |
false;
|
19363 |
|
19364 |
if ( false === $response ) {
|
19365 |
-
|
|
|
|
|
19366 |
|
19367 |
$response = wp_remote_post( $url, $request );
|
19368 |
|
@@ -20117,6 +20157,10 @@
|
|
20117 |
$icon_found = false;
|
20118 |
$local_path = fs_normalize_path( "{$img_dir}/{$this->_slug}.png" );
|
20119 |
|
|
|
|
|
|
|
|
|
20120 |
$have_write_permissions = ( 'direct' === get_filesystem_method( array(), fs_normalize_path( $img_dir ) ) );
|
20121 |
|
20122 |
/**
|
@@ -20633,9 +20677,7 @@
|
|
20633 |
* @since 2.1.0
|
20634 |
*/
|
20635 |
function _maybe_add_gdpr_optin_ajax_handler() {
|
20636 |
-
|
20637 |
-
$this->add_ajax_action( 'fetch_is_marketing_required_flag_value', array( &$this, '_fetch_is_marketing_required_flag_value_ajax_action' ) );
|
20638 |
-
}
|
20639 |
|
20640 |
if ( FS_GDPR_Manager::instance()->is_opt_in_notice_shown() ) {
|
20641 |
$this->add_gdpr_optin_ajax_handler_and_style();
|
@@ -20819,4 +20861,28 @@
|
|
20819 |
}
|
20820 |
|
20821 |
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20822 |
}
|
1348 |
add_action( 'make_ham_blog', array( &$this, '_after_site_reactivated_callback' ) );
|
1349 |
}
|
1350 |
|
1351 |
+
if ( $this->is_theme() &&
|
1352 |
+
self::is_customizer() &&
|
1353 |
+
$this->apply_filters( 'show_customizer_upsell', true )
|
1354 |
+
) {
|
1355 |
// Register customizer upsell.
|
1356 |
add_action( 'customize_register', array( &$this, '_customizer_register' ) );
|
1357 |
}
|
1491 |
array( &$this, '_submit_uninstall_reason_action' )
|
1492 |
);
|
1493 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1494 |
if ( ! $this->is_addon() || $this->is_parent_plugin_installed() ) {
|
1495 |
if ( ( $this->is_plugin() && self::is_plugins_page() ) ||
|
1496 |
( $this->is_theme() && self::is_themes_page() )
|
3957 |
|
3958 |
$this->parse_settings( $plugin_info );
|
3959 |
|
3960 |
+
if ( is_admin() && $this->is_theme() && $this->is_premium() && ! $this->has_active_valid_license() ) {
|
3961 |
+
$this->add_ajax_action(
|
3962 |
+
'delete_theme_update_data',
|
3963 |
+
array( &$this, '_delete_theme_update_data_action' )
|
3964 |
+
);
|
3965 |
+
}
|
3966 |
+
|
3967 |
if ( ! self::is_ajax() ) {
|
3968 |
if ( ! $this->is_addon() || $this->is_only_premium() ) {
|
3969 |
add_action(
|
6195 |
}
|
6196 |
|
6197 |
if ( $this->is_plugin_new_install() || $this->is_only_premium() ) {
|
6198 |
+
if ( ! $this->_anonymous_mode ) {
|
6199 |
+
// Show notice for new plugin installations.
|
6200 |
+
$this->_admin_notices->add(
|
6201 |
+
sprintf(
|
6202 |
+
$this->get_text_inline( 'You are just one step away - %s', 'you-are-step-away' ),
|
6203 |
+
sprintf( '<b><a href="%s">%s</a></b>',
|
6204 |
+
$this->get_activation_url( array(), ! $this->is_delegated_connection() ),
|
6205 |
+
sprintf( $this->get_text_x_inline( 'Complete "%s" Activation Now',
|
6206 |
+
'%s - plugin name. As complete "PluginX" activation now', 'activate-x-now' ), $this->get_plugin_name() )
|
6207 |
+
)
|
6208 |
+
),
|
6209 |
+
'',
|
6210 |
+
'update-nag'
|
6211 |
+
);
|
6212 |
+
}
|
6213 |
} else {
|
6214 |
if ( $this->should_add_sticky_optin_notice() ) {
|
6215 |
$this->add_sticky_optin_admin_notice();
|
14761 |
private function add_submenu_items() {
|
14762 |
$this->_logger->entrance();
|
14763 |
|
14764 |
+
$is_activation_mode = $this->is_activation_mode();
|
14765 |
+
|
14766 |
if ( $this->is_addon() ) {
|
14767 |
// No submenu items for add-ons.
|
14768 |
$add_submenu_items = false;
|
14769 |
} else if ( $this->is_free_wp_org_theme() && ! fs_is_network_admin() ) {
|
14770 |
// Also add submenu items when running in a free .org theme so the tabs will be visible.
|
14771 |
$add_submenu_items = true;
|
14772 |
+
} else if ( $is_activation_mode && ! $this->is_free_wp_org_theme() ) {
|
14773 |
$add_submenu_items = false;
|
14774 |
} else if ( fs_is_network_admin() ) {
|
14775 |
/**
|
14800 |
$this->is_submenu_item_visible( 'affiliation' )
|
14801 |
);
|
14802 |
}
|
14803 |
+
}
|
14804 |
|
14805 |
+
if ( $add_submenu_items ||
|
14806 |
+
( $is_activation_mode &&
|
14807 |
+
$this->is_only_premium() &&
|
14808 |
+
$this->is_admin_page( 'account' ) &&
|
14809 |
+
fs_request_is_action( $this->get_unique_affix() . '_sync_license' )
|
14810 |
+
)
|
14811 |
+
) {
|
14812 |
if ( ! WP_FS__DEMO_MODE && $this->is_registered() ) {
|
14813 |
$show_account = (
|
14814 |
$this->is_submenu_item_visible( 'account' ) &&
|
14827 |
'account',
|
14828 |
array( &$this, '_account_page_load' ),
|
14829 |
WP_FS__DEFAULT_PRIORITY,
|
14830 |
+
( $add_submenu_items && $show_account )
|
14831 |
);
|
14832 |
}
|
14833 |
+
}
|
14834 |
|
14835 |
+
if ( $add_submenu_items ) {
|
14836 |
// Add contact page.
|
14837 |
$this->add_submenu_item(
|
14838 |
$this->get_text_inline( 'Contact Us', 'contact-us' ),
|
14857 |
$this->is_submenu_item_visible( 'addons' )
|
14858 |
);
|
14859 |
}
|
14860 |
+
}
|
14861 |
|
14862 |
+
if ( $add_submenu_items ||
|
14863 |
+
( $is_activation_mode && $this->is_only_premium() && $this->is_admin_page( 'pricing' ) )
|
14864 |
+
) {
|
14865 |
if ( ! WP_FS__DEMO_MODE ) {
|
14866 |
$show_pricing = (
|
14867 |
$this->is_submenu_item_visible( 'pricing' ) &&
|
14883 |
|
14884 |
// Add upgrade/pricing page.
|
14885 |
$this->add_submenu_item(
|
14886 |
+
$pricing_cta_text . ' ' . ( is_rtl() ? $this->get_text_x_inline( '←', 'ASCII arrow left icon', 'symbol_arrow-left' ) : $this->get_text_x_inline( '➤', 'ASCII arrow right icon', 'symbol_arrow-right' ) ),
|
14887 |
array( &$this, '_pricing_page_render' ),
|
14888 |
$this->get_plugin_name() . ' – ' . $this->get_text_x_inline( 'Pricing', 'noun', 'pricing' ),
|
14889 |
'manage_options',
|
14890 |
'pricing',
|
14891 |
'Freemius::_clean_admin_content_section',
|
14892 |
WP_FS__LOWEST_PRIORITY,
|
14893 |
+
( $add_submenu_items && $show_pricing ),
|
14894 |
$pricing_class
|
14895 |
);
|
14896 |
}
|
15958 |
/**
|
15959 |
* @since 1.2.3 When running in DEV mode, retrieve pending plans as well.
|
15960 |
*/
|
15961 |
+
$result = $api->get( $this->add_show_pending( "/plugins/{$this->_module_id}/plans.json" ), true );
|
15962 |
|
15963 |
if ( $this->is_api_result_object( $result, 'plans' ) && is_array( $result->plans ) ) {
|
15964 |
for ( $i = 0, $len = count( $result->plans ); $i < $len; $i ++ ) {
|
16426 |
$this->_update_licenses( $licenses, $addon->id );
|
16427 |
|
16428 |
if ( ! $this->is_addon_installed( $addon->id ) && FS_License_Manager::has_premium_license( $licenses ) ) {
|
16429 |
+
$plans_result = $this->get_api_site_or_plugin_scope()->get( $this->add_show_pending( "/addons/{$addon_id}/plans.json" ) );
|
16430 |
|
16431 |
if ( ! isset( $plans_result->error ) ) {
|
16432 |
$plans = array();
|
16754 |
'trial_promotion',
|
16755 |
'trial_expired',
|
16756 |
'activation_complete',
|
16757 |
+
'license_expired',
|
16758 |
) );
|
16759 |
break;
|
16760 |
case 'changed':
|
17592 |
|
17593 |
$api = $this->get_api_site_or_plugin_scope();
|
17594 |
|
17595 |
+
$path = $this->add_show_pending( '/addons.json?enriched=true' );
|
17596 |
+
|
17597 |
/**
|
17598 |
* @since 1.2.1
|
17599 |
*
|
17600 |
* If there's a cached version of the add-ons and not asking
|
17601 |
* for a flush, just use the currently stored add-ons.
|
17602 |
*/
|
17603 |
+
if ( ! $flush && $api->is_cached( $path ) ) {
|
17604 |
$addons = self::get_all_addons();
|
17605 |
|
17606 |
return $addons[ $this->_plugin->id ];
|
17607 |
}
|
17608 |
|
17609 |
+
$result = $api->get( $path, $flush );
|
17610 |
|
17611 |
$addons = array();
|
17612 |
if ( $this->is_api_result_object( $result, 'plugins' ) &&
|
18422 |
$vars = array( 'id' => $this->_module_id );
|
18423 |
|
18424 |
if ( 'true' === fs_request_get( 'checkout', false ) ) {
|
18425 |
+
echo $this->apply_filters( 'templates/checkout.php', fs_get_template( 'checkout.php', $vars ) );
|
18426 |
} else {
|
18427 |
+
echo $this->apply_filters( 'templates/pricing.php', fs_get_template( 'pricing.php', $vars ) );
|
18428 |
}
|
18429 |
}
|
18430 |
|
18539 |
* @return FS_Api
|
18540 |
*/
|
18541 |
private function get_current_or_network_user_api_scope( $flush = false ) {
|
18542 |
+
if ( ! $this->_is_network_active ||
|
18543 |
+
( isset( $this->_user ) && $this->_user instanceof FS_User )
|
18544 |
+
) {
|
18545 |
return $this->get_api_user_scope( $flush );
|
18546 |
}
|
18547 |
|
18629 |
* @author Vova Feldman (@svovaf)
|
18630 |
* @since 1.0.9
|
18631 |
*
|
18632 |
+
* @param FS_Plugin_Plan[] $plans
|
18633 |
*/
|
18634 |
function _check_for_trial_plans( $plans ) {
|
18635 |
+
/**
|
18636 |
+
* For some reason core's do_action() flattens arrays when it has a single object item. Therefore, we need to restructure the array as expected.
|
18637 |
+
*
|
18638 |
+
* @author Vova Feldman (@svovaf)
|
18639 |
+
* @since 2.1.2
|
18640 |
+
*/
|
18641 |
+
if ( ! is_array( $plans ) && is_object( $plans ) ) {
|
18642 |
+
$plans = array( $plans );
|
18643 |
+
}
|
18644 |
+
|
18645 |
$this->_storage->has_trial_plan = FS_Plan_Manager::instance()->has_trial_plan( $plans );
|
18646 |
}
|
18647 |
|
19380 |
* @param array $request
|
19381 |
* @param int $success_cache_expiration
|
19382 |
* @param int $failure_cache_expiration
|
19383 |
+
* @param bool $maybe_enrich_request_for_debug
|
19384 |
*
|
19385 |
* @return WP_Error|array
|
19386 |
*/
|
19387 |
+
static function safe_remote_post(
|
19388 |
&$url,
|
19389 |
$request,
|
19390 |
$success_cache_expiration = 0,
|
19391 |
+
$failure_cache_expiration = 0,
|
19392 |
+
$maybe_enrich_request_for_debug = true
|
19393 |
) {
|
19394 |
$should_cache = ($success_cache_expiration + $failure_cache_expiration > 0);
|
19395 |
|
19400 |
false;
|
19401 |
|
19402 |
if ( false === $response ) {
|
19403 |
+
if ( $maybe_enrich_request_for_debug ) {
|
19404 |
+
self::enrich_request_for_debug( $url, $request );
|
19405 |
+
}
|
19406 |
|
19407 |
$response = wp_remote_post( $url, $request );
|
19408 |
|
20157 |
$icon_found = false;
|
20158 |
$local_path = fs_normalize_path( "{$img_dir}/{$this->_slug}.png" );
|
20159 |
|
20160 |
+
if ( ! function_exists( 'get_filesystem_method' ) ) {
|
20161 |
+
require_once ABSPATH . 'wp-admin/includes/file.php';
|
20162 |
+
}
|
20163 |
+
|
20164 |
$have_write_permissions = ( 'direct' === get_filesystem_method( array(), fs_normalize_path( $img_dir ) ) );
|
20165 |
|
20166 |
/**
|
20677 |
* @since 2.1.0
|
20678 |
*/
|
20679 |
function _maybe_add_gdpr_optin_ajax_handler() {
|
20680 |
+
$this->add_ajax_action( 'fetch_is_marketing_required_flag_value', array( &$this, '_fetch_is_marketing_required_flag_value_ajax_action' ) );
|
|
|
|
|
20681 |
|
20682 |
if ( FS_GDPR_Manager::instance()->is_opt_in_notice_shown() ) {
|
20683 |
$this->add_gdpr_optin_ajax_handler_and_style();
|
20861 |
}
|
20862 |
|
20863 |
#endregion
|
20864 |
+
|
20865 |
+
#----------------------------------------------------------------------------------
|
20866 |
+
#region Helper
|
20867 |
+
#----------------------------------------------------------------------------------
|
20868 |
+
|
20869 |
+
/**
|
20870 |
+
* If running with a secret key, assume it's the developer and show pending plans as well.
|
20871 |
+
*
|
20872 |
+
* @author Vova Feldman (@svovaf)
|
20873 |
+
* @since 2.1.2
|
20874 |
+
*
|
20875 |
+
* @param string $path
|
20876 |
+
*
|
20877 |
+
* @return string
|
20878 |
+
*/
|
20879 |
+
function add_show_pending( $path ) {
|
20880 |
+
if ( ! $this->has_secret_key() ) {
|
20881 |
+
return $path;
|
20882 |
+
}
|
20883 |
+
|
20884 |
+
return $path . ( false !== strpos( $path, '?' ) ? '&' : '?' ) . 'show_pending=true';
|
20885 |
+
}
|
20886 |
+
|
20887 |
+
#endregion
|
20888 |
}
|
freemius/includes/class-fs-plugin-updater.php
CHANGED
@@ -29,6 +29,11 @@
|
|
29 |
* @since 1.1.8.1
|
30 |
*/
|
31 |
private $_update_details;
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
#--------------------------------------------------------------------------------
|
34 |
#region Singleton
|
@@ -324,6 +329,46 @@
|
|
324 |
(array) $this->_update_details;
|
325 |
}
|
326 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
327 |
return $transient_data;
|
328 |
}
|
329 |
|
@@ -508,6 +553,138 @@
|
|
508 |
return $res;
|
509 |
}
|
510 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
511 |
/**
|
512 |
* Updates information on the "View version x.x details" page with custom data.
|
513 |
*
|
29 |
* @since 1.1.8.1
|
30 |
*/
|
31 |
private $_update_details;
|
32 |
+
/**
|
33 |
+
* @var array
|
34 |
+
* @since 2.1.2
|
35 |
+
*/
|
36 |
+
private $_translation_updates;
|
37 |
|
38 |
#--------------------------------------------------------------------------------
|
39 |
#region Singleton
|
329 |
(array) $this->_update_details;
|
330 |
}
|
331 |
|
332 |
+
$slug = $this->_fs->get_slug();
|
333 |
+
|
334 |
+
if ( $this->_fs->is_org_repo_compliant() && $this->_fs->is_freemium() ) {
|
335 |
+
if ( ! isset( $this->_translation_updates ) ) {
|
336 |
+
$this->_translation_updates = array();
|
337 |
+
|
338 |
+
if ( current_user_can( 'update_languages' ) ) {
|
339 |
+
$translation_updates = $this->fetch_wp_org_module_translation_updates( $module_type, $slug );
|
340 |
+
if ( ! empty( $translation_updates ) ) {
|
341 |
+
$this->_translation_updates = $translation_updates;
|
342 |
+
}
|
343 |
+
}
|
344 |
+
}
|
345 |
+
|
346 |
+
if ( ! empty( $this->_translation_updates ) ) {
|
347 |
+
$all_translation_updates = ( isset( $transient_data->translations ) && is_array( $transient_data->translations ) ) ?
|
348 |
+
$transient_data->translations :
|
349 |
+
array();
|
350 |
+
|
351 |
+
$current_plugin_translation_updates_map = array();
|
352 |
+
foreach ( $all_translation_updates as $key => $translation_update ) {
|
353 |
+
if ( $module_type === ( $translation_update['type'] . 's' ) && $slug === $translation_update['slug'] ) {
|
354 |
+
$current_plugin_translation_updates_map[ $translation_update['language'] ] = $translation_update;
|
355 |
+
unset( $all_translation_updates[ $key ] );
|
356 |
+
}
|
357 |
+
}
|
358 |
+
|
359 |
+
foreach ( $this->_translation_updates as $translation_update ) {
|
360 |
+
$lang = $translation_update['language'];
|
361 |
+
if ( ! isset( $current_plugin_translation_updates_map[ $lang ] ) ||
|
362 |
+
version_compare( $translation_update['version'], $current_plugin_translation_updates_map[ $lang ]['version'], '>' )
|
363 |
+
) {
|
364 |
+
$current_plugin_translation_updates_map[ $lang ] = $translation_update;
|
365 |
+
}
|
366 |
+
}
|
367 |
+
|
368 |
+
$transient_data->translations = array_merge( $all_translation_updates, array_values( $current_plugin_translation_updates_map ) );
|
369 |
+
}
|
370 |
+
}
|
371 |
+
|
372 |
return $transient_data;
|
373 |
}
|
374 |
|
553 |
return $res;
|
554 |
}
|
555 |
|
556 |
+
/**
|
557 |
+
* Fetches module translation updates from wordpress.org.
|
558 |
+
*
|
559 |
+
* @author Leo Fajardo (@leorw)
|
560 |
+
* @since 2.1.2
|
561 |
+
*
|
562 |
+
* @param string $module_type
|
563 |
+
* @param string $slug
|
564 |
+
*
|
565 |
+
* @return array|null
|
566 |
+
*/
|
567 |
+
private function fetch_wp_org_module_translation_updates( $module_type, $slug ) {
|
568 |
+
$plugin_data = $this->_fs->get_plugin_data();
|
569 |
+
|
570 |
+
$locales = array_values( get_available_languages() );
|
571 |
+
$locales = apply_filters( "{$module_type}_update_check_locales", $locales );
|
572 |
+
$locales = array_unique( $locales );
|
573 |
+
|
574 |
+
$plugin_basename = $this->_fs->get_plugin_basename();
|
575 |
+
if ( 'themes' === $module_type ) {
|
576 |
+
$plugin_basename = str_replace( '-premium', '', $plugin_basename );
|
577 |
+
}
|
578 |
+
|
579 |
+
global $wp_version;
|
580 |
+
|
581 |
+
$request_args = array(
|
582 |
+
'timeout' => 15,
|
583 |
+
'body' => array(
|
584 |
+
"{$module_type}" => json_encode(
|
585 |
+
array(
|
586 |
+
"{$module_type}" => array(
|
587 |
+
$plugin_basename => array(
|
588 |
+
'Name' => trim( str_replace( '(Premium)', '', $plugin_data['Name'] ) ),
|
589 |
+
'Author' => $plugin_data['Author'],
|
590 |
+
)
|
591 |
+
)
|
592 |
+
)
|
593 |
+
),
|
594 |
+
'translations' => json_encode( $this->get_installed_translations( $module_type, $slug ) ),
|
595 |
+
'locale' => json_encode( $locales )
|
596 |
+
),
|
597 |
+
'user-agent' => ( 'WordPress/' . $wp_version . '; ' . home_url( '/' ) )
|
598 |
+
);
|
599 |
+
|
600 |
+
$url = "http://api.wordpress.org/{$module_type}/update-check/1.1/";
|
601 |
+
if ( $ssl = wp_http_supports( array( 'ssl' ) ) ) {
|
602 |
+
$url = set_url_scheme( $url, 'https' );
|
603 |
+
}
|
604 |
+
|
605 |
+
$raw_response = Freemius::safe_remote_post(
|
606 |
+
$url,
|
607 |
+
$request_args,
|
608 |
+
WP_FS__TIME_24_HOURS_IN_SEC,
|
609 |
+
WP_FS__TIME_12_HOURS_IN_SEC,
|
610 |
+
false
|
611 |
+
);
|
612 |
+
|
613 |
+
if ( is_wp_error( $raw_response ) ) {
|
614 |
+
return null;
|
615 |
+
}
|
616 |
+
|
617 |
+
$response = json_decode( wp_remote_retrieve_body( $raw_response ), true );
|
618 |
+
|
619 |
+
if ( ! is_array( $response ) ) {
|
620 |
+
return null;
|
621 |
+
}
|
622 |
+
|
623 |
+
if ( ! isset( $response['translations'] ) || empty( $response['translations'] ) ) {
|
624 |
+
return null;
|
625 |
+
}
|
626 |
+
|
627 |
+
return $response['translations'];
|
628 |
+
}
|
629 |
+
|
630 |
+
/**
|
631 |
+
* @author Leo Fajardo (@leorw)
|
632 |
+
* @since 2.1.2
|
633 |
+
*
|
634 |
+
* @param string $module_type
|
635 |
+
* @param string $slug
|
636 |
+
*
|
637 |
+
* @return array
|
638 |
+
*/
|
639 |
+
private function get_installed_translations( $module_type, $slug ) {
|
640 |
+
if ( function_exists( 'wp_get_installed_translations' ) ) {
|
641 |
+
return wp_get_installed_translations( $module_type );
|
642 |
+
}
|
643 |
+
|
644 |
+
$dir = "/{$module_type}";
|
645 |
+
|
646 |
+
if ( ! is_dir( WP_LANG_DIR . $dir ) )
|
647 |
+
return array();
|
648 |
+
|
649 |
+
$files = scandir( WP_LANG_DIR . $dir );
|
650 |
+
if ( ! $files )
|
651 |
+
return array();
|
652 |
+
|
653 |
+
$language_data = array();
|
654 |
+
|
655 |
+
foreach ( $files as $file ) {
|
656 |
+
if ( 0 !== strpos( $file, $slug ) ) {
|
657 |
+
continue;
|
658 |
+
}
|
659 |
+
|
660 |
+
if ( '.' === $file[0] || is_dir( WP_LANG_DIR . "{$dir}/{$file}" ) ) {
|
661 |
+
continue;
|
662 |
+
}
|
663 |
+
|
664 |
+
if ( substr( $file, -3 ) !== '.po' ) {
|
665 |
+
continue;
|
666 |
+
}
|
667 |
+
|
668 |
+
if ( ! preg_match( '/(?:(.+)-)?([a-z]{2,3}(?:_[A-Z]{2})?(?:_[a-z0-9]+)?).po/', $file, $match ) ) {
|
669 |
+
continue;
|
670 |
+
}
|
671 |
+
|
672 |
+
if ( ! in_array( substr( $file, 0, -3 ) . '.mo', $files ) ) {
|
673 |
+
continue;
|
674 |
+
}
|
675 |
+
|
676 |
+
list( , $textdomain, $language ) = $match;
|
677 |
+
|
678 |
+
if ( '' === $textdomain ) {
|
679 |
+
$textdomain = 'default';
|
680 |
+
}
|
681 |
+
|
682 |
+
$language_data[ $textdomain ][ $language ] = wp_get_pomo_file_data( WP_LANG_DIR . "{$dir}/{$file}" );
|
683 |
+
}
|
684 |
+
|
685 |
+
return $language_data;
|
686 |
+
}
|
687 |
+
|
688 |
/**
|
689 |
* Updates information on the "View version x.x details" page with custom data.
|
690 |
*
|
freemius/includes/customizer/class-fs-customizer-upsell-control.php
CHANGED
@@ -59,7 +59,7 @@
|
|
59 |
$this->fs->get_upgrade_url();
|
60 |
|
61 |
// Load features.
|
62 |
-
$pricing = $this->fs->get_api_plugin_scope()->get(
|
63 |
|
64 |
if ( $this->fs->is_api_result_object( $pricing, 'plans' ) ) {
|
65 |
// Add support features.
|
59 |
$this->fs->get_upgrade_url();
|
60 |
|
61 |
// Load features.
|
62 |
+
$pricing = $this->fs->get_api_plugin_scope()->get( $this->fs->add_show_pending( "pricing.json" ) );
|
63 |
|
64 |
if ( $this->fs->is_api_result_object( $pricing, 'plans' ) ) {
|
65 |
// Add support features.
|
freemius/includes/fs-plugin-info-dialog.php
CHANGED
@@ -101,7 +101,7 @@
|
|
101 |
$has_features = false;
|
102 |
$plans = false;
|
103 |
|
104 |
-
$result = $this->_fs->get_api_plugin_scope()->get( "/addons/{$selected_addon->id}/pricing.json?type=visible" );
|
105 |
|
106 |
if ( ! isset( $result->error ) ) {
|
107 |
$plans = $result->plans;
|
@@ -165,6 +165,8 @@
|
|
165 |
// Plugin is missing, not on Freemius nor WP.org.
|
166 |
$data->wp_org_missing = true;
|
167 |
}
|
|
|
|
|
168 |
} else {
|
169 |
$data->wp_org_missing = false;
|
170 |
|
@@ -183,12 +185,7 @@
|
|
183 |
|
184 |
// Fetch as much as possible info from local files.
|
185 |
$plugin_local_data = $this->_fs->get_plugin_data();
|
186 |
-
$data->name = $selected_addon->title;
|
187 |
$data->author = $plugin_local_data['Author'];
|
188 |
-
$view_vars = array( 'plugin' => $selected_addon );
|
189 |
-
$data->sections = array(
|
190 |
-
'description' => fs_get_template( '/plugin-info/description.php', $view_vars ),
|
191 |
-
);
|
192 |
|
193 |
if ( ! empty( $selected_addon->info->banner_url ) ) {
|
194 |
$data->banners = array(
|
@@ -217,6 +214,12 @@
|
|
217 |
}
|
218 |
}
|
219 |
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
if ( $has_pricing ) {
|
221 |
// Add plans to data.
|
222 |
$data->plans = $plans;
|
@@ -950,7 +953,7 @@
|
|
950 |
</li>
|
951 |
<?php
|
952 |
}
|
953 |
-
if ( ! empty( $api->slug ) &&
|
954 |
?>
|
955 |
<li><a target="_blank"
|
956 |
href="https://wordpress.org/plugins/<?php echo $api->slug; ?>/"><?php fs_esc_html_echo_inline( 'WordPress.org Plugin Page', 'wp-org-plugin-page', $api->slug ) ?>
|
@@ -1094,7 +1097,7 @@
|
|
1094 |
echo "</div>\n"; // #plugin-information-scrollable
|
1095 |
echo "<div id='$tab-footer'>\n";
|
1096 |
|
1097 |
-
if ( ! empty( $api->checkout_link ) ) {
|
1098 |
echo $this->get_checkout_cta( $api );
|
1099 |
}
|
1100 |
|
101 |
$has_features = false;
|
102 |
$plans = false;
|
103 |
|
104 |
+
$result = $this->_fs->get_api_plugin_scope()->get( $this->_fs->add_show_pending( "/addons/{$selected_addon->id}/pricing.json?type=visible" ) );
|
105 |
|
106 |
if ( ! isset( $result->error ) ) {
|
107 |
$plans = $result->plans;
|
165 |
// Plugin is missing, not on Freemius nor WP.org.
|
166 |
$data->wp_org_missing = true;
|
167 |
}
|
168 |
+
|
169 |
+
$data->fs_missing = ( ! $has_free_plan || $data->wp_org_missing );
|
170 |
} else {
|
171 |
$data->wp_org_missing = false;
|
172 |
|
185 |
|
186 |
// Fetch as much as possible info from local files.
|
187 |
$plugin_local_data = $this->_fs->get_plugin_data();
|
|
|
188 |
$data->author = $plugin_local_data['Author'];
|
|
|
|
|
|
|
|
|
189 |
|
190 |
if ( ! empty( $selected_addon->info->banner_url ) ) {
|
191 |
$data->banners = array(
|
214 |
}
|
215 |
}
|
216 |
|
217 |
+
$data->name = $selected_addon->title;
|
218 |
+
$view_vars = array( 'plugin' => $selected_addon );
|
219 |
+
$data->sections = array(
|
220 |
+
'description' => fs_get_template( '/plugin-info/description.php', $view_vars ),
|
221 |
+
);
|
222 |
+
|
223 |
if ( $has_pricing ) {
|
224 |
// Add plans to data.
|
225 |
$data->plans = $plans;
|
953 |
</li>
|
954 |
<?php
|
955 |
}
|
956 |
+
if ( ! empty( $api->slug ) && true == $api->is_wp_org_compliant ) {
|
957 |
?>
|
958 |
<li><a target="_blank"
|
959 |
href="https://wordpress.org/plugins/<?php echo $api->slug; ?>/"><?php fs_esc_html_echo_inline( 'WordPress.org Plugin Page', 'wp-org-plugin-page', $api->slug ) ?>
|
1097 |
echo "</div>\n"; // #plugin-information-scrollable
|
1098 |
echo "<div id='$tab-footer'>\n";
|
1099 |
|
1100 |
+
if ( $api->has_paid_plan && ! empty( $api->checkout_link ) ) {
|
1101 |
echo $this->get_checkout_cta( $api );
|
1102 |
}
|
1103 |
|
freemius/templates/account/partials/addon.php
CHANGED
@@ -61,7 +61,7 @@
|
|
61 |
$plan = $fs_addon->get_plan();
|
62 |
$is_active_subscription = ( is_object( $subscription ) && $subscription->is_active() );
|
63 |
$is_paid_trial = $fs_addon->is_paid_trial();
|
64 |
-
$show_upgrade = ( ! $is_paying && ! $is_paid_trial && ! $fs_addon->_has_premium_license() );
|
65 |
$is_current_license_expired = is_object( $license ) && $license->is_expired();
|
66 |
}
|
67 |
?>
|
@@ -220,7 +220,7 @@
|
|
220 |
}
|
221 |
|
222 |
if ( 0 == count( $buttons ) ) {
|
223 |
-
if ( $fs_addon->is_premium() ) {
|
224 |
$fs_addon->_add_license_activation_dialog_box();
|
225 |
|
226 |
$buttons[] = fs_ui_get_action_button(
|
61 |
$plan = $fs_addon->get_plan();
|
62 |
$is_active_subscription = ( is_object( $subscription ) && $subscription->is_active() );
|
63 |
$is_paid_trial = $fs_addon->is_paid_trial();
|
64 |
+
$show_upgrade = ( $fs_addon->has_paid_plan() && ! $is_paying && ! $is_paid_trial && ! $fs_addon->_has_premium_license() );
|
65 |
$is_current_license_expired = is_object( $license ) && $license->is_expired();
|
66 |
}
|
67 |
?>
|
220 |
}
|
221 |
|
222 |
if ( 0 == count( $buttons ) ) {
|
223 |
+
if ( $show_upgrade && $fs_addon->is_premium() ) {
|
224 |
$fs_addon->_add_license_activation_dialog_box();
|
225 |
|
226 |
$buttons[] = fs_ui_get_action_button(
|
freemius/templates/add-ons.php
CHANGED
@@ -55,7 +55,7 @@
|
|
55 |
$has_free_plan = false;
|
56 |
$has_paid_plan = false;
|
57 |
|
58 |
-
$result = $fs->get_api_plugin_scope()->get( "/addons/{$addon->id}/pricing.json?type=visible" );
|
59 |
if ( ! isset( $result->error ) ) {
|
60 |
$plans = $result->plans;
|
61 |
|
@@ -89,6 +89,10 @@
|
|
89 |
|
90 |
}
|
91 |
}
|
|
|
|
|
|
|
|
|
92 |
}
|
93 |
?>
|
94 |
<li class="fs-card fs-addon" data-slug="<?php echo $addon->slug ?>">
|
55 |
$has_free_plan = false;
|
56 |
$has_paid_plan = false;
|
57 |
|
58 |
+
$result = $fs->get_api_plugin_scope()->get( $fs->add_show_pending( "/addons/{$addon->id}/pricing.json?type=visible" ) );
|
59 |
if ( ! isset( $result->error ) ) {
|
60 |
$plans = $result->plans;
|
61 |
|
89 |
|
90 |
}
|
91 |
}
|
92 |
+
|
93 |
+
if ( ! $has_paid_plan && ! $has_free_plan ) {
|
94 |
+
continue;
|
95 |
+
}
|
96 |
}
|
97 |
?>
|
98 |
<li class="fs-card fs-addon" data-slug="<?php echo $addon->slug ?>">
|
freemius/templates/checkout.php
CHANGED
@@ -121,7 +121,7 @@
|
|
121 |
|
122 |
$fs_user = Freemius::_get_user_by_email( $current_user->user_email );
|
123 |
|
124 |
-
if ( is_object( $fs_user ) ) {
|
125 |
$context_params = array_merge( $context_params, FS_Security::instance()->get_context_params(
|
126 |
$fs_user,
|
127 |
$timestamp,
|
@@ -233,7 +233,7 @@
|
|
233 |
// passed via query string or hard coded into the child page, it depends on your needs).
|
234 |
src = base_url + '/?<?php echo http_build_query( $query_params ) ?>#' + encodeURIComponent(document.location.href),
|
235 |
// Append the i-frame into the DOM.
|
236 |
-
frame = $('<i' + 'frame " src="' + src + '" width="100%" height="' + frame_height + 'px" scrolling="no" frameborder="0" style="background: transparent
|
237 |
.appendTo('#frame');
|
238 |
|
239 |
FS.PostMessage.init(base_url, [frame[0]]);
|
121 |
|
122 |
$fs_user = Freemius::_get_user_by_email( $current_user->user_email );
|
123 |
|
124 |
+
if ( is_object( $fs_user ) && $fs_user->is_verified() ) {
|
125 |
$context_params = array_merge( $context_params, FS_Security::instance()->get_context_params(
|
126 |
$fs_user,
|
127 |
$timestamp,
|
233 |
// passed via query string or hard coded into the child page, it depends on your needs).
|
234 |
src = base_url + '/?<?php echo http_build_query( $query_params ) ?>#' + encodeURIComponent(document.location.href),
|
235 |
// Append the i-frame into the DOM.
|
236 |
+
frame = $('<i' + 'frame " src="' + src + '" width="100%" height="' + frame_height + 'px" scrolling="no" frameborder="0" style="background: transparent; width: 1px; min-width: 100%;"><\/i' + 'frame>')
|
237 |
.appendTo('#frame');
|
238 |
|
239 |
FS.PostMessage.init(base_url, [frame[0]]);
|
freemius/templates/connect.php
CHANGED
@@ -718,11 +718,14 @@
|
|
718 |
// Redirect to the "Account" page and sync the license.
|
719 |
window.location.href = resultObj.next_page;
|
720 |
} else {
|
|
|
|
|
721 |
// Show error.
|
722 |
$('.fs-content').prepend('<p class="fs-error">' + (resultObj.error.message ? resultObj.error.message : resultObj.error) + '</p>');
|
723 |
-
|
724 |
-
resetLoadingMode();
|
725 |
}
|
|
|
|
|
|
|
726 |
}
|
727 |
});
|
728 |
|
718 |
// Redirect to the "Account" page and sync the license.
|
719 |
window.location.href = resultObj.next_page;
|
720 |
} else {
|
721 |
+
resetLoadingMode();
|
722 |
+
|
723 |
// Show error.
|
724 |
$('.fs-content').prepend('<p class="fs-error">' + (resultObj.error.message ? resultObj.error.message : resultObj.error) + '</p>');
|
|
|
|
|
725 |
}
|
726 |
+
},
|
727 |
+
error: function () {
|
728 |
+
resetLoadingMode();
|
729 |
}
|
730 |
});
|
731 |
|
freemius/templates/contact.php
CHANGED
@@ -98,7 +98,7 @@
|
|
98 |
src = base_url + '/contact/?<?php echo http_build_query($query_params) ?>#' + encodeURIComponent(document.location.href),
|
99 |
|
100 |
// Append the i-frame into the DOM.
|
101 |
-
frame = $('<i' + 'frame " src="' + src + '" width="100%" height="' + frame_height + 'px" scrolling="no" frameborder="0" style="background: transparent
|
102 |
.appendTo('#frame');
|
103 |
|
104 |
FS.PostMessage.init(base_url);
|
98 |
src = base_url + '/contact/?<?php echo http_build_query($query_params) ?>#' + encodeURIComponent(document.location.href),
|
99 |
|
100 |
// Append the i-frame into the DOM.
|
101 |
+
frame = $('<i' + 'frame " src="' + src + '" width="100%" height="' + frame_height + 'px" scrolling="no" frameborder="0" style="background: transparent; width: 1px; min-width: 100%;"><\/i' + 'frame>')
|
102 |
.appendTo('#frame');
|
103 |
|
104 |
FS.PostMessage.init(base_url);
|
freemius/templates/pricing.php
CHANGED
@@ -127,7 +127,7 @@
|
|
127 |
src = base_url + '/pricing/?<?php echo http_build_query( $query_params ) ?>#' + encodeURIComponent(document.location.href),
|
128 |
|
129 |
// Append the I-frame into the DOM.
|
130 |
-
frame = $('<i' + 'frame " src="' + src + '" width="100%" height="' + frame_height + 'px" scrolling="no" frameborder="0" style="background: transparent
|
131 |
.appendTo('#frame');
|
132 |
|
133 |
FS.PostMessage.init(base_url, [frame[0]]);
|
127 |
src = base_url + '/pricing/?<?php echo http_build_query( $query_params ) ?>#' + encodeURIComponent(document.location.href),
|
128 |
|
129 |
// Append the I-frame into the DOM.
|
130 |
+
frame = $('<i' + 'frame " src="' + src + '" width="100%" height="' + frame_height + 'px" scrolling="no" frameborder="0" style="background: transparent; width: 1px; min-width: 100%;"><\/i' + 'frame>')
|
131 |
.appendTo('#frame');
|
132 |
|
133 |
FS.PostMessage.init(base_url, [frame[0]]);
|
freemius/templates/tabs.php
CHANGED
@@ -26,7 +26,11 @@
|
|
26 |
foreach ( $menu_items as $priority => $items ) {
|
27 |
foreach ( $items as $item ) {
|
28 |
if ( ! $item['show_submenu'] ) {
|
29 |
-
|
|
|
|
|
|
|
|
|
30 |
continue;
|
31 |
}
|
32 |
}
|
26 |
foreach ( $menu_items as $priority => $items ) {
|
27 |
foreach ( $items as $item ) {
|
28 |
if ( ! $item['show_submenu'] ) {
|
29 |
+
$submenu_name = ('wp-support-forum' === $item['menu_slug']) ?
|
30 |
+
'support' :
|
31 |
+
$item['menu_slug'];
|
32 |
+
|
33 |
+
if ( ! $is_free_wp_org_theme || ! $fs->is_submenu_item_visible( $submenu_name, true ) ) {
|
34 |
continue;
|
35 |
}
|
36 |
}
|
includes/widgets/lsow-hero-image-widget/tpl/default.php
CHANGED
@@ -30,9 +30,9 @@ if ($background['bg_type'] == 'youtube') {
|
|
30 |
|
31 |
<source src="<?php echo wp_get_attachment_url($background['html5_videos']['mp4_file']); ?>"
|
32 |
type="video/mp4">
|
33 |
-
<source src="<?php echo wp_get_attachment_url($background['html5_videos']['webm_file']); ?>"
|
34 |
-
type="video/ogg">
|
35 |
<source src="<?php echo wp_get_attachment_url($background['html5_videos']['ogg_file']); ?>"
|
|
|
|
|
36 |
type="video/webm">
|
37 |
|
38 |
</video>
|
30 |
|
31 |
<source src="<?php echo wp_get_attachment_url($background['html5_videos']['mp4_file']); ?>"
|
32 |
type="video/mp4">
|
|
|
|
|
33 |
<source src="<?php echo wp_get_attachment_url($background['html5_videos']['ogg_file']); ?>"
|
34 |
+
type="video/ogg">
|
35 |
+
<source src="<?php echo wp_get_attachment_url($background['html5_videos']['webm_file']); ?>"
|
36 |
type="video/webm">
|
37 |
|
38 |
</video>
|
includes/widgets/lsow-odometers-widget/js/odometer.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
jQuery(function ($) {
|
2 |
|
3 |
-
$('.lsow-odometers').
|
4 |
|
5 |
$(this.element).find('.lsow-odometer .lsow-number').each(function () {
|
6 |
|
@@ -15,7 +15,7 @@ jQuery(function ($) {
|
|
15 |
|
16 |
});
|
17 |
|
18 |
-
}, { offset:
|
19 |
triggerOnce: true});
|
20 |
|
21 |
|
1 |
jQuery(function ($) {
|
2 |
|
3 |
+
$('.lsow-odometers').livemeshWaypoint(function (direction) {
|
4 |
|
5 |
$(this.element).find('.lsow-odometer .lsow-number').each(function () {
|
6 |
|
15 |
|
16 |
});
|
17 |
|
18 |
+
}, { offset: (window.innerHeight || document.documentElement.clientHeight) - 100,
|
19 |
triggerOnce: true});
|
20 |
|
21 |
|
includes/widgets/lsow-odometers-widget/js/odometer.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(function($){$(".lsow-odometers").
|
1 |
+
jQuery(function($){$(".lsow-odometers").livemeshWaypoint(function(direction){$(this.element).find(".lsow-odometer .lsow-number").each(function(){var odometer=$(this);setTimeout(function(){var data_stop=odometer.attr("data-stop");$(odometer).text(data_stop)},100)})},{offset:(window.innerHeight||document.documentElement.clientHeight)-100,triggerOnce:true})});
|
includes/widgets/lsow-piecharts-widget/js/piechart.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
jQuery(function ($) {
|
2 |
|
3 |
-
$('.lsow-piecharts').
|
4 |
|
5 |
$(this.element).find('.lsow-piechart .lsow-percentage').each(function () {
|
6 |
|
@@ -20,7 +20,7 @@ jQuery(function ($) {
|
|
20 |
|
21 |
});
|
22 |
|
23 |
-
}, { offset:
|
24 |
triggerOnce: true});
|
25 |
|
26 |
|
1 |
jQuery(function ($) {
|
2 |
|
3 |
+
$('.lsow-piecharts').livemeshWaypoint(function (direction) {
|
4 |
|
5 |
$(this.element).find('.lsow-piechart .lsow-percentage').each(function () {
|
6 |
|
20 |
|
21 |
});
|
22 |
|
23 |
+
}, { offset: (window.innerHeight || document.documentElement.clientHeight) - 100,
|
24 |
triggerOnce: true});
|
25 |
|
26 |
|
includes/widgets/lsow-piecharts-widget/js/piechart.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(function($){$(".lsow-piecharts").
|
1 |
+
jQuery(function($){$(".lsow-piecharts").livemeshWaypoint(function(direction){$(this.element).find(".lsow-piechart .lsow-percentage").each(function(){var track_color=$(this).data("track-color");var bar_color=$(this).data("bar-color");$(this).easyPieChart({animate:2e3,lineWidth:10,barColor:bar_color,trackColor:track_color,scaleColor:false,lineCap:"square",size:220})})},{offset:(window.innerHeight||document.documentElement.clientHeight)-100,triggerOnce:true})});
|
includes/widgets/lsow-stats-bar-widget/js/stats-bar.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
jQuery(function ($) {
|
2 |
|
3 |
|
4 |
-
$('.lsow-stats-bars').
|
5 |
|
6 |
$(this.element).find('.lsow-stats-bar-content').each(function () {
|
7 |
|
@@ -10,7 +10,7 @@ jQuery(function ($) {
|
|
10 |
|
11 |
});
|
12 |
|
13 |
-
}, { offset:
|
14 |
triggerOnce: true});
|
15 |
|
16 |
|
1 |
jQuery(function ($) {
|
2 |
|
3 |
|
4 |
+
$('.lsow-stats-bars').livemeshWaypoint(function (direction) {
|
5 |
|
6 |
$(this.element).find('.lsow-stats-bar-content').each(function () {
|
7 |
|
10 |
|
11 |
});
|
12 |
|
13 |
+
}, { offset: (window.innerHeight || document.documentElement.clientHeight) - 150,
|
14 |
triggerOnce: true});
|
15 |
|
16 |
|
includes/widgets/lsow-stats-bar-widget/js/stats-bar.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(function($){$(".lsow-stats-bars").
|
1 |
+
jQuery(function($){$(".lsow-stats-bars").livemeshWaypoint(function(direction){$(this.element).find(".lsow-stats-bar-content").each(function(){var dataperc=$(this).attr("data-perc");$(this).animate({width:dataperc+"%"},dataperc*20)})},{offset:(window.innerHeight||document.documentElement.clientHeight)-150,triggerOnce:true})});
|
languages/livemesh-so-widgets-en_US.mo
CHANGED
Binary file
|
languages/livemesh-so-widgets-en_US.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Events Calendar Slider\n"
|
4 |
-
"POT-Creation-Date: 2018-
|
5 |
-
"PO-Revision-Date: 2018-
|
6 |
"Last-Translator: LiveMesh\n"
|
7 |
"Language-Team: LiveMesh\n"
|
8 |
"Language: en_US\n"
|
@@ -61,12 +61,17 @@ msgstr ""
|
|
61 |
#: includes/widgets/lsow-icon-list-widget/lsow-icon-list-widget.php:89
|
62 |
#: includes/widgets/lsow-odometers-widget/lsow-odometers-widget.php:104
|
63 |
#: includes/widgets/lsow-piecharts-widget/lsow-piecharts-widget.php:54
|
64 |
-
#: includes/widgets/lsow-portfolio-widget/lsow-portfolio-widget.php:
|
65 |
#: includes/widgets/lsow-pricing-table-widget/lsow-pricing-table-widget.php:115
|
66 |
#: includes/widgets/lsow-services-widget/lsow-services-widget.php:119
|
67 |
#: includes/widgets/lsow-team-members-widget/lsow-team-members-widget.php:143
|
68 |
#: includes/widgets/lsow-testimonials-slider-widget/lsow-testimonials-slider-widget.php:64
|
69 |
#: includes/widgets/lsow-testimonials-widget/lsow-testimonials-widget.php:71
|
|
|
|
|
|
|
|
|
|
|
70 |
msgid "Settings"
|
71 |
msgstr ""
|
72 |
|
@@ -75,7 +80,7 @@ msgid "Documentation"
|
|
75 |
msgstr ""
|
76 |
|
77 |
#: admin/views/admin-banner1.php:13 admin/views/admin-banner2.php:13
|
78 |
-
#: includes/class-lsow-setup.php:
|
79 |
msgid "Livemesh SiteOrigin Widgets"
|
80 |
msgstr ""
|
81 |
|
@@ -191,7 +196,7 @@ msgid ""
|
|
191 |
"through a dedicated support forum."
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: admin/views/documentation.php:1550 admin/views/settings.php:
|
195 |
msgid "Know More"
|
196 |
msgstr ""
|
197 |
|
@@ -310,143 +315,348 @@ msgstr ""
|
|
310 |
msgid "Server setup information useful for debugging purposes."
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: admin/views/settings.php:
|
314 |
-
msgid "
|
315 |
msgstr ""
|
316 |
|
317 |
-
#:
|
318 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
319 |
msgstr ""
|
320 |
|
321 |
-
#:
|
322 |
-
|
|
|
323 |
msgstr ""
|
324 |
|
325 |
-
#:
|
326 |
-
|
|
|
|
|
327 |
msgstr ""
|
328 |
|
329 |
-
#: includes/class-lsow-setup.php:
|
330 |
msgid "Top Padding (Deprecated)"
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: includes/class-lsow-setup.php:
|
334 |
msgid ""
|
335 |
"Top Padding for the row. Deprecated - use native padding attributes above."
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: includes/class-lsow-setup.php:
|
339 |
msgid "Bottom Padding (Deprecated)"
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: includes/class-lsow-setup.php:
|
343 |
msgid ""
|
344 |
"Bottom Padding for the row. Deprecated - use native padding attributes above."
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: includes/class-lsow-setup.php:
|
348 |
msgid "Top Padding in Tablet resolution (Deprecated)"
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: includes/class-lsow-setup.php:
|
352 |
msgid ""
|
353 |
"Top Padding for the row in tablet resolutions. Deprecated - use native "
|
354 |
"padding attributes above."
|
355 |
msgstr ""
|
356 |
|
357 |
-
#: includes/class-lsow-setup.php:
|
358 |
msgid "Bottom Padding in Tablet resolution (Deprecated)"
|
359 |
msgstr ""
|
360 |
|
361 |
-
#: includes/class-lsow-setup.php:
|
362 |
msgid ""
|
363 |
"Bottom Padding for the row in tablet resolutions. Deprecated - use native "
|
364 |
"padding attributes above."
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: includes/class-lsow-setup.php:
|
368 |
msgid "Top Padding in Mobile resolution (Deprecated)"
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: includes/class-lsow-setup.php:
|
372 |
msgid ""
|
373 |
"Top Padding for the row in mobile resolutions. Deprecated - use native "
|
374 |
"padding attributes above."
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: includes/class-lsow-setup.php:
|
378 |
msgid "Bottom Padding in Mobile resolution (Deprecated)"
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: includes/class-lsow-setup.php:
|
382 |
msgid ""
|
383 |
"Bottom Padding for the row in mobile resolutions. Deprecated - use native "
|
384 |
"padding attributes above."
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: includes/class-lsow-setup.php:
|
388 |
msgid "Dark Background?"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: includes/class-lsow-setup.php:
|
392 |
msgid ""
|
393 |
"Indicate if this row has a dark background color. Dark color scheme will be "
|
394 |
"applied for all widgets in this row."
|
395 |
msgstr ""
|
396 |
|
397 |
-
#: includes/
|
398 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: includes/
|
|
|
|
|
|
|
|
|
402 |
msgid "Y"
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: includes/helper-functions.php:
|
406 |
msgid "m"
|
407 |
msgstr ""
|
408 |
|
409 |
-
#: includes/helper-functions.php:
|
410 |
msgid "d"
|
411 |
msgstr ""
|
412 |
|
413 |
-
#: includes/helper-functions.php:
|
414 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
415 |
msgstr ""
|
416 |
|
417 |
-
#: includes/helper-functions.php:
|
418 |
-
msgid "
|
419 |
msgstr ""
|
420 |
|
421 |
-
#: includes/helper-functions.php:
|
422 |
-
msgid "
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: includes/helper-functions.php:
|
426 |
-
msgid "
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: includes/helper-functions.php:
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
434 |
msgstr ""
|
435 |
|
436 |
-
#: includes/helper-functions.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
437 |
msgid "Fade In"
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: includes/helper-functions.php:
|
441 |
msgid "Fade In Left"
|
442 |
msgstr ""
|
443 |
|
444 |
-
#: includes/helper-functions.php:
|
|
|
|
|
|
|
|
|
445 |
msgid "Fade In Right"
|
446 |
msgstr ""
|
447 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
448 |
#: includes/widgets/lsow-accordion-widget/lsow-accordion-widget.php:15
|
449 |
-
#: includes/widgets/lsow-accordion-widget/lsow-accordion-widget.php:
|
450 |
msgid "Accordion"
|
451 |
msgstr ""
|
452 |
|
@@ -466,7 +676,7 @@ msgstr ""
|
|
466 |
#: includes/widgets/lsow-icon-list-widget/lsow-icon-list-widget.php:55
|
467 |
#: includes/widgets/lsow-odometers-widget/lsow-odometers-widget.php:25
|
468 |
#: includes/widgets/lsow-piecharts-widget/lsow-piecharts-widget.php:25
|
469 |
-
#: includes/widgets/lsow-portfolio-widget/lsow-portfolio-widget.php:
|
470 |
#: includes/widgets/lsow-posts-carousel-widget/lsow-posts-carousel-widget.php:79
|
471 |
#: includes/widgets/lsow-pricing-table-widget/lsow-pricing-table-widget.php:25
|
472 |
#: includes/widgets/lsow-pricing-table-widget/lsow-pricing-table-widget.php:96
|
@@ -477,80 +687,90 @@ msgstr ""
|
|
477 |
#: includes/widgets/lsow-team-members-widget/lsow-team-members-widget.php:25
|
478 |
#: includes/widgets/lsow-testimonials-slider-widget/lsow-testimonials-slider-widget.php:25
|
479 |
#: includes/widgets/lsow-testimonials-widget/lsow-testimonials-widget.php:25
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
480 |
msgid "Title"
|
481 |
msgstr ""
|
482 |
|
483 |
-
#: includes/widgets/lsow-accordion-widget/lsow-accordion-widget.php:
|
484 |
msgid "Choose Accordion Style"
|
485 |
msgstr ""
|
486 |
|
487 |
-
#: includes/widgets/lsow-accordion-widget/lsow-accordion-widget.php:
|
488 |
#: includes/widgets/lsow-heading-widget/lsow-heading-widget.php:38
|
489 |
#: includes/widgets/lsow-services-widget/lsow-services-widget.php:37
|
490 |
#: includes/widgets/lsow-team-members-widget/lsow-team-members-widget.php:37
|
|
|
491 |
msgid "Style 1"
|
492 |
msgstr ""
|
493 |
|
494 |
-
#: includes/widgets/lsow-accordion-widget/lsow-accordion-widget.php:
|
495 |
#: includes/widgets/lsow-heading-widget/lsow-heading-widget.php:39
|
496 |
#: includes/widgets/lsow-services-widget/lsow-services-widget.php:38
|
497 |
#: includes/widgets/lsow-team-members-widget/lsow-team-members-widget.php:38
|
|
|
498 |
msgid "Style 2"
|
499 |
msgstr ""
|
500 |
|
501 |
-
#: includes/widgets/lsow-accordion-widget/lsow-accordion-widget.php:
|
502 |
#: includes/widgets/lsow-heading-widget/lsow-heading-widget.php:40
|
503 |
#: includes/widgets/lsow-services-widget/lsow-services-widget.php:39
|
504 |
msgid "Style 3"
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: includes/widgets/lsow-accordion-widget/lsow-accordion-widget.php:
|
508 |
msgid "Allow to function like toggle?"
|
509 |
msgstr ""
|
510 |
|
511 |
-
#: includes/widgets/lsow-accordion-widget/lsow-accordion-widget.php:
|
512 |
msgid "Check if multiple elements can be open at the same time."
|
513 |
msgstr ""
|
514 |
|
515 |
-
#: includes/widgets/lsow-accordion-widget/lsow-accordion-widget.php:
|
516 |
msgid "Start expanded?"
|
517 |
msgstr ""
|
518 |
|
519 |
-
#: includes/widgets/lsow-accordion-widget/lsow-accordion-widget.php:
|
520 |
msgid ""
|
521 |
"Check if you need all elements to be expanded initially. Works only if "
|
522 |
"toggle flag above is checked and hence multiple accordion elements can be "
|
523 |
"open at the same time."
|
524 |
msgstr ""
|
525 |
|
526 |
-
#: includes/widgets/lsow-accordion-widget/lsow-accordion-widget.php:
|
527 |
msgid "Panel"
|
528 |
msgstr ""
|
529 |
|
530 |
-
#: includes/widgets/lsow-accordion-widget/lsow-accordion-widget.php:
|
531 |
msgid "Panel Title"
|
532 |
msgstr ""
|
533 |
|
534 |
-
#: includes/widgets/lsow-accordion-widget/lsow-accordion-widget.php:
|
535 |
msgid "The title for the panel."
|
536 |
msgstr ""
|
537 |
|
538 |
-
#: includes/widgets/lsow-accordion-widget/lsow-accordion-widget.php:
|
539 |
msgid "Panel ID"
|
540 |
msgstr ""
|
541 |
|
542 |
-
#: includes/widgets/lsow-accordion-widget/lsow-accordion-widget.php:
|
543 |
msgid ""
|
544 |
"The Panel ID is required to link to a panel. It must be unique across the "
|
545 |
"page, must begin with a letter and may be followed by any number of letters, "
|
546 |
"digits, hyphens or underscores."
|
547 |
msgstr ""
|
548 |
|
549 |
-
#: includes/widgets/lsow-accordion-widget/lsow-accordion-widget.php:
|
550 |
msgid "Panel Content"
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: includes/widgets/lsow-accordion-widget/lsow-accordion-widget.php:
|
554 |
msgid "The collapsible content of the panel in the accordion."
|
555 |
msgstr ""
|
556 |
|
@@ -592,7 +812,7 @@ msgstr ""
|
|
592 |
#: includes/widgets/lsow-icon-list-widget/lsow-icon-list-widget.php:30
|
593 |
#: includes/widgets/lsow-odometers-widget/lsow-odometers-widget.php:58
|
594 |
#: includes/widgets/lsow-services-widget/lsow-services-widget.php:47
|
595 |
-
#: includes/widgets/lsow-tabs-widget/lsow-tabs-widget.php:
|
596 |
msgid "Choose Icon Type"
|
597 |
msgstr ""
|
598 |
|
@@ -602,7 +822,7 @@ msgstr ""
|
|
602 |
#: includes/widgets/lsow-odometers-widget/lsow-odometers-widget.php:65
|
603 |
#: includes/widgets/lsow-pricing-table-widget/lsow-pricing-table-widget.php:104
|
604 |
#: includes/widgets/lsow-services-widget/lsow-services-widget.php:54
|
605 |
-
#: includes/widgets/lsow-tabs-widget/lsow-tabs-widget.php:
|
606 |
msgid "Icon"
|
607 |
msgstr ""
|
608 |
|
@@ -610,7 +830,7 @@ msgstr ""
|
|
610 |
#: includes/widgets/lsow-icon-list-widget/lsow-icon-list-widget.php:38
|
611 |
#: includes/widgets/lsow-odometers-widget/lsow-odometers-widget.php:66
|
612 |
#: includes/widgets/lsow-services-widget/lsow-services-widget.php:55
|
613 |
-
#: includes/widgets/lsow-tabs-widget/lsow-tabs-widget.php:
|
614 |
msgid "Icon Image"
|
615 |
msgstr ""
|
616 |
|
@@ -627,6 +847,8 @@ msgid "The CSS class name for the button element."
|
|
627 |
msgstr ""
|
628 |
|
629 |
#: includes/widgets/lsow-button-widget/lsow-button-widget.php:90
|
|
|
|
|
630 |
msgid "Class"
|
631 |
msgstr ""
|
632 |
|
@@ -639,60 +861,67 @@ msgid "Style"
|
|
639 |
msgstr ""
|
640 |
|
641 |
#: includes/widgets/lsow-button-widget/lsow-button-widget.php:102
|
|
|
642 |
msgid "The color of the button."
|
643 |
msgstr ""
|
644 |
|
645 |
#: includes/widgets/lsow-button-widget/lsow-button-widget.php:103
|
|
|
646 |
msgid "Color"
|
647 |
msgstr ""
|
648 |
|
649 |
-
#: includes/widgets/lsow-button-widget/lsow-button-widget.php:105
|
650 |
-
#: includes/widgets/lsow-hero-image-widget/lsow-hero-image-widget.php:155
|
651 |
-
msgid "Default"
|
652 |
-
msgstr ""
|
653 |
-
|
654 |
#: includes/widgets/lsow-button-widget/lsow-button-widget.php:106
|
655 |
#: includes/widgets/lsow-hero-image-widget/lsow-hero-image-widget.php:38
|
656 |
msgid "Custom"
|
657 |
msgstr ""
|
658 |
|
659 |
#: includes/widgets/lsow-button-widget/lsow-button-widget.php:107
|
|
|
660 |
msgid "Black"
|
661 |
msgstr ""
|
662 |
|
663 |
#: includes/widgets/lsow-button-widget/lsow-button-widget.php:108
|
|
|
664 |
msgid "Blue"
|
665 |
msgstr ""
|
666 |
|
667 |
#: includes/widgets/lsow-button-widget/lsow-button-widget.php:109
|
|
|
668 |
msgid "Cyan"
|
669 |
msgstr ""
|
670 |
|
671 |
#: includes/widgets/lsow-button-widget/lsow-button-widget.php:110
|
|
|
672 |
msgid "Green"
|
673 |
msgstr ""
|
674 |
|
675 |
#: includes/widgets/lsow-button-widget/lsow-button-widget.php:111
|
|
|
676 |
msgid "Orange"
|
677 |
msgstr ""
|
678 |
|
679 |
#: includes/widgets/lsow-button-widget/lsow-button-widget.php:112
|
|
|
680 |
msgid "Pink"
|
681 |
msgstr ""
|
682 |
|
683 |
#: includes/widgets/lsow-button-widget/lsow-button-widget.php:113
|
|
|
684 |
msgid "Red"
|
685 |
msgstr ""
|
686 |
|
687 |
#: includes/widgets/lsow-button-widget/lsow-button-widget.php:114
|
|
|
688 |
msgid "Teal"
|
689 |
msgstr ""
|
690 |
|
691 |
#: includes/widgets/lsow-button-widget/lsow-button-widget.php:115
|
|
|
692 |
msgid "Transparent"
|
693 |
msgstr ""
|
694 |
|
695 |
#: includes/widgets/lsow-button-widget/lsow-button-widget.php:116
|
|
|
696 |
msgid "Semi Transparent"
|
697 |