Version Description
- 26th May 2020 =
- Added - flag to check required plugins are installed
Download this release
Release Info
Developer | cyberchimps |
Plugin | Responsive Add Ons |
Version | 2.2.9 |
Comparing to | |
See all releases |
Code changes from version 2.2.8 to 2.2.9
- admin/css/getting-started.css +0 -393
- admin/js/responsive-ready-sites-admin.js +19 -9
- admin/partials/responsive-ready-sites-admin-display.php +3 -1
- admin/templates/responsive-addons-go-pro.php +0 -75
- admin/templates/responsive-addons-support.php +0 -49
- readme.txt +4 -1
- responsive-add-ons.php +3 -3
- templates/getting-started.php +0 -139
- templates/settings.php +0 -70
admin/css/getting-started.css
DELETED
@@ -1,393 +0,0 @@
|
|
1 |
-
.clearfix:before, .clearfix:after {
|
2 |
-
content: "";
|
3 |
-
display: table;
|
4 |
-
}
|
5 |
-
|
6 |
-
.clearfix:after { clear: both }
|
7 |
-
|
8 |
-
.clearfix { zoom: 1 }
|
9 |
-
|
10 |
-
.ab-getting-started * {
|
11 |
-
-webkit-box-sizing: border-box;
|
12 |
-
-moz-box-sizing: border-box;
|
13 |
-
box-sizing: border-box;
|
14 |
-
}
|
15 |
-
|
16 |
-
.ab-getting-started {
|
17 |
-
overflow: hidden;
|
18 |
-
margin: 30px;
|
19 |
-
}
|
20 |
-
|
21 |
-
.ab-getting-started .panels {
|
22 |
-
margin: 0 0 0 0;
|
23 |
-
border-top: 5px solid #f1f2f3;
|
24 |
-
}
|
25 |
-
|
26 |
-
.ab-getting-started .panel {
|
27 |
-
display: inline-block;
|
28 |
-
width: 100%;
|
29 |
-
background: #fff;
|
30 |
-
font-size: 16px;
|
31 |
-
animation: smoothFade .3s;
|
32 |
-
border-bottom: 5px solid #f1f2f3;
|
33 |
-
-moz-animation: smoothFade .3s;
|
34 |
-
-webkit-animation: smoothFade .3s;
|
35 |
-
-o-animation: smoothFade .3s;
|
36 |
-
}
|
37 |
-
|
38 |
-
@keyframes smoothFade {
|
39 |
-
from {
|
40 |
-
opacity:0;
|
41 |
-
}
|
42 |
-
to {
|
43 |
-
opacity:1;
|
44 |
-
}
|
45 |
-
}
|
46 |
-
|
47 |
-
@-moz-keyframes smoothFade {
|
48 |
-
from {
|
49 |
-
opacity:0;
|
50 |
-
}
|
51 |
-
to {
|
52 |
-
opacity:1;
|
53 |
-
}
|
54 |
-
}
|
55 |
-
|
56 |
-
@-webkit-keyframes smoothFade {
|
57 |
-
from {
|
58 |
-
opacity:0;
|
59 |
-
}
|
60 |
-
to {
|
61 |
-
opacity:1;
|
62 |
-
}
|
63 |
-
}
|
64 |
-
|
65 |
-
.ab-getting-started .panel p {
|
66 |
-
font-size: 16px;
|
67 |
-
line-height: 1.7;
|
68 |
-
}
|
69 |
-
|
70 |
-
.ab-getting-started .intro-wrap p {
|
71 |
-
font-size: 16px;
|
72 |
-
line-height: 1.7;
|
73 |
-
text-align: center;
|
74 |
-
}
|
75 |
-
|
76 |
-
.ab-getting-started .ab-block-middle p {
|
77 |
-
font-size: 16px;
|
78 |
-
line-height: 1.7;
|
79 |
-
}
|
80 |
-
|
81 |
-
.ab-getting-started .panel a {
|
82 |
-
text-decoration: none;
|
83 |
-
}
|
84 |
-
|
85 |
-
.ab-getting-started .panel hr {
|
86 |
-
height: 1px;
|
87 |
-
margin: 2em 0;
|
88 |
-
|
89 |
-
border: 0;
|
90 |
-
border-top: solid 2px #E6EAED;
|
91 |
-
}
|
92 |
-
|
93 |
-
.ab-getting-started .panels h3 {
|
94 |
-
width: 100%;
|
95 |
-
position: relative;
|
96 |
-
padding-right: 90px;
|
97 |
-
}
|
98 |
-
|
99 |
-
.ab-getting-started .intro {
|
100 |
-
display: inline-block;
|
101 |
-
width: 100%;
|
102 |
-
vertical-align: top;
|
103 |
-
padding: 0 50px;
|
104 |
-
margin-bottom: 2%;
|
105 |
-
margin-top: 2%;
|
106 |
-
text-align: center;
|
107 |
-
}
|
108 |
-
|
109 |
-
.ab-getting-started .intro h3 {
|
110 |
-
font-size: 40px;
|
111 |
-
line-height: 1.2;
|
112 |
-
font-weight: 300;
|
113 |
-
margin: 0;
|
114 |
-
color: #ffffff;
|
115 |
-
display: inline-block;
|
116 |
-
}
|
117 |
-
|
118 |
-
.ab-getting-started .intro h4 {
|
119 |
-
color: #868B96;
|
120 |
-
font-weight: normal;
|
121 |
-
font-size: 18px;
|
122 |
-
line-height: 1.6;
|
123 |
-
margin: 0;
|
124 |
-
}
|
125 |
-
|
126 |
-
.ab-getting-started h4 .button {
|
127 |
-
float: right;
|
128 |
-
background: #5AC779;
|
129 |
-
color: #fff;
|
130 |
-
border-radius: 3px;
|
131 |
-
font-size: 14px;
|
132 |
-
padding: 3px 6px;
|
133 |
-
vertical-align: middle;
|
134 |
-
margin-top: -5px !important;
|
135 |
-
}
|
136 |
-
|
137 |
-
@media only screen and (max-width:768px) {
|
138 |
-
.ab-getting-started .intro {
|
139 |
-
width: 100%;
|
140 |
-
float: none;
|
141 |
-
}
|
142 |
-
|
143 |
-
.ab-getting-started .intro {
|
144 |
-
padding: 0 20px;
|
145 |
-
margin-top: 3%;
|
146 |
-
margin-bottom: 8%;
|
147 |
-
}
|
148 |
-
|
149 |
-
.ab-getting-started .intro h2 {
|
150 |
-
font-size: 34px;
|
151 |
-
}
|
152 |
-
|
153 |
-
.ab-getting-started .intro h3 {
|
154 |
-
margin-bottom: 0;
|
155 |
-
}
|
156 |
-
|
157 |
-
}
|
158 |
-
|
159 |
-
.clear:before, .clear:after {
|
160 |
-
content: '';
|
161 |
-
display: table;
|
162 |
-
}
|
163 |
-
|
164 |
-
.clear:after {
|
165 |
-
clear: both;
|
166 |
-
}
|
167 |
-
|
168 |
-
.ab-getting-started .button-primary,
|
169 |
-
.ab-getting-started .button-primary.focus,
|
170 |
-
.ab-getting-started .button-primary.hover,
|
171 |
-
.ab-getting-started .button-primary:focus,
|
172 |
-
.ab-getting-started .button-primary:hover {
|
173 |
-
background: #5d45c9;
|
174 |
-
border-color: #4c35b9;
|
175 |
-
box-shadow: none;
|
176 |
-
transition: .3s ease;
|
177 |
-
text-shadow: 0 -1px 1px #4c35b9, 1px 0 1px #4c35b9, 0 1px 1px #4c35b9, -1px 0 1px #4c35b9;
|
178 |
-
}
|
179 |
-
|
180 |
-
.ab-getting-started .button-primary:hover {
|
181 |
-
box-shadow: inset 0 0 80px rgba(255,255,255, .15);
|
182 |
-
}
|
183 |
-
|
184 |
-
.ab-getting-started .button-primary:active {
|
185 |
-
border-bottom-color: transparent;
|
186 |
-
border-top-width: 2px;
|
187 |
-
}
|
188 |
-
|
189 |
-
.ab-getting-started a,
|
190 |
-
.ab-getting-started a:active,
|
191 |
-
.ab-getting-started a:hover {
|
192 |
-
color: #5d45c9;
|
193 |
-
}
|
194 |
-
|
195 |
-
.ab-getting-started h1 {
|
196 |
-
font-size: 35px;
|
197 |
-
font-weight: 500;
|
198 |
-
line-height: 1.2;
|
199 |
-
}
|
200 |
-
|
201 |
-
.ab-getting-started h2 {
|
202 |
-
font-size: 30px;
|
203 |
-
font-weight: 600;
|
204 |
-
line-height: 1.2;
|
205 |
-
}
|
206 |
-
|
207 |
-
.ab-getting-started div[id^='attachment'] {
|
208 |
-
max-width: 100% !important;
|
209 |
-
}
|
210 |
-
|
211 |
-
.ab-getting-started .footer-wrap {
|
212 |
-
padding: 4% 15% 4% 15%;
|
213 |
-
}
|
214 |
-
|
215 |
-
.ab-getting-started .intro-wrap {
|
216 |
-
padding: 4% 15% 1% 15%;
|
217 |
-
}
|
218 |
-
|
219 |
-
@media only screen and (max-width:768px) {
|
220 |
-
.footer-wrap {
|
221 |
-
padding: 5%;
|
222 |
-
}
|
223 |
-
}
|
224 |
-
|
225 |
-
.ab-block-footer {
|
226 |
-
margin-top: 2%;
|
227 |
-
margin-bottom: 2%;
|
228 |
-
text-align: center;
|
229 |
-
}
|
230 |
-
|
231 |
-
.ab-block-footer .button-primary {
|
232 |
-
font-size: 18px;
|
233 |
-
border-radius: 5px;
|
234 |
-
padding: 10px 30px;
|
235 |
-
height: auto;
|
236 |
-
font-size: 16px;
|
237 |
-
}
|
238 |
-
|
239 |
-
.ab-block-footer .button-primary:active {
|
240 |
-
vertical-align: initial !important;
|
241 |
-
border-top-width: 1px !important;
|
242 |
-
color: #fff;
|
243 |
-
background: #5d45c9;
|
244 |
-
}
|
245 |
-
|
246 |
-
.ab-block-footer p {
|
247 |
-
font-size: 16px;
|
248 |
-
line-height: 1.7;
|
249 |
-
}
|
250 |
-
|
251 |
-
.visit-title {
|
252 |
-
text-align: center;
|
253 |
-
display: inline-block;
|
254 |
-
width: 100%;
|
255 |
-
margin: 0;
|
256 |
-
}
|
257 |
-
|
258 |
-
.ab-block-feature-wrap {
|
259 |
-
background: #ffffff;
|
260 |
-
padding: 0 5% 2% 5%;
|
261 |
-
margin: 0;
|
262 |
-
text-align: center;
|
263 |
-
}
|
264 |
-
|
265 |
-
@media (max-width: 875px) {
|
266 |
-
.ab-block-feature-wrap {
|
267 |
-
padding-bottom: 5%;
|
268 |
-
}
|
269 |
-
}
|
270 |
-
|
271 |
-
.ab-block-feature-wrap h2 {
|
272 |
-
text-align: center;
|
273 |
-
margin-bottom: 0 !important;
|
274 |
-
}
|
275 |
-
|
276 |
-
.ab-block-feature-wrap p {
|
277 |
-
margin-top: 1%;
|
278 |
-
margin-bottom: 5%;
|
279 |
-
}
|
280 |
-
|
281 |
-
@media (max-width: 875px) {
|
282 |
-
.ab-block-feature-wrap p {
|
283 |
-
margin-top: 3%;
|
284 |
-
}
|
285 |
-
}
|
286 |
-
|
287 |
-
.ab-block-feature-wrap i {
|
288 |
-
color: #c5c0da;
|
289 |
-
font-size: 20px;
|
290 |
-
}
|
291 |
-
|
292 |
-
.ab-block-feature {
|
293 |
-
display: inline-block;
|
294 |
-
background: #fff;
|
295 |
-
padding: 4% 3% 3% 3%;
|
296 |
-
border-radius: 5px;
|
297 |
-
width: 30.6%;
|
298 |
-
vertical-align: top;
|
299 |
-
float: left;
|
300 |
-
margin-right: 4%;
|
301 |
-
margin-bottom: 4%;
|
302 |
-
transition: .3s ease;
|
303 |
-
border: 2px solid #f1f1f1;
|
304 |
-
-webkit-backface-visibility: hidden;
|
305 |
-
backface-visibility: hidden;
|
306 |
-
}
|
307 |
-
|
308 |
-
@media (max-width: 600px) {
|
309 |
-
.ab-block-feature {
|
310 |
-
padding: 8% 4% 3% 4%;
|
311 |
-
}
|
312 |
-
}
|
313 |
-
|
314 |
-
.ab-block-feature:nth-child(3n+1) {
|
315 |
-
clear: both;
|
316 |
-
}
|
317 |
-
|
318 |
-
@media only screen and (min-width: 600px) {
|
319 |
-
.ab-block-feature:nth-child(3n+3) {
|
320 |
-
margin-right: 0;
|
321 |
-
}
|
322 |
-
|
323 |
-
.ab-block-feature:nth-child(3n+1):nth-last-child(-n+3),
|
324 |
-
.ab-block-feature:nth-child(3n+1):nth-last-child(-n+3) ~ .post {
|
325 |
-
margin-bottom: 0;
|
326 |
-
}
|
327 |
-
}
|
328 |
-
|
329 |
-
@media (max-width: 600px) {
|
330 |
-
.ab-block-feature {
|
331 |
-
width: 100%;
|
332 |
-
margin-right: 0;
|
333 |
-
margin-bottom: 8%;
|
334 |
-
}
|
335 |
-
.ab-block-feature:last-child {
|
336 |
-
margin-bottom: 0;
|
337 |
-
}
|
338 |
-
}
|
339 |
-
|
340 |
-
.ab-block-feature .ab-block-feature-text,
|
341 |
-
.ab-block-feature .ab-block-feature-icon {
|
342 |
-
display: inline-block;
|
343 |
-
width: 100%;
|
344 |
-
vertical-align: top;
|
345 |
-
}
|
346 |
-
|
347 |
-
.ab-block-feature .ab-block-feature-text {
|
348 |
-
text-align: center;
|
349 |
-
}
|
350 |
-
|
351 |
-
.ab-block-feature .ab-block-feature-text h3 {
|
352 |
-
font-weight: 700;
|
353 |
-
margin-bottom: 15px;
|
354 |
-
padding-right: 0;
|
355 |
-
}
|
356 |
-
|
357 |
-
@media (min-width: 1000px) {
|
358 |
-
.ab-block-feature .ab-block-feature-text h3 {
|
359 |
-
font-size: 22px;
|
360 |
-
}
|
361 |
-
}
|
362 |
-
|
363 |
-
.ab-block-feature .ab-block-feature-text p {
|
364 |
-
font-size: 16px;
|
365 |
-
}
|
366 |
-
|
367 |
-
.ab-block-feature .ab-block-feature-icon {
|
368 |
-
text-align: center;
|
369 |
-
margin-bottom: 6%;
|
370 |
-
}
|
371 |
-
|
372 |
-
.ab-block-feature .ab-block-feature-icon img {
|
373 |
-
max-height: 110px;
|
374 |
-
border: none;
|
375 |
-
}
|
376 |
-
|
377 |
-
#responsive-blocks-panel {
|
378 |
-
width: 100%;
|
379 |
-
}
|
380 |
-
|
381 |
-
.ab-block-middle {
|
382 |
-
text-align: center;
|
383 |
-
padding: 4% 15% 4% 15%;
|
384 |
-
border-bottom: 5px solid #f1f2f3;
|
385 |
-
}
|
386 |
-
|
387 |
-
.wrap.ab-getting-started {
|
388 |
-
background-color: #fff;
|
389 |
-
}
|
390 |
-
|
391 |
-
.ab-block-feature-icon:before {
|
392 |
-
font: normal 30px/1 dashicons;
|
393 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/js/responsive-ready-sites-admin.js
CHANGED
@@ -294,21 +294,23 @@ var ResponsiveSitesAjaxQueue = (function() {
|
|
294 |
|
295 |
$( '#responsive-ready-sites-import-options' ).show();
|
296 |
|
297 |
-
var demoId
|
298 |
-
apiURL
|
299 |
-
demoType
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
|
|
306 |
|
307 |
var template = wp.template( 'responsive-ready-sites-import-options-page' );
|
308 |
|
309 |
templateData = [{
|
310 |
id: demoId,
|
311 |
demo_type: demoType,
|
|
|
312 |
demo_url: demoURL,
|
313 |
demo_api: apiURL,
|
314 |
screenshot: screenshot,
|
@@ -414,6 +416,12 @@ var ResponsiveSitesAjaxQueue = (function() {
|
|
414 |
);
|
415 |
}
|
416 |
|
|
|
|
|
|
|
|
|
|
|
|
|
417 |
/**
|
418 |
* Enable Demo Import Button
|
419 |
*
|
@@ -662,6 +670,7 @@ var ResponsiveSitesAjaxQueue = (function() {
|
|
662 |
requiredPlugins = anchor.data( 'required-plugins' ) || '',
|
663 |
responsiveSiteOptions = anchor.find( '.responsive-site-options' ).val() || '',
|
664 |
demo_type = anchor.data( 'demo-type' ) || '',
|
|
|
665 |
isResponsiveAddonsProInstalled = ResponsiveSitesAdmin._checkResponsiveAddonsProInstalled(),
|
666 |
isResponsiceAddonsProLicenseActive = ResponsiveSitesAdmin._checkRespomsiveAddonsProLicenseActive();
|
667 |
|
@@ -677,6 +686,7 @@ var ResponsiveSitesAjaxQueue = (function() {
|
|
677 |
required_plugins: JSON.stringify( requiredPlugins ),
|
678 |
responsive_site_options: responsiveSiteOptions,
|
679 |
demo_type: demo_type,
|
|
|
680 |
is_responsive_addons_pro_installed: isResponsiveAddonsProInstalled,
|
681 |
}];
|
682 |
$( '#responsive-ready-site-preview' ).append( template( templateData[0] ) );
|
294 |
|
295 |
$( '#responsive-ready-sites-import-options' ).show();
|
296 |
|
297 |
+
var demoId = self.data( 'demo-id' ) || '',
|
298 |
+
apiURL = self.data( 'demo-api' ) || '',
|
299 |
+
demoType = self.data( 'demo-type' ) || '',
|
300 |
+
check_plugins_installed = self.data( 'check_plugins_installed' ) || '',
|
301 |
+
demoURL = self.data( 'demo-url' ) || '',
|
302 |
+
screenshot = self.data( 'screenshot' ) || '',
|
303 |
+
demo_name = self.data( 'demo-name' ) || '',
|
304 |
+
demo_slug = self.data( 'demo-slug' ) || '',
|
305 |
+
requiredPlugins = self.data( 'required-plugins' ) || '',
|
306 |
+
responsiveSiteOptions = self.find( '.responsive-site-options' ).val() || '';
|
307 |
|
308 |
var template = wp.template( 'responsive-ready-sites-import-options-page' );
|
309 |
|
310 |
templateData = [{
|
311 |
id: demoId,
|
312 |
demo_type: demoType,
|
313 |
+
check_plugins_installed: check_plugins_installed,
|
314 |
demo_url: demoURL,
|
315 |
demo_api: apiURL,
|
316 |
screenshot: screenshot,
|
416 |
);
|
417 |
}
|
418 |
|
419 |
+
if ( check_plugins_installed && typeof required_plugins.notinstalled !== 'undefined' && required_plugins.notinstalled.length > 0 ) {
|
420 |
+
$( '.responsive-ready-site-import-free' ).addClass( 'disabled not-click-able' );
|
421 |
+
$( '.responsive-ready-site-import-free' ).prop( 'disabled',true );
|
422 |
+
$( '.responsive-ready-sites-install-plugins-title' ).append( '<span class="warning"> - Please make sure you have following plugins Installed</span>' );
|
423 |
+
$( '#responsive-ready-sites-tooltip-plugins-settings' ).css( 'display', 'block' );
|
424 |
+
}
|
425 |
/**
|
426 |
* Enable Demo Import Button
|
427 |
*
|
670 |
requiredPlugins = anchor.data( 'required-plugins' ) || '',
|
671 |
responsiveSiteOptions = anchor.find( '.responsive-site-options' ).val() || '',
|
672 |
demo_type = anchor.data( 'demo-type' ) || '',
|
673 |
+
check_plugins_installed = anchor.data( 'check_plugins_installed' ) || '',
|
674 |
isResponsiveAddonsProInstalled = ResponsiveSitesAdmin._checkResponsiveAddonsProInstalled(),
|
675 |
isResponsiceAddonsProLicenseActive = ResponsiveSitesAdmin._checkRespomsiveAddonsProLicenseActive();
|
676 |
|
686 |
required_plugins: JSON.stringify( requiredPlugins ),
|
687 |
responsive_site_options: responsiveSiteOptions,
|
688 |
demo_type: demo_type,
|
689 |
+
check_plugins_installed: check_plugins_installed,
|
690 |
is_responsive_addons_pro_installed: isResponsiveAddonsProInstalled,
|
691 |
}];
|
692 |
$( '#responsive-ready-site-preview' ).append( template( templateData[0] ) );
|
admin/partials/responsive-ready-sites-admin-display.php
CHANGED
@@ -63,6 +63,7 @@
|
|
63 |
data-demo-slug="{{{ data.items[ key ].slug }}}"
|
64 |
data-demo-name="{{{ data.items[ key ].title.rendered }}}"
|
65 |
data-demo-type="{{{ data.items[ key ].demo_type }}}"
|
|
|
66 |
data-screenshot="{{{ data.items[ key ]['featured_image_url'] }}}"
|
67 |
data-required-plugins="{{ JSON.stringify(data.items[ key ]['required_plugins']) }}"
|
68 |
data-required-pro-plugins="{{ JSON.stringify(data.items[ key ]['required_pro_plugins']) }}">
|
@@ -119,6 +120,7 @@
|
|
119 |
data-demo-api="{{{data.demo_api}}}"
|
120 |
data-demo-name="{{{data.name}}}"
|
121 |
data-demo-type="{{{data.demo_type}}}"
|
|
|
122 |
data-demo-slug="{{{data.slug}}}"
|
123 |
data-screenshot="{{{data.screenshot}}}"
|
124 |
data-required-plugins="{{data.required_plugins}}"
|
@@ -180,7 +182,7 @@
|
|
180 |
<p>Importing this ready site will …</p>
|
181 |
<ul class="responsive-ready-site-contents">
|
182 |
<li class="responsive-ready-sites-import-plugins">
|
183 |
-
<strong><?php _e( 'Install Required Plugins', 'responsive-addons' ); ?></strong>
|
184 |
<span class="responsive-ready-sites-tooltip-icon" data-tip-id="responsive-ready-sites-tooltip-plugins-settings"><span class="dashicons dashicons-editor-help"></span></span>
|
185 |
<div class="responsive-ready-sites-tooltip-message" id="responsive-ready-sites-tooltip-plugins-settings" style="display: none;">
|
186 |
<ul class="required-plugins-list"><span class="spinner is-active"></span></ul>
|
63 |
data-demo-slug="{{{ data.items[ key ].slug }}}"
|
64 |
data-demo-name="{{{ data.items[ key ].title.rendered }}}"
|
65 |
data-demo-type="{{{ data.items[ key ].demo_type }}}"
|
66 |
+
data-check_plugins_installed="{{{ data.items[ key ].check_plugins_installed }}}"
|
67 |
data-screenshot="{{{ data.items[ key ]['featured_image_url'] }}}"
|
68 |
data-required-plugins="{{ JSON.stringify(data.items[ key ]['required_plugins']) }}"
|
69 |
data-required-pro-plugins="{{ JSON.stringify(data.items[ key ]['required_pro_plugins']) }}">
|
120 |
data-demo-api="{{{data.demo_api}}}"
|
121 |
data-demo-name="{{{data.name}}}"
|
122 |
data-demo-type="{{{data.demo_type}}}"
|
123 |
+
data-check_plugins_installed="{{{data.check_plugins_installed}}}"
|
124 |
data-demo-slug="{{{data.slug}}}"
|
125 |
data-screenshot="{{{data.screenshot}}}"
|
126 |
data-required-plugins="{{data.required_plugins}}"
|
182 |
<p>Importing this ready site will …</p>
|
183 |
<ul class="responsive-ready-site-contents">
|
184 |
<li class="responsive-ready-sites-import-plugins">
|
185 |
+
<span class="responsive-ready-sites-install-plugins-title"><strong><?php _e( 'Install Required Plugins', 'responsive-addons' ); ?></strong></span>
|
186 |
<span class="responsive-ready-sites-tooltip-icon" data-tip-id="responsive-ready-sites-tooltip-plugins-settings"><span class="dashicons dashicons-editor-help"></span></span>
|
187 |
<div class="responsive-ready-sites-tooltip-message" id="responsive-ready-sites-tooltip-plugins-settings" style="display: none;">
|
188 |
<ul class="required-plugins-list"><span class="spinner is-active"></span></ul>
|
admin/templates/responsive-addons-go-pro.php
DELETED
@@ -1,75 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Responsive Options
|
4 |
-
*
|
5 |
-
* @package responsive
|
6 |
-
*/
|
7 |
-
|
8 |
-
?>
|
9 |
-
<div class="responsive-addons-tabs">
|
10 |
-
<div id="responsive-addons-go-pro" class="tab-content active">
|
11 |
-
<div class="column-4">
|
12 |
-
<h3><?php esc_html_e( 'Get Responsive Ready Sites Importer Pro' ); ?></h3>
|
13 |
-
<p><?php esc_html_e( 'Upgrade to Responsive Ready Sites Importer Pro and get Pro Ready sites, more customizer options & premium support.' ); ?></p>
|
14 |
-
<a href="https://cyberchimps.com/responsive-go-pro/?utm_source=free-to-pro&utm_medium=responsive-add-ons&utm_campaign=responsive-pro&utm_content=go-pro-tab" target="_blank" class='button button-primary'><?php esc_html_e( 'Upgrade To Pro' ); ?></a>
|
15 |
-
</div>
|
16 |
-
<div class="column-8 features">
|
17 |
-
<table class="features-table" border="1">
|
18 |
-
<thead>
|
19 |
-
<tr>
|
20 |
-
<th></th>
|
21 |
-
<th><?php esc_html_e( 'Free', 'responsive-addons' ); ?></th>
|
22 |
-
<th><?php esc_html_e( 'Pro', 'responsive-addons' ); ?></th>
|
23 |
-
</tr>
|
24 |
-
</thead>
|
25 |
-
<tbody>
|
26 |
-
<tr>
|
27 |
-
<td class="feature"><?php esc_html_e( 'Ready Sites', 'responsive-addons' ); ?></td>
|
28 |
-
<td class="featureyes"><span class='dashicons-before dashicons-yes'></span></td>
|
29 |
-
<td class="featureyes"><span class='dashicons-before dashicons-yes'></span></td>
|
30 |
-
</tr>
|
31 |
-
<tr>
|
32 |
-
<td class="feature"><?php esc_html_e( 'Compatible with Elementor Page Builder', 'responsive-addons' ); ?></td>
|
33 |
-
<td class="featureyes"><span class='dashicons-before dashicons-yes'></span></td>
|
34 |
-
<td class="featureyes"><span class='dashicons-before dashicons-yes'></span></td>
|
35 |
-
</tr>
|
36 |
-
<tr>
|
37 |
-
<td class="feature"><?php esc_html_e( 'Mobile Friendly', 'responsive-addons' ); ?></td>
|
38 |
-
<td class="featureyes"><span class='dashicons-before dashicons-yes'></span></td>
|
39 |
-
<td class="featureyes"><span class='dashicons-before dashicons-yes'></span></td>
|
40 |
-
</tr>
|
41 |
-
<tr>
|
42 |
-
<td class="feature"><?php esc_html_e( 'WooCommerce Compatible', 'responsive-addons' ); ?></td>
|
43 |
-
<td class="featureyes"><span class='dashicons-before dashicons-yes'></span></td>
|
44 |
-
<td class="featureyes"><span class='dashicons-before dashicons-yes'></span></td>
|
45 |
-
</tr>
|
46 |
-
<tr>
|
47 |
-
<td class="feature"><?php esc_html_e( 'Layout Customizer', 'responsive-addons' ); ?></td>
|
48 |
-
<td class="featureyes"><span class='dashicons-before dashicons-yes'></span></td>
|
49 |
-
<td class="featureyes"><span class='dashicons-before dashicons-yes'></span></td>
|
50 |
-
</tr>
|
51 |
-
<tr>
|
52 |
-
<td class="feature"><?php esc_html_e( 'Color Customizer', 'responsive-addons' ); ?></td>
|
53 |
-
<td class="featureyes"><span class='dashicons-before dashicons-yes'></span></td>
|
54 |
-
<td class="featureyes"><span class='dashicons-before dashicons-yes'></span></td>
|
55 |
-
</tr>
|
56 |
-
<tr>
|
57 |
-
<td class="feature"><?php esc_html_e( 'Typography Customizer', 'responsive-addons' ); ?></td>
|
58 |
-
<td class="featureyes"><span class='dashicons-before dashicons-yes'></span></td>
|
59 |
-
<td class="featureyes"><span class='dashicons-before dashicons-yes'></span></td>
|
60 |
-
</tr>
|
61 |
-
<tr>
|
62 |
-
<td class="feature"><?php esc_html_e( 'Premium Support', 'responsive-addons' ); ?></td>
|
63 |
-
<td class="featureno">-</td>
|
64 |
-
<td class="featureyes"><span class='dashicons-before dashicons-yes'></span></td>
|
65 |
-
</tr>
|
66 |
-
<tr>
|
67 |
-
<td class="feature"><?php esc_html_e( 'Pro Ready Sites', 'responsive-addons' ); ?></td>
|
68 |
-
<td class="featureno">-</td>
|
69 |
-
<td class="featureyes"><span class='dashicons-before dashicons-yes'></span></td>
|
70 |
-
</tr>
|
71 |
-
</tbody>
|
72 |
-
</table>
|
73 |
-
</div>
|
74 |
-
</div>
|
75 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/templates/responsive-addons-support.php
DELETED
@@ -1,49 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Responsive Add Ons
|
4 |
-
*
|
5 |
-
* @package Responsive Add Ons
|
6 |
-
*/
|
7 |
-
|
8 |
-
?>
|
9 |
-
<div class="responsive-addons-tabs">
|
10 |
-
<div id="responsive-addons-support" class="tab-content active">
|
11 |
-
<div class="column-4">
|
12 |
-
<h3><?php esc_html_e( 'Community Support' ); ?></h3>
|
13 |
-
<p><?php esc_html_e( 'Free Responsive user? Use the WordPress.org support forums to get help from our experts and other Responsive users.' ); ?></p>
|
14 |
-
<a href="https://wordpress.org/support/theme/responsive/" target="_blank"><?php esc_html_e( 'WordPress.org Support' ); ?></a>
|
15 |
-
</div>
|
16 |
-
<div class="column-4">
|
17 |
-
<h3><?php esc_html_e( 'Premium Support' ); ?></h3>
|
18 |
-
<p><?php esc_html_e( 'Free Responsive user? Use the WordPress.org support forums to get help from our experts and other Responsive users.' ); ?></p>
|
19 |
-
<?php if ( is_resp_pro_license_is_active() ) { ?>
|
20 |
-
<a href="https://cyberchimps.com/my-account/orders/?utm_source=responsive-add-ons&utm_medium=request-support&utm_campaign=responsive-support" target="_blank"><?php esc_html_e( 'Request Support' ); ?></a>
|
21 |
-
<?php } else { ?>
|
22 |
-
<a href="https://cyberchimps.com/responsive-go-pro/?utm_source=free-to-pro&utm_medium=responsive-add-ons&utm_campaign=responsive-pro&utm_content=premium-support" target="_blank"><?php esc_html_e( 'Upgrade To Responsive Pro' ); ?></a>
|
23 |
-
<?php } ?>
|
24 |
-
</div>
|
25 |
-
<div class="column-4">
|
26 |
-
<h3><?php esc_html_e( 'Documentation' ); ?></h3>
|
27 |
-
<p><?php esc_html_e( 'Free Responsive user? Use the WordPress.org support forums to get help from our experts and other Responsive users.' ); ?></p>
|
28 |
-
<a href="https://docs.cyberchimps.com/responsive/?utm_source=responsive-add-ons&utm_medium=see-documentation&utm_campaign=responsive-documentation" target="_blank"><?php esc_html_e( 'See Documentation' ); ?></a>
|
29 |
-
</div>
|
30 |
-
</div>
|
31 |
-
</div>
|
32 |
-
<?php
|
33 |
-
/**
|
34 |
-
* Check if Responsive Addons Pro License is Active.
|
35 |
-
*/
|
36 |
-
function is_resp_pro_license_is_active() {
|
37 |
-
global $wcam_lib;
|
38 |
-
if ( is_null( $wcam_lib ) ) {
|
39 |
-
return false;
|
40 |
-
}
|
41 |
-
$license_status = $wcam_lib->license_key_status();
|
42 |
-
|
43 |
-
if ( ! empty( $license_status['data']['activated'] ) && $license_status['data']['activated'] ) {
|
44 |
-
return true;
|
45 |
-
} else {
|
46 |
-
return false;
|
47 |
-
}
|
48 |
-
}
|
49 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: one click demo import, gutenberg, elementor, templates
|
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.4.1
|
7 |
Requires PHP: 5.3
|
8 |
-
Stable tag: 2.2.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -106,6 +106,9 @@ Absolutely not! Once you install the plugin, it will take care of all other depe
|
|
106 |
4. Your website is ready
|
107 |
|
108 |
== Changelog ==
|
|
|
|
|
|
|
109 |
= 2.2.8 - 5th May 2020 =
|
110 |
* Added - New WordPress admin menu item and pages
|
111 |
* Fixed - Footer menu issue
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.4.1
|
7 |
Requires PHP: 5.3
|
8 |
+
Stable tag: 2.2.9
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
106 |
4. Your website is ready
|
107 |
|
108 |
== Changelog ==
|
109 |
+
= 2.2.9 - 26th May 2020 =
|
110 |
+
* Added - flag to check required plugins are installed
|
111 |
+
|
112 |
= 2.2.8 - 5th May 2020 =
|
113 |
* Added - New WordPress admin menu item and pages
|
114 |
* Fixed - Footer menu issue
|
responsive-add-ons.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Responsive Ready Sites Importer
|
4 |
* Plugin URI: http://wordpress.org/plugins/responsive-add-ons/
|
5 |
* Description: Import Responsive Ready Sites that help you launch your website quickly. Just import, update & hit the launch button.
|
6 |
-
* Version: 2.2.
|
7 |
* Author: CyberChimps
|
8 |
* License: GPL2
|
9 |
*
|
@@ -45,7 +45,7 @@ if ( ! defined( 'RESPONSIVE_ADDONS_URI' ) ) {
|
|
45 |
}
|
46 |
|
47 |
if ( ! defined( 'RESPONSIVE_ADDONS_VER' ) ) {
|
48 |
-
define( 'RESPONSIVE_ADDONS_VER', '2.2.
|
49 |
}
|
50 |
|
51 |
if ( ! function_exists( 'ra_fs' ) ) {
|
@@ -65,7 +65,7 @@ if ( ! function_exists( 'ra_fs' ) ) {
|
|
65 |
'slug' => 'responsive-add-ons',
|
66 |
'product_name' => 'Responsive Ready Sites Importer',
|
67 |
'module_type' => 'plugin',
|
68 |
-
'version' => '2.2.
|
69 |
'plugin_basename' => 'responsive-add-ons/responsive-add-ons.php',
|
70 |
'plugin_url' => RESPONSIVE_ADDONS_DIR_URL,
|
71 |
)
|
3 |
* Plugin Name: Responsive Ready Sites Importer
|
4 |
* Plugin URI: http://wordpress.org/plugins/responsive-add-ons/
|
5 |
* Description: Import Responsive Ready Sites that help you launch your website quickly. Just import, update & hit the launch button.
|
6 |
+
* Version: 2.2.9
|
7 |
* Author: CyberChimps
|
8 |
* License: GPL2
|
9 |
*
|
45 |
}
|
46 |
|
47 |
if ( ! defined( 'RESPONSIVE_ADDONS_VER' ) ) {
|
48 |
+
define( 'RESPONSIVE_ADDONS_VER', '2.2.9' );
|
49 |
}
|
50 |
|
51 |
if ( ! function_exists( 'ra_fs' ) ) {
|
65 |
'slug' => 'responsive-add-ons',
|
66 |
'product_name' => 'Responsive Ready Sites Importer',
|
67 |
'module_type' => 'plugin',
|
68 |
+
'version' => '2.2.9',
|
69 |
'plugin_basename' => 'responsive-add-ons/responsive-add-ons.php',
|
70 |
'plugin_url' => RESPONSIVE_ADDONS_DIR_URL,
|
71 |
)
|
templates/getting-started.php
DELETED
@@ -1,139 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Getting Started Page.
|
4 |
-
*
|
5 |
-
* @package Responsive Addons
|
6 |
-
*/
|
7 |
-
|
8 |
-
?>
|
9 |
-
<div class="wrap ab-getting-started">
|
10 |
-
<div class="intro-wrap">
|
11 |
-
<div class="intro">
|
12 |
-
<h1><?php printf( esc_html__( 'Responsive Gutenberg Block Add-ons', 'responsive-addons' ) ); ?></h1>
|
13 |
-
</div>
|
14 |
-
<div class="clearfix">
|
15 |
-
<div class="info">
|
16 |
-
<div class="ab-titles">
|
17 |
-
<p><?php esc_html_e( 'Responsive Addon also has a collection of ready-to-use blocks for the new WordPress editor(aka Gutenberg).', 'responsive-addons' ); ?></p>
|
18 |
-
</div>
|
19 |
-
</div>
|
20 |
-
</div>
|
21 |
-
</div>
|
22 |
-
<div class="panels">
|
23 |
-
<div id="panel" class="panel">
|
24 |
-
|
25 |
-
<div class="ab-block-feature-wrap clear">
|
26 |
-
<h2><?php esc_html_e( 'Available blocks', 'responsive-addons' ); ?></h2>
|
27 |
-
<p><?php esc_html_e( 'The following editor blocks are available in Responsive Add-ons.', 'responsive-addons' ); ?></p>
|
28 |
-
|
29 |
-
<div class="ab-block-features">
|
30 |
-
<div class="ab-block-feature">
|
31 |
-
<div class="ab-block-feature-icon dashicon dashicons-grid-view"></div>
|
32 |
-
<div class="ab-block-feature-text">
|
33 |
-
<h3><?php esc_html_e( 'Post Grid Block', 'responsive-addons' ); ?></h3>
|
34 |
-
<p><?php esc_html_e( 'Add an eye-catching, full-width section with a big title, paragraph text, and a customizable button.', 'responsive-addons' ); ?></p>
|
35 |
-
</div>
|
36 |
-
</div>
|
37 |
-
|
38 |
-
<div class="ab-block-feature">
|
39 |
-
<div class="ab-block-feature-icon dashicon dashicons-editor-table"></div>
|
40 |
-
<div class="ab-block-feature-text">
|
41 |
-
<h3><?php esc_html_e( 'Container Block', 'responsive-addons' ); ?></h3>
|
42 |
-
<p><?php esc_html_e( 'Wrap several blocks into a section and add padding, margins, background colors and images.', 'responsive-addons' ); ?></p>
|
43 |
-
</div>
|
44 |
-
</div>
|
45 |
-
|
46 |
-
<div class="ab-block-feature">
|
47 |
-
<div class="ab-block-feature-icon dashicon dashicons-megaphone"></div>
|
48 |
-
<div class="ab-block-feature-text">
|
49 |
-
<h3><?php esc_html_e( 'Call-To-Action Block', 'responsive-addons' ); ?></h3>
|
50 |
-
<p><?php esc_html_e( 'Add an eye-catching, full-width section with a big title, paragraph text, and a customizable button.', 'responsive-addons' ); ?></p>
|
51 |
-
</div>
|
52 |
-
</div>
|
53 |
-
|
54 |
-
<div class="ab-block-feature">
|
55 |
-
<div class="ab-block-feature-icon dashicon dashicons-format-quote"></div>
|
56 |
-
<div class="ab-block-feature-text">
|
57 |
-
<h3><?php esc_html_e( 'Testimonial Block', 'responsive-addons' ); ?></h3>
|
58 |
-
<p><?php esc_html_e( 'Add a customer or client testimonial to your site with an avatar, text, citation and more.', 'responsive-addons' ); ?></p>
|
59 |
-
</div>
|
60 |
-
</div>
|
61 |
-
|
62 |
-
<div class="ab-block-feature">
|
63 |
-
<div class="ab-block-feature-icon dashicon dashicons-format-aside"></div>
|
64 |
-
<div class="ab-block-feature-text">
|
65 |
-
<h3><?php esc_html_e( 'Inline Notice Block', 'responsive-addons' ); ?></h3>
|
66 |
-
<p><?php esc_html_e( 'Add a colorful notice or message to your site with text, a title and a dismiss icon.', 'responsive-addons' ); ?></p>
|
67 |
-
</div>
|
68 |
-
</div>
|
69 |
-
|
70 |
-
<div class="ab-block-feature">
|
71 |
-
<div class="ab-block-feature-icon dashicon dashicons-admin-links"></div>
|
72 |
-
<div class="ab-block-feature-text">
|
73 |
-
<h3><?php esc_html_e( 'Sharing Icons Block', 'responsive-addons' ); ?></h3>
|
74 |
-
<p><?php esc_html_e( 'Add social sharing icons to your page with size, shape, color and style options.', 'responsive-addons' ); ?></p>
|
75 |
-
</div>
|
76 |
-
</div>
|
77 |
-
|
78 |
-
<div class="ab-block-feature">
|
79 |
-
<div class="ab-block-feature-icon dashicon dashicons-admin-users"></div>
|
80 |
-
<div class="ab-block-feature-text">
|
81 |
-
<h3><?php esc_html_e( 'Author Profile Block', 'responsive-addons' ); ?></h3>
|
82 |
-
<p><?php esc_html_e( 'Add a user profile box to your site with a title, bio info, an avatar and social media links.', 'responsive-addons' ); ?></p>
|
83 |
-
</div>
|
84 |
-
</div>
|
85 |
-
|
86 |
-
<div class="ab-block-feature">
|
87 |
-
<div class="ab-block-feature-icon dashicon dashicons-editor-ul"></div>
|
88 |
-
<div class="ab-block-feature-text">
|
89 |
-
<h3><?php esc_html_e( 'Accordion Block', 'responsive-addons' ); ?></h3>
|
90 |
-
<p><?php esc_html_e( 'Add an accordion text toggle with a title and descriptive text. Includes font size and toggle options.', 'responsive-addons' ); ?></p>
|
91 |
-
</div>
|
92 |
-
</div>
|
93 |
-
|
94 |
-
<div class="ab-block-feature">
|
95 |
-
<span class="ab-block-feature-icon dashicon dashicons-admin-links"></span>
|
96 |
-
<div class="ab-block-feature-text">
|
97 |
-
<h3><?php esc_html_e( 'Customizable Button', 'responsive-addons' ); ?></h3>
|
98 |
-
<p><?php esc_html_e( 'Add a fancy stylized button to your post or page with size, shape, target, and color options.', 'responsive-addons' ); ?></p>
|
99 |
-
</div>
|
100 |
-
</div>
|
101 |
-
|
102 |
-
<div class="ab-block-feature">
|
103 |
-
<div class="ab-block-feature-icon dashicon dashicons-format-quote"></div>
|
104 |
-
<div class="ab-block-feature-text">
|
105 |
-
<h3><?php esc_html_e( 'Drop Cap Block', 'responsive-addons' ); ?></h3>
|
106 |
-
<p><?php esc_html_e( 'Add a stylized drop cap to the beginning of your paragraph. Choose from three different styles.', 'responsive-addons' ); ?></p>
|
107 |
-
</div>
|
108 |
-
</div>
|
109 |
-
|
110 |
-
<div class="ab-block-feature">
|
111 |
-
<div class="ab-block-feature-icon dashicon dashicons-image-flip-vertical"></div>
|
112 |
-
<div class="ab-block-feature-text">
|
113 |
-
<h3><?php esc_html_e( 'Spacer & Divider', 'responsive-addons' ); ?></h3>
|
114 |
-
<p><?php esc_html_e( 'Add an adjustable spacer between your blocks with an optional divider with styling options.', 'responsive-addons' ); ?></p>
|
115 |
-
</div>
|
116 |
-
</div>
|
117 |
-
|
118 |
-
</div><!-- .ab-block-features -->
|
119 |
-
</div><!-- .ab-block-feature-wrap -->
|
120 |
-
</div><!-- .panel -->
|
121 |
-
<div class="ab-block-middle">
|
122 |
-
<div class="ab-block-middle-header">
|
123 |
-
<h2>How to use these blocks?</h2>
|
124 |
-
</div>
|
125 |
-
<div class="ab-block-middle-wrap">
|
126 |
-
<p>Responsive blocks are available for use in the new WordPress post/page editor. The new WordPress editor is available form WordPress 5.0. If you're using an older version of WordPress, please install the Gutenberg plugin to use the Responsive blocks.</p>
|
127 |
-
<p>The easiest way to insert a block in a post/page is to click on the(+) icon. See the sreenshot gif below to understand how to insert a Responsive block in your editor.</p>
|
128 |
-
</div>
|
129 |
-
</div>
|
130 |
-
<div class="footer-wrap">
|
131 |
-
<h2 class="visit-title"><?php esc_html_e( 'Get more block', 'responsive-addons' ); ?></h2>
|
132 |
-
|
133 |
-
<div class="ab-block-footer">
|
134 |
-
<p><?php esc_html_e( 'Join our newsletter to receive emails when we add new blocks, release updates.', 'responsive-addon' ); ?></p>
|
135 |
-
<a class="button-primary" href="#"><?php esc_html_e( 'Subscribe', 'responsive-addons' ); ?></a>
|
136 |
-
</div>
|
137 |
-
</div><!-- .footer-wrap -->
|
138 |
-
</div><!-- .panels -->
|
139 |
-
</div><!-- .getting-started -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/settings.php
DELETED
@@ -1,70 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Settings for plugin
|
4 |
-
*
|
5 |
-
* Uses Wordpress settings api to create plugin options
|
6 |
-
*
|
7 |
-
* Please do not edit this file. This file is part of the CyberChimps Framework and all modifications
|
8 |
-
* should be made in a child theme.
|
9 |
-
*
|
10 |
-
* @category CyberChimps Framework
|
11 |
-
* @package Framework
|
12 |
-
* @since 1.0
|
13 |
-
* @author CyberChimps
|
14 |
-
* @license http://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later)
|
15 |
-
* @link http://www.cyberchimps.com/
|
16 |
-
*/
|
17 |
-
|
18 |
-
// Exit if accessed directly
|
19 |
-
if( !defined( 'ABSPATH' ) ) {
|
20 |
-
exit;
|
21 |
-
}
|
22 |
-
?>
|
23 |
-
<div class="wrap">
|
24 |
-
<h2><?php _e( 'Responsive Settings', 'responsive-addons' ) ?></h2>
|
25 |
-
|
26 |
-
<form method="POST" action="options.php">
|
27 |
-
<?php settings_fields( 'responsive_addons' );
|
28 |
-
do_settings_sections( 'responsive_addons_options' );
|
29 |
-
|
30 |
-
$options = get_option( 'responsive_addons_options' );
|
31 |
-
?>
|
32 |
-
<h3 class="subheading"><?php _e( 'Webmaster Settings', 'responsive-addons' ) ?></h3>
|
33 |
-
<table class="form-table">
|
34 |
-
<tr>
|
35 |
-
<th><?php _e( 'Google Site Verification', 'responsive-addons' ) ?></th>
|
36 |
-
<td><input id="<?php echo esc_attr( 'responsive_addons_options[google_site_verification]' ); ?>" class="regular-text" type="text" name="<?php echo esc_attr(
|
37 |
-
'responsive_addons_options[google_site_verification]' ); ?>" value="<?php echo ( !empty( $options['google_site_verification'] ) ) ? esc_html( $options['google_site_verification'] ) : ''; ?>"/>
|
38 |
-
<label class="description" for="<?php echo esc_attr( 'responsive_addons_options[google_site_verification]' ); ?>"><?php _e( 'Enter your Google ID number only', 'responsive-addons' ) ?></label></td>
|
39 |
-
</tr>
|
40 |
-
|
41 |
-
<tr>
|
42 |
-
<th><?php _e( 'Bing Site Verification', 'responsive-addons' ) ?></th>
|
43 |
-
<td><input id="<?php echo esc_attr( 'responsive_addons_options[bing_site_verification]' ); ?>" class="regular-text" type="text" name="<?php echo esc_attr(
|
44 |
-
'responsive_addons_options[bing_site_verification]' ); ?>" value="<?php echo ( !empty( $options['bing_site_verification'] ) ) ? esc_html( $options['bing_site_verification'] ) : ''; ?>"/>
|
45 |
-
<label class="description" for="<?php echo esc_attr( 'responsive_addons_options[bing_site_verification]' ); ?>"><?php _e( 'Enter your Bing ID number only', 'responsive-addons' ) ?></label></td>
|
46 |
-
</tr>
|
47 |
-
|
48 |
-
<tr>
|
49 |
-
<th><?php _e( 'Yahoo Site Verification', 'responsive-addons' ) ?></th>
|
50 |
-
<td><input id="<?php echo esc_attr( 'responsive_addons_options[yahoo_site_verification]' ); ?>" class="regular-text" type="text" name="<?php echo esc_attr(
|
51 |
-
'responsive_addons_options[yahoo_site_verification]' ); ?>" value="<?php echo ( !empty( $options['yahoo_site_verification'] ) ) ? esc_html( $options['yahoo_site_verification'] ) : ''; ?>"/>
|
52 |
-
<label class="description" for="<?php echo esc_attr( 'responsive_addons_options[yahoo_site_verification]' ); ?>"><?php _e( 'Enter your Yahoo ID number only', 'responsive-addons' ) ?></label></td>
|
53 |
-
</tr>
|
54 |
-
|
55 |
-
<tr>
|
56 |
-
<th>
|
57 |
-
<?php _e( 'Site Statistics Tracker', 'responsive-addons' ); ?>
|
58 |
-
<br/><a style="margin:5px;" class="resp-addon-forum button" href="http://cyberchimps.com/forum/free/responsive/">Forum</a>
|
59 |
-
<a style="margin:5px;" class="resp-addon-guide button" href="http://cyberchimps.com/guide/responsive-add-ons/">Guide</a>
|
60 |
-
</th>
|
61 |
-
<td><textarea id="<?php echo esc_attr( 'responsive_addons_options[site_statistics_tracker]' ); ?>" class="large-text" cols="50" rows="15" name="<?php echo esc_attr( 'responsive_addons_options[site_statistics_tracker]' ); ?>"><?php echo ( !empty( $options['site_statistics_tracker'] ) ) ? esc_html( $options['site_statistics_tracker'] ) : ''; ?></textarea>
|
62 |
-
<label class="description" for="<?php echo esc_attr( 'responsive_addons_options[site_statistics_tracker]' ); ?>">
|
63 |
-
<?php _e( 'Google Analytics, StatCounter, any other or all of them.', 'responsive-addons' ) ?>
|
64 |
-
</label></td>
|
65 |
-
</tr>
|
66 |
-
|
67 |
-
</table>
|
68 |
-
<?php submit_button(); ?>
|
69 |
-
</form>
|
70 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|