PluginProbe ʕ •ᴥ•ʔ
MailPoet – Newsletters, Email Marketing, and Automation / 5.34.2
MailPoet – Newsletters, Email Marketing, and Automation v5.34.2
5.34.2 5.34.1 5.34.0 5.33.1 5.33.0 5.32.0 5.31.0 5.30.0 5.29.0 5.28.1 5.28.0 5.27.0 5.26.0 5.26.1 5.25.0 5.24.0 4.43.0 4.43.1 4.44.0 4.44.1 4.45.0 4.46.0 4.47.0 4.48.0 4.48.1 4.48.2 4.49.0 4.49.1 4.5.0 4.5.1 4.5.2 4.50.0 4.50.1 4.51.0 4.51.1 4.51.2 4.52.0 4.53.0 4.54.0 4.55.0 4.56.0 4.57.0 4.58.0 4.58.1 4.58.2 4.6.0 4.6.1 4.6.2 4.7.0 4.7.1 4.8.0 4.8.1 4.9.0 5.0.0 5.0.1 5.0.2 5.1.0 5.1.1 5.10.0 5.10.1 5.11.0 5.12.0 5.12.1 5.12.10 5.12.11 5.12.12 5.12.13 5.12.2 5.12.3 5.12.4 5.12.5 5.12.6 5.12.7 5.12.8 5.12.9 5.13.0 5.13.1 5.13.2 5.14.0 5.14.1 5.14.2 5.14.3 5.15.0 5.15.1 5.16.0 5.16.1 5.16.2 5.16.3 5.16.4 5.17.0 5.17.1 5.17.2 5.17.3 5.17.4 5.17.5 5.17.6 5.18.0 5.19.0 5.2.0 5.2.1 5.2.2 5.2.3 5.20.0 5.21.0 5.21.1 5.21.2 5.21.3 5.22.0 5.22.1 5.22.2 5.22.3 5.22.4 5.23.0 5.23.1 5.23.2 5.3.0 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.3.6 5.3.7 5.4.0 5.4.1 5.4.2 5.5.0 5.5.1 5.5.2 5.6.0 5.6.1 5.6.2 5.6.3 5.6.4 5.7.0 5.7.1 5.8.0 5.8.1 5.9.0 3.0.0-beta.15 3.7.1 3.0.0-beta.16 3.7.2 3.0.0-beta.17 3.7.3 3.0.0-beta.18 3.7.4 3.0.0-beta.19 3.7.5 3.0.0-beta.2 3.7.6 3.0.0-beta.20 3.7.8 3.0.0-beta.21 3.70.0 3.0.0-beta.22 3.71.0 3.0.0-beta.23 3.71.1 3.0.0-beta.23.1 3.71.2 3.0.0-beta.23.2 3.71.3 3.0.0-beta.24 3.72.0 3.0.0-beta.25 3.73.0 3.0.0-beta.26 3.73.1 3.0.0-beta.27 3.73.2 3.0.0-beta.28 3.74.0 3.0.0-beta.29 3.74.1 3.0.0-beta.3 3.74.2 3.0.0-beta.30 3.74.3 3.0.0-beta.31 3.75.0 3.0.0-beta.32 3.75.1 3.0.0-beta.33 3.76.0 3.0.0-beta.33.1 3.77.0 3.0.0-beta.34.0.0 3.77.1 3.0.0-beta.36.0.0 3.78.0 3.0.0-beta.36.0.1 3.79.0 3.0.0-beta.36.2.0 3.8 3.0.0-beta.36.3.0 3.8.1 3.0.0-beta.36.3.1 3.8.2 3.0.0-beta.37.0.0 3.8.3 3.0.0-beta.4 3.8.4 3.0.0-beta.5 3.8.5 3.0.0-beta.6 3.8.6 3.0.0-beta.7 3.80.0 3.0.0-beta.7.1 3.81.0 3.0.0-beta.8 3.82.0 3.0.0-beta.9 3.83.0 3.0.0-rc.1.0.0 3.84.0 3.0.0-rc.1.0.1 3.84.1 3.0.0-rc.1.0.2 3.85.0 3.0.0-rc.1.0.3 3.85.1 3.0.0-rc.1.0.4 3.86.0 3.0.0-rc.2.0.0 3.87.0 3.0.0-rc.2.0.1 3.87.1 3.0.0-rc.2.0.2 3.87.2 3.0.0-rc.2.0.3 3.88.0 3.0.1 3.88.1 3.0.2 3.88.2 3.0.3 3.89.0 3.0.4 3.89.1 3.0.5 3.89.2 3.0.6 3.89.3 3.0.7 3.89.4 3.0.8 3.9.0 3.0.9 3.9.1 3.1.0 3.90.0 3.10 3.90.1 3.10.1 3.90.2 3.100.0 3.91.0 3.100.1 3.91.1 3.100.2 3.92.0 3.101.0 3.92.1 3.101.1 3.93.0 3.102.0 3.93.1 3.102.1 3.94.0 3.103.0 3.95.0 3.103.1 3.95.1 3.11.0 3.96.0 3.11.1 3.96.1 3.11.2 3.97.0 3.11.3 3.98.0 3.11.4 3.98.1 3.11.5 3.99.0 3.12.0 3.99.1 3.12.1 4.0.0 3.13.0 4.0.1 3.14.0 4.1.0 3.14.1 4.1.1 3.15.0 4.10.0 3.16.0 4.11.0 3.16.1 4.11.1 3.16.2 4.12.0 3.16.3 4.12.1 3.17.0 4.12.2 3.17.1 4.13.0 3.17.2 4.14.0 3.18.0 4.15.0 3.18.1 4.16.0 3.18.2 4.17.0 3.19.0 4.17.1 3.19.1 4.18.0 3.19.2 4.18.1 3.19.3 4.19.0 3.2.0 4.2.0 3.2.1 4.20.0 3.2.2 4.20.1 3.2.3 4.20.2 3.2.4 4.21.0 3.2.5 4.22.0 3.20.0 4.22.1 3.21.0 4.22.2 3.21.1 4.23.0 3.22.0 4.24.0 3.23.0 4.25.0 3.23.1 4.26.0 3.23.2 4.26.1 3.24.0 4.27.0 3.25.0 4.28.0 3.25.1 4.29.0 3.26.0 4.3.0 3.26.1 4.3.1 3.27.0 4.30.0 3.28.0 4.31.0 3.29.0 4.31.1 3.3.0 4.32.0 3.3.1 4.33.0 3.3.2 4.34.0 3.3.3 4.35.0 3.3.4 4.35.1 3.3.5 4.36.0 3.3.6 4.37.0 3.30.0 4.38.0 3.31.0 4.39.0 3.31.1 4.4.0 3.32.0 4.40.0 3.32.1 4.41.0 3.32.2 4.41.1 3.33.0 4.41.2 3.34.0 4.41.3 3.34.1 4.42.0 3.34.2 4.42.1 3.34.3 3.34.4 3.35.0 3.35.1 3.35.3 3.35.4 3.36.0 3.37.0 3.37.1 3.37.2 3.37.3 3.38.0 3.38.1 3.39.0 3.39.1 3.39.2 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.40.0 3.40.1 3.41.0 3.41.1 3.41.2 3.42.0 3.42.1 3.42.2 3.42.3 3.43.0 3.43.1 3.44.0 3.45.0 3.45.1 3.46.0 3.46.1 3.46.10 3.46.11 3.46.12 3.46.13 3.46.14 3.46.2 3.46.3 3.46.4 3.46.5 3.46.6 3.46.7 3.46.8 3.46.9 3.47.0 3.47.1 3.47.10 3.47.11 3.47.2 3.47.3 3.47.5 3.47.6 3.47.7 3.47.9 3.48.0 3.48.1 3.49.0 3.49.1 3.5.0 3.5.1 3.50.0 3.51.0 3.51.1 3.51.2 3.52.0 3.53.0 3.54.0 3.54.1 3.54.2 3.54.3 3.55.0 3.55.1 3.56.0 3.56.1 3.56.2 3.57.0 3.57.1 3.58.0 3.59.0 3.59.1 3.59.2 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.60.0 3.60.1 3.60.10 3.60.11 3.60.12 3.60.2 3.60.3 3.60.4 3.60.6 3.60.7 3.60.8 3.60.9 3.61.0 3.62.0 3.62.1 3.63.0 3.64.0 3.64.1 3.64.2 3.64.3 3.65.0 trunk 3.65.1 3.0.0 3.66.0 3.0.0-beta.1 3.67.0 3.0.0-beta.10 3.67.1 3.0.0-beta.11 3.68.0 3.0.0-beta.12 3.69.0 3.0.0-beta.13 3.69.1 3.0.0-beta.14 3.7.0
mailpoet / lib / Config / PopulatorData / Templates / WordPressTheme.php
mailpoet / lib / Config / PopulatorData / Templates Last commit date
AppWelcome.php 1 year ago Avocado.php 1 year ago Birds.php 1 year ago BirthdayCelebration.php 2 months ago BookStoreWithCoupon.php 1 year ago BrandingAgencyNews.php 1 year ago BuddhistTemple.php 1 year ago Charity.php 1 year ago CityLocalNews.php 1 year ago ClearNews.php 1 year ago Coffee.php 1 year ago College.php 1 year ago ComputerRepair.php 1 year ago ConfirmInterestBeforeDeactivation.php 2 years ago ConfirmInterestOrUnsubscribe.php 2 years ago DogFood.php 1 year ago Drone.php 1 year ago Engineering.php 1 year ago Faith.php 1 year ago FarmersMarket.php 1 year ago FashionBlog.php 1 year ago FashionBlogA.php 1 year ago FashionShop.php 1 year ago FashionStore.php 1 year ago FestivalEvent.php 1 year ago Fitness.php 1 year ago FlowersWithCoupon.php 1 year ago FoodBox.php 1 year ago GiftWelcome.php 1 year ago Guitarist.php 1 year ago HealthyFoodBlog.php 1 year ago Hotels.php 1 year ago IndustryConference.php 1 year ago JazzClub.php 1 year ago KidsClothing.php 1 year ago LifestyleBlogA.php 1 year ago LifestyleBlogB.php 1 year ago Minimal.php 1 year ago ModularStyleStories.php 1 year ago Mosque.php 1 year ago Motor.php 1 year ago Music.php 1 year ago NewsDay.php 1 year ago NewsletterBlank121Column.php 1 year ago NewsletterBlank12Column.php 1 year ago NewsletterBlank13Column.php 1 year ago NewsletterBlank1Column.php 1 year ago NewspaperTraditional.php 1 year ago NotSoMedium.php 1 year ago Painter.php 1 year ago Phone.php 1 year ago Photography.php 1 year ago PieceOfCake.php 1 year ago Poet.php 1 year ago PostNotificationsBlank1Column.php 1 year ago PrimarySchool.php 1 year ago RealEstate.php 1 year ago RenewableEnergy.php 1 year ago Retro.php 1 year ago RetroComputingMagazine.php 1 year ago RockBand.php 1 year ago RssSimpleNews.php 1 year ago ScienceWeekly.php 1 year ago Shoes.php 1 year ago SimpleText.php 2 years ago Software.php 1 year ago Sunglasses.php 1 year ago Synagogue.php 1 year ago TakeAHike.php 1 year ago Vlogger.php 1 year ago WelcomeBlank12Column.php 1 year ago WelcomeBlank1Column.php 1 year ago WideStoryLayout.php 1 year ago WineCity.php 1 year ago WordPressTheme.php 1 year ago WorldCup.php 1 year ago YogaStudio.php 1 year ago index.php 3 years ago
WordPressTheme.php
1442 lines
1 <?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing
2
3 namespace MailPoet\Config\PopulatorData\Templates;
4
5 if (!defined('ABSPATH')) exit;
6
7
8 class WordPressTheme {
9
10 private $template_image_url;
11 private $social_icon_url;
12
13 public function __construct(
14 $assets_url
15 ) {
16 $this->template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/word-press-theme';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("WordPress Theme", 'mailpoet'),
23 'categories' => json_encode(['standard', 'all']),
24 'readonly' => 1,
25 'thumbnail' => $this->getThumbnail(),
26 'body' => json_encode($this->getBody()),
27 ];
28 }
29
30 private function getThumbnail() {
31 return $this->template_image_url . '/thumbnail.20190411-1500.jpg';
32 }
33
34 private function getBody() {
35 return [
36 'content' =>
37 [
38 'type' => 'container',
39 'columnLayout' => false,
40 'orientation' => 'vertical',
41 'image' =>
42 [
43 'src' => null,
44 'display' => 'scale',
45 ],
46 'styles' =>
47 [
48 'block' =>
49 [
50 'backgroundColor' => 'transparent',
51 ],
52 ],
53 'blocks' =>
54 [
55 0 =>
56 [
57 'type' => 'container',
58 'columnLayout' => false,
59 'orientation' => 'horizontal',
60 'image' =>
61 [
62 'src' => null,
63 'display' => 'scale',
64 ],
65 'styles' =>
66 [
67 'block' =>
68 [
69 'backgroundColor' => '#b8dae3',
70 ],
71 ],
72 'blocks' =>
73 [
74 0 =>
75 [
76 'type' => 'container',
77 'columnLayout' => false,
78 'orientation' => 'vertical',
79 'image' =>
80 [
81 'src' => null,
82 'display' => 'scale',
83 ],
84 'styles' =>
85 [
86 'block' =>
87 [
88 'backgroundColor' => 'transparent',
89 ],
90 ],
91 'blocks' =>
92 [
93 0 =>
94 [
95 'type' => 'spacer',
96 'styles' =>
97 [
98 'block' =>
99 [
100 'backgroundColor' => 'transparent',
101 'height' => '20px',
102 ],
103 ],
104 ],
105 1 =>
106 [
107 'type' => 'header',
108 'text' => '<p><a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a></p>',
109 'styles' =>
110 [
111 'block' =>
112 [
113 'backgroundColor' => 'transparent',
114 ],
115 'text' =>
116 [
117 'fontColor' => '#222222',
118 'fontFamily' => 'Arvo',
119 'fontSize' => '12px',
120 'textAlign' => 'center',
121 ],
122 'link' =>
123 [
124 'fontColor' => '#222222',
125 'textDecoration' => 'none',
126 ],
127 ],
128 ],
129 ],
130 ],
131 ],
132 ],
133 1 =>
134 [
135 'type' => 'container',
136 'columnLayout' => false,
137 'orientation' => 'horizontal',
138 'image' =>
139 [
140 'src' => null,
141 'display' => 'scale',
142 ],
143 'styles' =>
144 [
145 'block' =>
146 [
147 'backgroundColor' => '#051137',
148 ],
149 ],
150 'blocks' =>
151 [
152 0 =>
153 [
154 'type' => 'container',
155 'columnLayout' => false,
156 'orientation' => 'vertical',
157 'image' =>
158 [
159 'src' => null,
160 'display' => 'scale',
161 ],
162 'styles' =>
163 [
164 'block' =>
165 [
166 'backgroundColor' => 'transparent',
167 ],
168 ],
169 'blocks' =>
170 [
171 0 =>
172 [
173 'type' => 'spacer',
174 'styles' =>
175 [
176 'block' =>
177 [
178 'backgroundColor' => 'transparent',
179 'height' => '20px',
180 ],
181 ],
182 ],
183 ],
184 ],
185 ],
186 ],
187 2 =>
188 [
189 'type' => 'container',
190 'columnLayout' => false,
191 'orientation' => 'horizontal',
192 'image' =>
193 [
194 'src' => null,
195 'display' => 'scale',
196 ],
197 'styles' =>
198 [
199 'block' =>
200 [
201 'backgroundColor' => '#051137',
202 ],
203 ],
204 'blocks' =>
205 [
206 0 =>
207 [
208 'type' => 'container',
209 'columnLayout' => false,
210 'orientation' => 'vertical',
211 'image' =>
212 [
213 'src' => null,
214 'display' => 'scale',
215 ],
216 'styles' =>
217 [
218 'block' =>
219 [
220 'backgroundColor' => 'transparent',
221 ],
222 ],
223 'blocks' =>
224 [
225 0 =>
226 [
227 'type' => 'image',
228 'link' => '',
229 'src' => $this->template_image_url . '/Wordpress-Logo.png',
230 'alt' => 'Wordpress-Logo',
231 'fullWidth' => false,
232 'width' => '260px',
233 'height' => '177px',
234 'styles' =>
235 [
236 'block' =>
237 [
238 'textAlign' => 'left',
239 ],
240 ],
241 ],
242 ],
243 ],
244 1 =>
245 [
246 'type' => 'container',
247 'columnLayout' => false,
248 'orientation' => 'vertical',
249 'image' =>
250 [
251 'src' => null,
252 'display' => 'scale',
253 ],
254 'styles' =>
255 [
256 'block' =>
257 [
258 'backgroundColor' => 'transparent',
259 ],
260 ],
261 'blocks' =>
262 [
263 0 =>
264 [
265 'type' => 'spacer',
266 'styles' =>
267 [
268 'block' =>
269 [
270 'backgroundColor' => 'transparent',
271 'height' => '22px',
272 ],
273 ],
274 ],
275 1 =>
276 [
277 'type' => 'social',
278 'iconSet' => 'official-white',
279 'icons' =>
280 [
281 0 =>
282 [
283 'type' => 'socialIcon',
284 'iconType' => 'facebook',
285 'link' => 'http://www.facebook.com',
286 'image' => $this->social_icon_url . '/12-official-white/Facebook.png',
287 'height' => '32px',
288 'width' => '32px',
289 'text' => 'Facebook',
290 ],
291 1 =>
292 [
293 'type' => 'socialIcon',
294 'iconType' => 'twitter',
295 'link' => 'http://www.twitter.com',
296 'image' => $this->social_icon_url . '/12-official-white/X.png',
297 'height' => '32px',
298 'width' => '32px',
299 'text' => 'Twitter',
300 ],
301 2 =>
302 [
303 'type' => 'socialIcon',
304 'iconType' => 'website',
305 'link' => '',
306 'image' => $this->social_icon_url . '/12-official-white/Website.png',
307 'height' => '32px',
308 'width' => '32px',
309 'text' => 'Website',
310 ],
311 3 =>
312 [
313 'type' => 'socialIcon',
314 'iconType' => 'email',
315 'link' => '',
316 'image' => $this->social_icon_url . '/12-official-white/Email.png',
317 'height' => '32px',
318 'width' => '32px',
319 'text' => 'Email',
320 ],
321 ],
322 ],
323 ],
324 ],
325 ],
326 ],
327 3 =>
328 [
329 'type' => 'container',
330 'columnLayout' => false,
331 'orientation' => 'horizontal',
332 'image' =>
333 [
334 'src' => $this->template_image_url . '/Wordpress-Header-b.jpg',
335 'display' => 'scale',
336 ],
337 'styles' =>
338 [
339 'block' =>
340 [
341 'backgroundColor' => '#2d557f',
342 ],
343 ],
344 'blocks' =>
345 [
346 0 =>
347 [
348 'type' => 'container',
349 'columnLayout' => false,
350 'orientation' => 'vertical',
351 'image' =>
352 [
353 'src' => null,
354 'display' => 'scale',
355 ],
356 'styles' =>
357 [
358 'block' =>
359 [
360 'backgroundColor' => 'transparent',
361 ],
362 ],
363 'blocks' =>
364 [
365 0 =>
366 [
367 'type' => 'spacer',
368 'styles' =>
369 [
370 'block' =>
371 [
372 'backgroundColor' => 'transparent',
373 'height' => '20px',
374 ],
375 ],
376 ],
377 1 =>
378 [
379 'type' => 'text',
380 'text' => '<h3 style="text-align: center;"><span style="color: #ffffff;">ThemeZone presents...</span></h3>',
381 ],
382 2 =>
383 [
384 'type' => 'image',
385 'link' => '',
386 'src' => $this->template_image_url . '/Wordpress-Header-img.png',
387 'alt' => 'Wordpress-Header-img',
388 'fullWidth' => false,
389 'width' => '1134px',
390 'height' => '898px',
391 'styles' =>
392 [
393 'block' =>
394 [
395 'textAlign' => 'center',
396 ],
397 ],
398 ],
399 3 =>
400 [
401 'type' => 'text',
402 'text' => '<h2 style="text-align: center;"><span style="color: #ffffff;">The Winter Theme Bundle</span></h2>
403 <p style="text-align: center;"><span style="color: #ffffff;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin placerat feugiat est, malesuada varius sem finibus a. Nunc feugiat sollicitudin gravida.</span></span></p>',
404 ],
405 4 =>
406 [
407 'type' => 'button',
408 'text' => 'Take a look',
409 'url' => '',
410 'styles' =>
411 [
412 'block' =>
413 [
414 'backgroundColor' => '#ffffff',
415 'borderColor' => '#1e986a',
416 'borderWidth' => '0px',
417 'borderRadius' => '40px',
418 'borderStyle' => 'solid',
419 'width' => '132px',
420 'lineHeight' => '50px',
421 'fontColor' => '#1a4f66',
422 'fontFamily' => 'Arvo',
423 'fontSize' => '16px',
424 'fontWeight' => 'bold',
425 'textAlign' => 'center',
426 ],
427 ],
428 ],
429 5 =>
430 [
431 'type' => 'spacer',
432 'styles' =>
433 [
434 'block' =>
435 [
436 'backgroundColor' => 'transparent',
437 'height' => '44px',
438 ],
439 ],
440 ],
441 ],
442 ],
443 ],
444 ],
445 4 =>
446 [
447 'type' => 'container',
448 'columnLayout' => false,
449 'orientation' => 'horizontal',
450 'image' =>
451 [
452 'src' => null,
453 'display' => 'scale',
454 ],
455 'styles' =>
456 [
457 'block' =>
458 [
459 'backgroundColor' => 'transparent',
460 ],
461 ],
462 'blocks' =>
463 [
464 0 =>
465 [
466 'type' => 'container',
467 'columnLayout' => false,
468 'orientation' => 'vertical',
469 'image' =>
470 [
471 'src' => null,
472 'display' => 'scale',
473 ],
474 'styles' =>
475 [
476 'block' =>
477 [
478 'backgroundColor' => 'transparent',
479 ],
480 ],
481 'blocks' =>
482 [
483 0 =>
484 [
485 'type' => 'spacer',
486 'styles' =>
487 [
488 'block' =>
489 [
490 'backgroundColor' => 'transparent',
491 'height' => '20px',
492 ],
493 ],
494 ],
495 1 =>
496 [
497 'type' => 'text',
498 'text' => '<h2 style="text-align: center;"><span style="color: #333333;">Fully customisable and ready to use</span></h2>
499 <p style="text-align: center;"><span style="color: #333333;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin placerat feugiat est, malesuada varius sem finibus a. Nunc feugiat sollicitudin gravida.</span></p>',
500 ],
501 2 =>
502 [
503 'type' => 'image',
504 'link' => '',
505 'src' => $this->template_image_url . '/Wordpress-Image-1.jpg',
506 'alt' => 'Wordpress-Image-1',
507 'fullWidth' => true,
508 'width' => '400px',
509 'height' => '340px',
510 'styles' =>
511 [
512 'block' =>
513 [
514 'textAlign' => 'center',
515 ],
516 ],
517 ],
518 3 =>
519 [
520 'type' => 'spacer',
521 'styles' =>
522 [
523 'block' =>
524 [
525 'backgroundColor' => 'transparent',
526 'height' => '20px',
527 ],
528 ],
529 ],
530 ],
531 ],
532 ],
533 ],
534 5 =>
535 [
536 'type' => 'container',
537 'columnLayout' => false,
538 'orientation' => 'horizontal',
539 'image' =>
540 [
541 'src' => null,
542 'display' => 'scale',
543 ],
544 'styles' =>
545 [
546 'block' =>
547 [
548 'backgroundColor' => 'transparent',
549 ],
550 ],
551 'blocks' =>
552 [
553 0 =>
554 [
555 'type' => 'container',
556 'columnLayout' => false,
557 'orientation' => 'vertical',
558 'image' =>
559 [
560 'src' => null,
561 'display' => 'scale',
562 ],
563 'styles' =>
564 [
565 'block' =>
566 [
567 'backgroundColor' => 'transparent',
568 ],
569 ],
570 'blocks' =>
571 [
572 0 =>
573 [
574 'type' => 'spacer',
575 'styles' =>
576 [
577 'block' =>
578 [
579 'backgroundColor' => 'transparent',
580 'height' => '60px',
581 ],
582 ],
583 ],
584 1 =>
585 [
586 'type' => 'text',
587 'text' => '<h2 style="text-align: left;"><span style="color: #333333;">Beautiful,&nbsp;simple design</span></h2>
588 <p style="text-align: left;"><span style="color: #333333;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin placerat feugiat est, malesuada varius sem finibus a. Nunc feugiat sollicitudin gravida.</span></p>',
589 ],
590 ],
591 ],
592 1 =>
593 [
594 'type' => 'container',
595 'columnLayout' => false,
596 'orientation' => 'vertical',
597 'image' =>
598 [
599 'src' => null,
600 'display' => 'scale',
601 ],
602 'styles' =>
603 [
604 'block' =>
605 [
606 'backgroundColor' => 'transparent',
607 ],
608 ],
609 'blocks' =>
610 [
611 0 =>
612 [
613 'type' => 'image',
614 'link' => '',
615 'src' => $this->template_image_url . '/Wordpress-Image-2.jpg',
616 'alt' => 'Wordpress-Image-2',
617 'fullWidth' => true,
618 'width' => '541px',
619 'height' => '454px',
620 'styles' =>
621 [
622 'block' =>
623 [
624 'textAlign' => 'center',
625 ],
626 ],
627 ],
628 ],
629 ],
630 ],
631 ],
632 6 =>
633 [
634 'type' => 'container',
635 'columnLayout' => false,
636 'orientation' => 'horizontal',
637 'image' =>
638 [
639 'src' => null,
640 'display' => 'scale',
641 ],
642 'styles' =>
643 [
644 'block' =>
645 [
646 'backgroundColor' => 'transparent',
647 ],
648 ],
649 'blocks' =>
650 [
651 0 =>
652 [
653 'type' => 'container',
654 'columnLayout' => false,
655 'orientation' => 'vertical',
656 'image' =>
657 [
658 'src' => null,
659 'display' => 'scale',
660 ],
661 'styles' =>
662 [
663 'block' =>
664 [
665 'backgroundColor' => 'transparent',
666 ],
667 ],
668 'blocks' =>
669 [
670 0 =>
671 [
672 'type' => 'spacer',
673 'styles' =>
674 [
675 'block' =>
676 [
677 'backgroundColor' => 'transparent',
678 'height' => '40px',
679 ],
680 ],
681 ],
682 ],
683 ],
684 ],
685 ],
686 7 =>
687 [
688 'type' => 'container',
689 'columnLayout' => false,
690 'orientation' => 'horizontal',
691 'image' =>
692 [
693 'src' => null,
694 'display' => 'scale',
695 ],
696 'styles' =>
697 [
698 'block' =>
699 [
700 'backgroundColor' => '#051137',
701 ],
702 ],
703 'blocks' =>
704 [
705 0 =>
706 [
707 'type' => 'container',
708 'columnLayout' => false,
709 'orientation' => 'vertical',
710 'image' =>
711 [
712 'src' => null,
713 'display' => 'scale',
714 ],
715 'styles' =>
716 [
717 'block' =>
718 [
719 'backgroundColor' => 'transparent',
720 ],
721 ],
722 'blocks' =>
723 [
724 0 =>
725 [
726 'type' => 'spacer',
727 'styles' =>
728 [
729 'block' =>
730 [
731 'backgroundColor' => 'transparent',
732 'height' => '40px',
733 ],
734 ],
735 ],
736 1 =>
737 [
738 'type' => 'text',
739 'text' => '<h2 style="text-align: center;"><span style="color: #ffffff;">Installation is super easy</span></h2>
740 <p style="text-align: center;"><span style="color: #ffffff;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin placerat feugiat est, malesuada varius sem finibus a. Nunc feugiat sollicitudin gravida.</span></span></p>',
741 ],
742 ],
743 ],
744 ],
745 ],
746 8 =>
747 [
748 'type' => 'container',
749 'columnLayout' => false,
750 'orientation' => 'horizontal',
751 'image' =>
752 [
753 'src' => null,
754 'display' => 'scale',
755 ],
756 'styles' =>
757 [
758 'block' =>
759 [
760 'backgroundColor' => '#051137',
761 ],
762 ],
763 'blocks' =>
764 [
765 0 =>
766 [
767 'type' => 'container',
768 'columnLayout' => false,
769 'orientation' => 'vertical',
770 'image' =>
771 [
772 'src' => null,
773 'display' => 'scale',
774 ],
775 'styles' =>
776 [
777 'block' =>
778 [
779 'backgroundColor' => 'transparent',
780 ],
781 ],
782 'blocks' =>
783 [
784 0 =>
785 [
786 'type' => 'text',
787 'text' => '<h2 style="text-align: center;"><span style="color: #2ecd91;"><strong>1</strong></span></h2>
788 <p style="text-align: center;"><span style="color: #ffffff;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span></span></p>',
789 ],
790 ],
791 ],
792 1 =>
793 [
794 'type' => 'container',
795 'columnLayout' => false,
796 'orientation' => 'vertical',
797 'image' =>
798 [
799 'src' => null,
800 'display' => 'scale',
801 ],
802 'styles' =>
803 [
804 'block' =>
805 [
806 'backgroundColor' => 'transparent',
807 ],
808 ],
809 'blocks' =>
810 [
811 0 =>
812 [
813 'type' => 'text',
814 'text' => '<h2 style="text-align: center;"><span style="color: #2ecd91;"><strong><span>2</span></strong></span></h2>
815 <p style="text-align: center;"><span style="color: #ffffff;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span></span></p>',
816 ],
817 ],
818 ],
819 2 =>
820 [
821 'type' => 'container',
822 'columnLayout' => false,
823 'orientation' => 'vertical',
824 'image' =>
825 [
826 'src' => null,
827 'display' => 'scale',
828 ],
829 'styles' =>
830 [
831 'block' =>
832 [
833 'backgroundColor' => 'transparent',
834 ],
835 ],
836 'blocks' =>
837 [
838 0 =>
839 [
840 'type' => 'text',
841 'text' => '<h2 style="text-align: center;"><span style="color: #2ecd91;"><strong><span>3</span></strong></span></h2>
842 <p style="text-align: center;"><span style="color: #ffffff;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span></span></p>',
843 ],
844 ],
845 ],
846 ],
847 ],
848 9 =>
849 [
850 'type' => 'container',
851 'columnLayout' => false,
852 'orientation' => 'horizontal',
853 'image' =>
854 [
855 'src' => null,
856 'display' => 'scale',
857 ],
858 'styles' =>
859 [
860 'block' =>
861 [
862 'backgroundColor' => '#051137',
863 ],
864 ],
865 'blocks' =>
866 [
867 0 =>
868 [
869 'type' => 'container',
870 'columnLayout' => false,
871 'orientation' => 'vertical',
872 'image' =>
873 [
874 'src' => null,
875 'display' => 'scale',
876 ],
877 'styles' =>
878 [
879 'block' =>
880 [
881 'backgroundColor' => 'transparent',
882 ],
883 ],
884 'blocks' =>
885 [
886 0 =>
887 [
888 'type' => 'spacer',
889 'styles' =>
890 [
891 'block' =>
892 [
893 'backgroundColor' => 'transparent',
894 'height' => '30px',
895 ],
896 ],
897 ],
898 ],
899 ],
900 ],
901 ],
902 10 =>
903 [
904 'type' => 'container',
905 'columnLayout' => false,
906 'orientation' => 'horizontal',
907 'image' =>
908 [
909 'src' => null,
910 'display' => 'scale',
911 ],
912 'styles' =>
913 [
914 'block' =>
915 [
916 'backgroundColor' => '#b8dae3',
917 ],
918 ],
919 'blocks' =>
920 [
921 0 =>
922 [
923 'type' => 'container',
924 'columnLayout' => false,
925 'orientation' => 'vertical',
926 'image' =>
927 [
928 'src' => null,
929 'display' => 'scale',
930 ],
931 'styles' =>
932 [
933 'block' =>
934 [
935 'backgroundColor' => 'transparent',
936 ],
937 ],
938 'blocks' =>
939 [
940 0 =>
941 [
942 'type' => 'spacer',
943 'styles' =>
944 [
945 'block' =>
946 [
947 'backgroundColor' => 'transparent',
948 'height' => '40px',
949 ],
950 ],
951 ],
952 ],
953 ],
954 ],
955 ],
956 11 =>
957 [
958 'type' => 'container',
959 'columnLayout' => false,
960 'orientation' => 'horizontal',
961 'image' =>
962 [
963 'src' => null,
964 'display' => 'scale',
965 ],
966 'styles' =>
967 [
968 'block' =>
969 [
970 'backgroundColor' => '#b8dae3',
971 ],
972 ],
973 'blocks' =>
974 [
975 0 =>
976 [
977 'type' => 'container',
978 'columnLayout' => false,
979 'orientation' => 'vertical',
980 'image' =>
981 [
982 'src' => null,
983 'display' => 'scale',
984 ],
985 'styles' =>
986 [
987 'block' =>
988 [
989 'backgroundColor' => 'transparent',
990 ],
991 ],
992 'blocks' =>
993 [
994 0 =>
995 [
996 'type' => 'image',
997 'link' => '',
998 'src' => $this->template_image_url . '/Wordpress-Logo-Footer.png',
999 'alt' => 'Wordpress-Logo-Footer',
1000 'fullWidth' => false,
1001 'width' => '190px',
1002 'height' => '177px',
1003 'styles' =>
1004 [
1005 'block' =>
1006 [
1007 'textAlign' => 'left',
1008 ],
1009 ],
1010 ],
1011 ],
1012 ],
1013 1 =>
1014 [
1015 'type' => 'container',
1016 'columnLayout' => false,
1017 'orientation' => 'vertical',
1018 'image' =>
1019 [
1020 'src' => null,
1021 'display' => 'scale',
1022 ],
1023 'styles' =>
1024 [
1025 'block' =>
1026 [
1027 'backgroundColor' => 'transparent',
1028 ],
1029 ],
1030 'blocks' =>
1031 [
1032 0 =>
1033 [
1034 'type' => 'footer',
1035 'text' => '<p><a href="[link:subscription_unsubscribe_url]">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]">' . __("Manage your subscription", 'mailpoet') . '</a><br />' . __("Add your postal address here!", 'mailpoet') . '</p>',
1036 'styles' =>
1037 [
1038 'block' =>
1039 [
1040 'backgroundColor' => 'transparent',
1041 ],
1042 'text' =>
1043 [
1044 'fontColor' => '#222222',
1045 'fontFamily' => 'Arvo',
1046 'fontSize' => '12px',
1047 'textAlign' => 'right',
1048 ],
1049 'link' =>
1050 [
1051 'fontColor' => '#051137',
1052 'textDecoration' => 'underline',
1053 ],
1054 ],
1055 ],
1056 ],
1057 ],
1058 ],
1059 ],
1060 ],
1061 ],
1062 'globalStyles' =>
1063 [
1064 'text' =>
1065 [
1066 'fontColor' => '#000000',
1067 'fontFamily' => 'Arvo',
1068 'fontSize' => '14px',
1069 ],
1070 'h1' =>
1071 [
1072 'fontColor' => '#111111',
1073 'fontFamily' => 'Arvo',
1074 'fontSize' => '30px',
1075 ],
1076 'h2' =>
1077 [
1078 'fontColor' => '#222222',
1079 'fontFamily' => 'Arvo',
1080 'fontSize' => '24px',
1081 ],
1082 'h3' =>
1083 [
1084 'fontColor' => '#333333',
1085 'fontFamily' => 'Arvo',
1086 'fontSize' => '22px',
1087 ],
1088 'link' =>
1089 [
1090 'fontColor' => '#21759B',
1091 'textDecoration' => 'underline',
1092 ],
1093 'wrapper' =>
1094 [
1095 'backgroundColor' => '#ffffff',
1096 ],
1097 'body' =>
1098 [
1099 'backgroundColor' => '#b8dae3',
1100 ],
1101 ],
1102 'blockDefaults' =>
1103 [
1104 'automatedLatestContent' =>
1105 [
1106 'amount' => '5',
1107 'withLayout' => false,
1108 'contentType' => 'post',
1109 'inclusionType' => 'include',
1110 'displayType' => 'excerpt',
1111 'titleFormat' => 'h1',
1112 'titleAlignment' => 'left',
1113 'titleIsLink' => false,
1114 'imageFullWidth' => false,
1115 'featuredImagePosition' => 'belowTitle',
1116 'showAuthor' => 'no',
1117 'authorPrecededBy' => 'Author:',
1118 'showCategories' => 'no',
1119 'categoriesPrecededBy' => 'Categories:',
1120 'readMoreType' => 'button',
1121 'readMoreText' => 'Read more',
1122 'readMoreButton' =>
1123 [
1124 'text' => 'Read more',
1125 'url' => '[postLink]',
1126 'context' => 'automatedLatestContent.readMoreButton',
1127 'styles' =>
1128 [
1129 'block' =>
1130 [
1131 'backgroundColor' => '#2ea1cd',
1132 'borderColor' => '#0074a2',
1133 'borderWidth' => '1px',
1134 'borderRadius' => '5px',
1135 'borderStyle' => 'solid',
1136 'width' => '180px',
1137 'lineHeight' => '40px',
1138 'fontColor' => '#ffffff',
1139 'fontFamily' => 'Verdana',
1140 'fontSize' => '18px',
1141 'fontWeight' => 'normal',
1142 'textAlign' => 'center',
1143 ],
1144 ],
1145 ],
1146 'sortBy' => 'newest',
1147 'showDivider' => true,
1148 'divider' =>
1149 [
1150 'context' => 'automatedLatestContent.divider',
1151 'styles' =>
1152 [
1153 'block' =>
1154 [
1155 'backgroundColor' => 'transparent',
1156 'padding' => '13px',
1157 'borderStyle' => 'solid',
1158 'borderWidth' => '3px',
1159 'borderColor' => '#aaaaaa',
1160 ],
1161 ],
1162 ],
1163 'backgroundColor' => '#ffffff',
1164 'backgroundColorAlternate' => '#eeeeee',
1165 ],
1166 'automatedLatestContentLayout' =>
1167 [
1168 'amount' => '5',
1169 'withLayout' => true,
1170 'contentType' => 'post',
1171 'inclusionType' => 'include',
1172 'displayType' => 'excerpt',
1173 'titleFormat' => 'h1',
1174 'titleAlignment' => 'left',
1175 'titleIsLink' => false,
1176 'imageFullWidth' => false,
1177 'featuredImagePosition' => 'alternate',
1178 'showAuthor' => 'no',
1179 'authorPrecededBy' => 'Author:',
1180 'showCategories' => 'no',
1181 'categoriesPrecededBy' => 'Categories:',
1182 'readMoreType' => 'button',
1183 'readMoreText' => 'Read more',
1184 'readMoreButton' =>
1185 [
1186 'text' => 'Read more',
1187 'url' => '[postLink]',
1188 'context' => 'automatedLatestContentLayout.readMoreButton',
1189 'styles' =>
1190 [
1191 'block' =>
1192 [
1193 'backgroundColor' => '#2ea1cd',
1194 'borderColor' => '#0074a2',
1195 'borderWidth' => '1px',
1196 'borderRadius' => '5px',
1197 'borderStyle' => 'solid',
1198 'width' => '180px',
1199 'lineHeight' => '40px',
1200 'fontColor' => '#ffffff',
1201 'fontFamily' => 'Verdana',
1202 'fontSize' => '18px',
1203 'fontWeight' => 'normal',
1204 'textAlign' => 'center',
1205 ],
1206 ],
1207 ],
1208 'sortBy' => 'newest',
1209 'showDivider' => true,
1210 'divider' =>
1211 [
1212 'context' => 'automatedLatestContentLayout.divider',
1213 'styles' =>
1214 [
1215 'block' =>
1216 [
1217 'backgroundColor' => 'transparent',
1218 'padding' => '13px',
1219 'borderStyle' => 'solid',
1220 'borderWidth' => '3px',
1221 'borderColor' => '#aaaaaa',
1222 ],
1223 ],
1224 ],
1225 'backgroundColor' => '#ffffff',
1226 'backgroundColorAlternate' => '#eeeeee',
1227 ],
1228 'button' =>
1229 [
1230 'text' => 'Take a look',
1231 'url' => '',
1232 'styles' =>
1233 [
1234 'block' =>
1235 [
1236 'backgroundColor' => '#ffffff',
1237 'borderColor' => '#1e986a',
1238 'borderWidth' => '0px',
1239 'borderRadius' => '40px',
1240 'borderStyle' => 'solid',
1241 'width' => '132px',
1242 'lineHeight' => '50px',
1243 'fontColor' => '#1a4f66',
1244 'fontFamily' => 'Arvo',
1245 'fontSize' => '16px',
1246 'fontWeight' => 'bold',
1247 'textAlign' => 'center',
1248 ],
1249 ],
1250 'type' => 'button',
1251 ],
1252 'divider' =>
1253 [
1254 'styles' =>
1255 [
1256 'block' =>
1257 [
1258 'backgroundColor' => 'transparent',
1259 'padding' => '13px',
1260 'borderStyle' => 'dotted',
1261 'borderWidth' => '4px',
1262 'borderColor' => '#21377e',
1263 ],
1264 ],
1265 'type' => 'divider',
1266 ],
1267 'footer' =>
1268 [
1269 'text' => '<p><a href="[link:subscription_unsubscribe_url]">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]">' . __("Manage your subscription", 'mailpoet') . '</a><br />' . __("Add your postal address here!", 'mailpoet') . '</p>',
1270 'styles' =>
1271 [
1272 'block' =>
1273 [
1274 'backgroundColor' => 'transparent',
1275 ],
1276 'text' =>
1277 [
1278 'fontColor' => '#222222',
1279 'fontFamily' => 'Arvo',
1280 'fontSize' => '12px',
1281 'textAlign' => 'right',
1282 ],
1283 'link' =>
1284 [
1285 'fontColor' => '#051137',
1286 'textDecoration' => 'underline',
1287 ],
1288 ],
1289 'type' => 'footer',
1290 ],
1291 'posts' =>
1292 [
1293 'amount' => '10',
1294 'withLayout' => true,
1295 'contentType' => 'post',
1296 'postStatus' => 'publish',
1297 'inclusionType' => 'include',
1298 'displayType' => 'excerpt',
1299 'titleFormat' => 'h1',
1300 'titleAlignment' => 'left',
1301 'titleIsLink' => false,
1302 'imageFullWidth' => false,
1303 'featuredImagePosition' => 'alternate',
1304 'showAuthor' => 'no',
1305 'authorPrecededBy' => 'Author:',
1306 'showCategories' => 'no',
1307 'categoriesPrecededBy' => 'Categories:',
1308 'readMoreType' => 'link',
1309 'readMoreText' => 'Read more',
1310 'readMoreButton' =>
1311 [
1312 'text' => 'Read more',
1313 'url' => '[postLink]',
1314 'context' => 'posts.readMoreButton',
1315 'styles' =>
1316 [
1317 'block' =>
1318 [
1319 'backgroundColor' => '#2ea1cd',
1320 'borderColor' => '#0074a2',
1321 'borderWidth' => '1px',
1322 'borderRadius' => '5px',
1323 'borderStyle' => 'solid',
1324 'width' => '180px',
1325 'lineHeight' => '40px',
1326 'fontColor' => '#ffffff',
1327 'fontFamily' => 'Verdana',
1328 'fontSize' => '18px',
1329 'fontWeight' => 'normal',
1330 'textAlign' => 'center',
1331 ],
1332 ],
1333 ],
1334 'sortBy' => 'newest',
1335 'showDivider' => true,
1336 'divider' =>
1337 [
1338 'context' => 'posts.divider',
1339 'styles' =>
1340 [
1341 'block' =>
1342 [
1343 'backgroundColor' => 'transparent',
1344 'padding' => '13px',
1345 'borderStyle' => 'solid',
1346 'borderWidth' => '3px',
1347 'borderColor' => '#aaaaaa',
1348 ],
1349 ],
1350 ],
1351 'backgroundColor' => '#ffffff',
1352 'backgroundColorAlternate' => '#eeeeee',
1353 ],
1354 'social' =>
1355 [
1356 'iconSet' => 'official-white',
1357 'icons' =>
1358 [
1359 0 =>
1360 [
1361 'type' => 'socialIcon',
1362 'iconType' => 'facebook',
1363 'link' => 'http://www.facebook.com',
1364 'image' => $this->social_icon_url . '/12-official-white/Facebook.png',
1365 'height' => '32px',
1366 'width' => '32px',
1367 'text' => 'Facebook',
1368 ],
1369 1 =>
1370 [
1371 'type' => 'socialIcon',
1372 'iconType' => 'twitter',
1373 'link' => 'http://www.twitter.com',
1374 'image' => $this->social_icon_url . '/12-official-white/X.png',
1375 'height' => '32px',
1376 'width' => '32px',
1377 'text' => 'Twitter',
1378 ],
1379 2 =>
1380 [
1381 'type' => 'socialIcon',
1382 'iconType' => 'website',
1383 'link' => '',
1384 'image' => $this->social_icon_url . '/12-official-white/Website.png',
1385 'height' => '32px',
1386 'width' => '32px',
1387 'text' => 'Website',
1388 ],
1389 3 =>
1390 [
1391 'type' => 'socialIcon',
1392 'iconType' => 'email',
1393 'link' => '',
1394 'image' => $this->social_icon_url . '/12-official-white/Email.png',
1395 'height' => '32px',
1396 'width' => '32px',
1397 'text' => 'Email',
1398 ],
1399 ],
1400 'type' => 'social',
1401 ],
1402 'spacer' =>
1403 [
1404 'styles' =>
1405 [
1406 'block' =>
1407 [
1408 'backgroundColor' => 'transparent',
1409 'height' => '20px',
1410 ],
1411 ],
1412 'type' => 'spacer',
1413 ],
1414 'header' =>
1415 [
1416 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
1417 'styles' =>
1418 [
1419 'block' =>
1420 [
1421 'backgroundColor' => 'transparent',
1422 ],
1423 'text' =>
1424 [
1425 'fontColor' => '#222222',
1426 'fontFamily' => 'Arvo',
1427 'fontSize' => '12px',
1428 'textAlign' => 'center',
1429 ],
1430 'link' =>
1431 [
1432 'fontColor' => '#222222',
1433 'textDecoration' => 'none',
1434 ],
1435 ],
1436 'type' => 'header',
1437 ],
1438 ],
1439 ];
1440 }
1441 }
1442