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 / Retro.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
Retro.php
1338 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 Retro {
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/retro';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("Retro", '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 'orientation' => 'vertical',
40 'image' =>
41 [
42 'src' => null,
43 'display' => 'scale',
44 ],
45 'styles' =>
46 [
47 'block' =>
48 [
49 'backgroundColor' => 'transparent',
50 ],
51 ],
52 'blocks' =>
53 [
54 0 =>
55 [
56 'type' => 'container',
57 'orientation' => 'horizontal',
58 'image' =>
59 [
60 'src' => null,
61 'display' => 'scale',
62 ],
63 'styles' =>
64 [
65 'block' =>
66 [
67 'backgroundColor' => '#f8f8f8',
68 ],
69 ],
70 'blocks' =>
71 [
72 0 =>
73 [
74 'type' => 'container',
75 'orientation' => 'vertical',
76 'image' =>
77 [
78 'src' => null,
79 'display' => 'scale',
80 ],
81 'styles' =>
82 [
83 'block' =>
84 [
85 'backgroundColor' => 'transparent',
86 ],
87 ],
88 'blocks' =>
89 [
90 0 =>
91 [
92 'type' => 'image',
93 'link' => '',
94 'src' => $this->template_image_url . '/1980s-Header.jpg',
95 'alt' => '1980s-Header',
96 'fullWidth' => true,
97 'width' => '1280px',
98 'height' => '740px',
99 'styles' =>
100 [
101 'block' =>
102 [
103 'textAlign' => 'center',
104 ],
105 ],
106 ],
107 ],
108 ],
109 ],
110 ],
111 1 =>
112 [
113 'type' => 'container',
114 'orientation' => 'horizontal',
115 'image' =>
116 [
117 'src' => null,
118 'display' => 'scale',
119 ],
120 'styles' =>
121 [
122 'block' =>
123 [
124 'backgroundColor' => '#ffffff',
125 ],
126 ],
127 'blocks' =>
128 [
129 0 =>
130 [
131 'type' => 'container',
132 'orientation' => 'vertical',
133 'image' =>
134 [
135 'src' => null,
136 'display' => 'scale',
137 ],
138 'styles' =>
139 [
140 'block' =>
141 [
142 'backgroundColor' => 'transparent',
143 ],
144 ],
145 'blocks' =>
146 [
147 0 =>
148 [
149 'type' => 'spacer',
150 'styles' =>
151 [
152 'block' =>
153 [
154 'backgroundColor' => 'transparent',
155 'height' => '30px',
156 ],
157 ],
158 ],
159 1 =>
160 [
161 'type' => 'text',
162 'text' => '<h2 style="text-align: left;"><strong>Welcome back !</strong></h2>
163 <p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>',
164 ],
165 2 =>
166 [
167 'type' => 'divider',
168 'styles' =>
169 [
170 'block' =>
171 [
172 'backgroundColor' => 'transparent',
173 'padding' => '13px',
174 'borderStyle' => 'solid',
175 'borderWidth' => '2px',
176 'borderColor' => '#f36543',
177 ],
178 ],
179 ],
180 3 =>
181 [
182 'type' => 'spacer',
183 'styles' =>
184 [
185 'block' =>
186 [
187 'backgroundColor' => 'transparent',
188 'height' => '20px',
189 ],
190 ],
191 ],
192 ],
193 ],
194 ],
195 ],
196 2 =>
197 [
198 'type' => 'container',
199 'orientation' => 'horizontal',
200 'image' =>
201 [
202 'src' => null,
203 'display' => 'scale',
204 ],
205 'styles' =>
206 [
207 'block' =>
208 [
209 'backgroundColor' => 'transparent',
210 ],
211 ],
212 'blocks' =>
213 [
214 0 =>
215 [
216 'type' => 'container',
217 'orientation' => 'vertical',
218 'image' =>
219 [
220 'src' => null,
221 'display' => 'scale',
222 ],
223 'styles' =>
224 [
225 'block' =>
226 [
227 'backgroundColor' => 'transparent',
228 ],
229 ],
230 'blocks' =>
231 [
232 0 =>
233 [
234 'type' => 'image',
235 'link' => '',
236 'src' => $this->template_image_url . '/1980s-Download-1.jpg',
237 'alt' => '1980s-Download-1',
238 'fullWidth' => false,
239 'width' => '364px',
240 'height' => '291px',
241 'styles' =>
242 [
243 'block' =>
244 [
245 'textAlign' => 'center',
246 ],
247 ],
248 ],
249 ],
250 ],
251 1 =>
252 [
253 'type' => 'container',
254 'orientation' => 'vertical',
255 'image' =>
256 [
257 'src' => null,
258 'display' => 'scale',
259 ],
260 'styles' =>
261 [
262 'block' =>
263 [
264 'backgroundColor' => 'transparent',
265 ],
266 ],
267 'blocks' =>
268 [
269 0 =>
270 [
271 'type' => 'text',
272 'text' => '<h3><strong>Free Retro-Futuristic Font</strong></h3>
273 <p><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In elementum nunc vel est congue, a venenatis nunc aliquet. Curabitur luctus, nulla et dignissim elementum, ipsum eros fermentum nulla, non cursus eros mi eu velit.</span></p>',
274 ],
275 1 =>
276 [
277 'type' => 'button',
278 'text' => 'Download Here',
279 'url' => '',
280 'styles' =>
281 [
282 'block' =>
283 [
284 'backgroundColor' => '#f36543',
285 'borderColor' => '#f36543',
286 'borderWidth' => '1px',
287 'borderRadius' => '40px',
288 'borderStyle' => 'solid',
289 'width' => '150px',
290 'lineHeight' => '40px',
291 'fontColor' => '#ffffff',
292 'fontFamily' => 'Arial',
293 'fontSize' => '14px',
294 'fontWeight' => 'bold',
295 'textAlign' => 'left',
296 ],
297 ],
298 ],
299 ],
300 ],
301 ],
302 ],
303 3 =>
304 [
305 'type' => 'container',
306 'orientation' => 'horizontal',
307 'image' =>
308 [
309 'src' => null,
310 'display' => 'scale',
311 ],
312 'styles' =>
313 [
314 'block' =>
315 [
316 'backgroundColor' => 'transparent',
317 ],
318 ],
319 'blocks' =>
320 [
321 0 =>
322 [
323 'type' => 'container',
324 'orientation' => 'vertical',
325 'image' =>
326 [
327 'src' => null,
328 'display' => 'scale',
329 ],
330 'styles' =>
331 [
332 'block' =>
333 [
334 'backgroundColor' => 'transparent',
335 ],
336 ],
337 'blocks' =>
338 [
339 0 =>
340 [
341 'type' => 'spacer',
342 'styles' =>
343 [
344 'block' =>
345 [
346 'backgroundColor' => 'transparent',
347 'height' => '20px',
348 ],
349 ],
350 ],
351 ],
352 ],
353 ],
354 ],
355 4 =>
356 [
357 'type' => 'container',
358 'orientation' => 'horizontal',
359 'image' =>
360 [
361 'src' => null,
362 'display' => 'scale',
363 ],
364 'styles' =>
365 [
366 'block' =>
367 [
368 'backgroundColor' => 'transparent',
369 ],
370 ],
371 'blocks' =>
372 [
373 0 =>
374 [
375 'type' => 'container',
376 'orientation' => 'vertical',
377 'image' =>
378 [
379 'src' => null,
380 'display' => 'scale',
381 ],
382 'styles' =>
383 [
384 'block' =>
385 [
386 'backgroundColor' => 'transparent',
387 ],
388 ],
389 'blocks' =>
390 [
391 0 =>
392 [
393 'type' => 'image',
394 'link' => '',
395 'src' => $this->template_image_url . '/1980s-Download-2.jpg',
396 'alt' => '1980s-Download-2',
397 'fullWidth' => false,
398 'width' => '364px',
399 'height' => '291px',
400 'styles' =>
401 [
402 'block' =>
403 [
404 'textAlign' => 'center',
405 ],
406 ],
407 ],
408 ],
409 ],
410 1 =>
411 [
412 'type' => 'container',
413 'orientation' => 'vertical',
414 'image' =>
415 [
416 'src' => null,
417 'display' => 'scale',
418 ],
419 'styles' =>
420 [
421 'block' =>
422 [
423 'backgroundColor' => 'transparent',
424 ],
425 ],
426 'blocks' =>
427 [
428 0 =>
429 [
430 'type' => 'text',
431 'text' => '<h3><span style="font-weight: 600;">New UI Kit now available</span></h3>
432 <p><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In elementum nunc vel est congue, a venenatis nunc aliquet. Curabitur luctus, nulla et dignissim elementum, ipsum eros fermentum nulla, non cursus eros mi eu velit.</span></p>',
433 ],
434 1 =>
435 [
436 'type' => 'button',
437 'text' => 'Download Here',
438 'url' => '',
439 'styles' =>
440 [
441 'block' =>
442 [
443 'backgroundColor' => '#f36543',
444 'borderColor' => '#f36543',
445 'borderWidth' => '1px',
446 'borderRadius' => '40px',
447 'borderStyle' => 'solid',
448 'width' => '150px',
449 'lineHeight' => '40px',
450 'fontColor' => '#ffffff',
451 'fontFamily' => 'Arial',
452 'fontSize' => '14px',
453 'fontWeight' => 'bold',
454 'textAlign' => 'left',
455 ],
456 ],
457 ],
458 ],
459 ],
460 ],
461 ],
462 5 =>
463 [
464 'type' => 'container',
465 'orientation' => 'horizontal',
466 'image' =>
467 [
468 'src' => null,
469 'display' => 'scale',
470 ],
471 'styles' =>
472 [
473 'block' =>
474 [
475 'backgroundColor' => 'transparent',
476 ],
477 ],
478 'blocks' =>
479 [
480 0 =>
481 [
482 'type' => 'container',
483 'orientation' => 'vertical',
484 'image' =>
485 [
486 'src' => null,
487 'display' => 'scale',
488 ],
489 'styles' =>
490 [
491 'block' =>
492 [
493 'backgroundColor' => 'transparent',
494 ],
495 ],
496 'blocks' =>
497 [
498 0 =>
499 [
500 'type' => 'spacer',
501 'styles' =>
502 [
503 'block' =>
504 [
505 'backgroundColor' => 'transparent',
506 'height' => '20px',
507 ],
508 ],
509 ],
510 ],
511 ],
512 ],
513 ],
514 6 =>
515 [
516 'type' => 'container',
517 'orientation' => 'horizontal',
518 'image' =>
519 [
520 'src' => null,
521 'display' => 'scale',
522 ],
523 'styles' =>
524 [
525 'block' =>
526 [
527 'backgroundColor' => 'transparent',
528 ],
529 ],
530 'blocks' =>
531 [
532 0 =>
533 [
534 'type' => 'container',
535 'orientation' => 'vertical',
536 'image' =>
537 [
538 'src' => null,
539 'display' => 'scale',
540 ],
541 'styles' =>
542 [
543 'block' =>
544 [
545 'backgroundColor' => 'transparent',
546 ],
547 ],
548 'blocks' =>
549 [
550 0 =>
551 [
552 'type' => 'image',
553 'link' => '',
554 'src' => $this->template_image_url . '/1980s-Download-3.jpg',
555 'alt' => '1980s-Download-3',
556 'fullWidth' => false,
557 'width' => '364px',
558 'height' => '291px',
559 'styles' =>
560 [
561 'block' =>
562 [
563 'textAlign' => 'center',
564 ],
565 ],
566 ],
567 ],
568 ],
569 1 =>
570 [
571 'type' => 'container',
572 'orientation' => 'vertical',
573 'image' =>
574 [
575 'src' => null,
576 'display' => 'scale',
577 ],
578 'styles' =>
579 [
580 'block' =>
581 [
582 'backgroundColor' => 'transparent',
583 ],
584 ],
585 'blocks' =>
586 [
587 0 =>
588 [
589 'type' => 'text',
590 'text' => '<h3><strong>Free&nbsp;Retro Patterns</strong></h3>
591 <p><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In elementum nunc vel est congue, a venenatis nunc aliquet. Curabitur luctus, nulla et dignissim elementum, ipsum eros fermentum nulla, non cursus eros mi eu velit.</span></p>',
592 ],
593 1 =>
594 [
595 'type' => 'button',
596 'text' => 'Download Here',
597 'url' => '',
598 'styles' =>
599 [
600 'block' =>
601 [
602 'backgroundColor' => '#f36543',
603 'borderColor' => '#f36543',
604 'borderWidth' => '1px',
605 'borderRadius' => '40px',
606 'borderStyle' => 'solid',
607 'width' => '150px',
608 'lineHeight' => '40px',
609 'fontColor' => '#ffffff',
610 'fontFamily' => 'Arial',
611 'fontSize' => '14px',
612 'fontWeight' => 'bold',
613 'textAlign' => 'left',
614 ],
615 ],
616 ],
617 ],
618 ],
619 ],
620 ],
621 7 =>
622 [
623 'type' => 'container',
624 'orientation' => 'horizontal',
625 'image' =>
626 [
627 'src' => null,
628 'display' => 'scale',
629 ],
630 'styles' =>
631 [
632 'block' =>
633 [
634 'backgroundColor' => 'transparent',
635 ],
636 ],
637 'blocks' =>
638 [
639 0 =>
640 [
641 'type' => 'container',
642 'orientation' => 'vertical',
643 'image' =>
644 [
645 'src' => null,
646 'display' => 'scale',
647 ],
648 'styles' =>
649 [
650 'block' =>
651 [
652 'backgroundColor' => 'transparent',
653 ],
654 ],
655 'blocks' =>
656 [
657 0 =>
658 [
659 'type' => 'spacer',
660 'styles' =>
661 [
662 'block' =>
663 [
664 'backgroundColor' => '#12233c',
665 'height' => '40px',
666 ],
667 ],
668 ],
669 ],
670 ],
671 ],
672 ],
673 8 =>
674 [
675 'type' => 'container',
676 'orientation' => 'horizontal',
677 'image' =>
678 [
679 'src' => $this->template_image_url . '/1980s-Footer.jpg',
680 'display' => 'scale',
681 ],
682 'styles' =>
683 [
684 'block' =>
685 [
686 'backgroundColor' => 'transparent',
687 ],
688 ],
689 'blocks' =>
690 [
691 0 =>
692 [
693 'type' => 'container',
694 'orientation' => 'vertical',
695 'image' =>
696 [
697 'src' => null,
698 'display' => 'scale',
699 ],
700 'styles' =>
701 [
702 'block' =>
703 [
704 'backgroundColor' => 'transparent',
705 ],
706 ],
707 'blocks' =>
708 [
709 0 =>
710 [
711 'type' => 'spacer',
712 'styles' =>
713 [
714 'block' =>
715 [
716 'backgroundColor' => 'transparent',
717 'height' => '140px',
718 ],
719 ],
720 ],
721 1 =>
722 [
723 'type' => 'text',
724 'text' => '<h1 style="text-align: center;"><span style="color: #ffffff;">Retro Downloads</span></h1>
725 <h1 style="text-align: center;"><span style="color: #ffffff;">To Your Inbox</span></h1>
726 <h1 style="text-align: center;"><span style="color: #ffffff;">Every Week</span></h1>',
727 ],
728 2 =>
729 [
730 'type' => 'spacer',
731 'styles' =>
732 [
733 'block' =>
734 [
735 'backgroundColor' => 'transparent',
736 'height' => '120px',
737 ],
738 ],
739 ],
740 ],
741 ],
742 ],
743 ],
744 9 =>
745 [
746 'type' => 'container',
747 'orientation' => 'horizontal',
748 'image' =>
749 [
750 'src' => null,
751 'display' => 'scale',
752 ],
753 'styles' =>
754 [
755 'block' =>
756 [
757 'backgroundColor' => 'transparent',
758 ],
759 ],
760 'blocks' =>
761 [
762 0 =>
763 [
764 'type' => 'container',
765 'orientation' => 'vertical',
766 'image' =>
767 [
768 'src' => null,
769 'display' => 'scale',
770 ],
771 'styles' =>
772 [
773 'block' =>
774 [
775 'backgroundColor' => 'transparent',
776 ],
777 ],
778 'blocks' =>
779 [
780 0 =>
781 [
782 'type' => 'spacer',
783 'styles' =>
784 [
785 'block' =>
786 [
787 'backgroundColor' => '#12233c',
788 'height' => '20px',
789 ],
790 ],
791 ],
792 ],
793 ],
794 ],
795 ],
796 10 =>
797 [
798 'type' => 'container',
799 'orientation' => 'horizontal',
800 'image' =>
801 [
802 'src' => null,
803 'display' => 'scale',
804 ],
805 'styles' =>
806 [
807 'block' =>
808 [
809 'backgroundColor' => '#12223b',
810 ],
811 ],
812 'blocks' =>
813 [
814 0 =>
815 [
816 'type' => 'container',
817 'orientation' => 'vertical',
818 'image' =>
819 [
820 'src' => null,
821 'display' => 'scale',
822 ],
823 'styles' =>
824 [
825 'block' =>
826 [
827 'backgroundColor' => 'transparent',
828 ],
829 ],
830 'blocks' =>
831 [
832 0 =>
833 [
834 'type' => 'footer',
835 '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>',
836 'styles' =>
837 [
838 'block' =>
839 [
840 'backgroundColor' => 'transparent',
841 ],
842 'text' =>
843 [
844 'fontColor' => '#ffffff',
845 'fontFamily' => 'Arial',
846 'fontSize' => '12px',
847 'textAlign' => 'left',
848 ],
849 'link' =>
850 [
851 'fontColor' => '#f36543',
852 'textDecoration' => 'underline',
853 ],
854 ],
855 ],
856 ],
857 ],
858 1 =>
859 [
860 'type' => 'container',
861 'orientation' => 'vertical',
862 'image' =>
863 [
864 'src' => null,
865 'display' => 'scale',
866 ],
867 'styles' =>
868 [
869 'block' =>
870 [
871 'backgroundColor' => 'transparent',
872 ],
873 ],
874 'blocks' =>
875 [
876 0 =>
877 [
878 'type' => 'social',
879 'iconSet' => 'official-white',
880 'icons' =>
881 [
882 0 =>
883 [
884 'type' => 'socialIcon',
885 'iconType' => 'facebook',
886 'link' => 'http://www.facebook.com',
887 'image' => $this->social_icon_url . '/12-official-white/Facebook.png',
888 'height' => '32px',
889 'width' => '32px',
890 'text' => 'Facebook',
891 ],
892 1 =>
893 [
894 'type' => 'socialIcon',
895 'iconType' => 'twitter',
896 'link' => 'http://www.twitter.com',
897 'image' => $this->social_icon_url . '/12-official-white/X.png',
898 'height' => '32px',
899 'width' => '32px',
900 'text' => 'Twitter',
901 ],
902 2 =>
903 [
904 'type' => 'socialIcon',
905 'iconType' => 'youtube',
906 'link' => 'http://www.youtube.com',
907 'image' => $this->social_icon_url . '/12-official-white/Youtube.png',
908 'height' => '32px',
909 'width' => '32px',
910 'text' => 'Youtube',
911 ],
912 3 =>
913 [
914 'type' => 'socialIcon',
915 'iconType' => 'email',
916 'link' => '',
917 'image' => $this->social_icon_url . '/12-official-white/Email.png',
918 'height' => '32px',
919 'width' => '32px',
920 'text' => 'Email',
921 ],
922 ],
923 ],
924 ],
925 ],
926 ],
927 ],
928 11 =>
929 [
930 'type' => 'container',
931 'orientation' => 'horizontal',
932 'image' =>
933 [
934 'src' => null,
935 'display' => 'scale',
936 ],
937 'styles' =>
938 [
939 'block' =>
940 [
941 'backgroundColor' => '#12233c',
942 ],
943 ],
944 'blocks' =>
945 [
946 0 =>
947 [
948 'type' => 'container',
949 'orientation' => 'vertical',
950 'image' =>
951 [
952 'src' => null,
953 'display' => 'scale',
954 ],
955 'styles' =>
956 [
957 'block' =>
958 [
959 'backgroundColor' => 'transparent',
960 ],
961 ],
962 'blocks' =>
963 [
964 0 =>
965 [
966 'type' => 'spacer',
967 'styles' =>
968 [
969 'block' =>
970 [
971 'backgroundColor' => 'transparent',
972 'height' => '20px',
973 ],
974 ],
975 ],
976 ],
977 ],
978 ],
979 ],
980 ],
981 ],
982 'globalStyles' =>
983 [
984 'text' =>
985 [
986 'fontColor' => '#000000',
987 'fontFamily' => 'Arial',
988 'fontSize' => '14px',
989 ],
990 'h1' =>
991 [
992 'fontColor' => '#111111',
993 'fontFamily' => 'Verdana',
994 'fontSize' => '30px',
995 ],
996 'h2' =>
997 [
998 'fontColor' => '#222222',
999 'fontFamily' => 'Arial',
1000 'fontSize' => '24px',
1001 ],
1002 'h3' =>
1003 [
1004 'fontColor' => '#333333',
1005 'fontFamily' => 'Arial',
1006 'fontSize' => '18px',
1007 ],
1008 'link' =>
1009 [
1010 'fontColor' => '#008282',
1011 'textDecoration' => 'underline',
1012 ],
1013 'wrapper' =>
1014 [
1015 'backgroundColor' => '#ffffff',
1016 ],
1017 'body' =>
1018 [
1019 'backgroundColor' => '#12233c',
1020 ],
1021 ],
1022 'blockDefaults' =>
1023 [
1024 'automatedLatestContent' =>
1025 [
1026 'amount' => '5',
1027 'withLayout' => false,
1028 'contentType' => 'post',
1029 'inclusionType' => 'include',
1030 'displayType' => 'excerpt',
1031 'titleFormat' => 'h1',
1032 'titleAlignment' => 'left',
1033 'titleIsLink' => false,
1034 'imageFullWidth' => false,
1035 'featuredImagePosition' => 'belowTitle',
1036 'showAuthor' => 'no',
1037 'authorPrecededBy' => 'Author:',
1038 'showCategories' => 'no',
1039 'categoriesPrecededBy' => 'Categories:',
1040 'readMoreType' => 'button',
1041 'readMoreText' => 'Read more',
1042 'readMoreButton' =>
1043 [
1044 'text' => 'Read more',
1045 'url' => '[postLink]',
1046 'context' => 'automatedLatestContent.readMoreButton',
1047 'styles' =>
1048 [
1049 'block' =>
1050 [
1051 'backgroundColor' => '#2ea1cd',
1052 'borderColor' => '#0074a2',
1053 'borderWidth' => '1px',
1054 'borderRadius' => '5px',
1055 'borderStyle' => 'solid',
1056 'width' => '180px',
1057 'lineHeight' => '40px',
1058 'fontColor' => '#ffffff',
1059 'fontFamily' => 'Verdana',
1060 'fontSize' => '18px',
1061 'fontWeight' => 'normal',
1062 'textAlign' => 'center',
1063 ],
1064 ],
1065 ],
1066 'sortBy' => 'newest',
1067 'showDivider' => true,
1068 'divider' =>
1069 [
1070 'context' => 'automatedLatestContent.divider',
1071 'styles' =>
1072 [
1073 'block' =>
1074 [
1075 'backgroundColor' => 'transparent',
1076 'padding' => '13px',
1077 'borderStyle' => 'solid',
1078 'borderWidth' => '3px',
1079 'borderColor' => '#aaaaaa',
1080 ],
1081 ],
1082 ],
1083 'backgroundColor' => '#ffffff',
1084 'backgroundColorAlternate' => '#eeeeee',
1085 ],
1086 'automatedLatestContentLayout' =>
1087 [
1088 'amount' => '5',
1089 'withLayout' => true,
1090 'contentType' => 'post',
1091 'inclusionType' => 'include',
1092 'displayType' => 'excerpt',
1093 'titleFormat' => 'h1',
1094 'titleAlignment' => 'left',
1095 'titleIsLink' => false,
1096 'imageFullWidth' => false,
1097 'featuredImagePosition' => 'alternate',
1098 'showAuthor' => 'no',
1099 'authorPrecededBy' => 'Author:',
1100 'showCategories' => 'no',
1101 'categoriesPrecededBy' => 'Categories:',
1102 'readMoreType' => 'button',
1103 'readMoreText' => 'Read more',
1104 'readMoreButton' =>
1105 [
1106 'text' => 'Read more',
1107 'url' => '[postLink]',
1108 'context' => 'automatedLatestContentLayout.readMoreButton',
1109 'styles' =>
1110 [
1111 'block' =>
1112 [
1113 'backgroundColor' => '#2ea1cd',
1114 'borderColor' => '#0074a2',
1115 'borderWidth' => '1px',
1116 'borderRadius' => '5px',
1117 'borderStyle' => 'solid',
1118 'width' => '180px',
1119 'lineHeight' => '40px',
1120 'fontColor' => '#ffffff',
1121 'fontFamily' => 'Verdana',
1122 'fontSize' => '18px',
1123 'fontWeight' => 'normal',
1124 'textAlign' => 'center',
1125 ],
1126 ],
1127 ],
1128 'sortBy' => 'newest',
1129 'showDivider' => true,
1130 'divider' =>
1131 [
1132 'context' => 'automatedLatestContentLayout.divider',
1133 'styles' =>
1134 [
1135 'block' =>
1136 [
1137 'backgroundColor' => 'transparent',
1138 'padding' => '13px',
1139 'borderStyle' => 'solid',
1140 'borderWidth' => '3px',
1141 'borderColor' => '#aaaaaa',
1142 ],
1143 ],
1144 ],
1145 'backgroundColor' => '#ffffff',
1146 'backgroundColorAlternate' => '#eeeeee',
1147 ],
1148 'button' =>
1149 [
1150 'text' => 'Button',
1151 'url' => '',
1152 'styles' =>
1153 [
1154 'block' =>
1155 [
1156 'backgroundColor' => '#2ea1cd',
1157 'borderColor' => '#0074a2',
1158 'borderWidth' => '1px',
1159 'borderRadius' => '5px',
1160 'borderStyle' => 'solid',
1161 'width' => '180px',
1162 'lineHeight' => '40px',
1163 'fontColor' => '#ffffff',
1164 'fontFamily' => 'Verdana',
1165 'fontSize' => '18px',
1166 'fontWeight' => 'normal',
1167 'textAlign' => 'center',
1168 ],
1169 ],
1170 ],
1171 'divider' =>
1172 [
1173 'styles' =>
1174 [
1175 'block' =>
1176 [
1177 'backgroundColor' => 'transparent',
1178 'padding' => '13px',
1179 'borderStyle' => 'solid',
1180 'borderWidth' => '2px',
1181 'borderColor' => '#f36543',
1182 ],
1183 ],
1184 'type' => 'divider',
1185 ],
1186 'footer' =>
1187 [
1188 '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>',
1189 'styles' =>
1190 [
1191 'block' =>
1192 [
1193 'backgroundColor' => 'transparent',
1194 ],
1195 'text' =>
1196 [
1197 'fontColor' => '#222222',
1198 'fontFamily' => 'Arial',
1199 'fontSize' => '12px',
1200 'textAlign' => 'center',
1201 ],
1202 'link' =>
1203 [
1204 'fontColor' => '#6cb7d4',
1205 'textDecoration' => 'none',
1206 ],
1207 ],
1208 ],
1209 'posts' =>
1210 [
1211 'amount' => '10',
1212 'withLayout' => true,
1213 'contentType' => 'post',
1214 'postStatus' => 'publish',
1215 'inclusionType' => 'include',
1216 'displayType' => 'excerpt',
1217 'titleFormat' => 'h1',
1218 'titleAlignment' => 'left',
1219 'titleIsLink' => false,
1220 'imageFullWidth' => false,
1221 'featuredImagePosition' => 'alternate',
1222 'showAuthor' => 'no',
1223 'authorPrecededBy' => 'Author:',
1224 'showCategories' => 'no',
1225 'categoriesPrecededBy' => 'Categories:',
1226 'readMoreType' => 'link',
1227 'readMoreText' => 'Read more',
1228 'readMoreButton' =>
1229 [
1230 'text' => 'Read more',
1231 'url' => '[postLink]',
1232 'context' => 'posts.readMoreButton',
1233 'styles' =>
1234 [
1235 'block' =>
1236 [
1237 'backgroundColor' => '#2ea1cd',
1238 'borderColor' => '#0074a2',
1239 'borderWidth' => '1px',
1240 'borderRadius' => '5px',
1241 'borderStyle' => 'solid',
1242 'width' => '180px',
1243 'lineHeight' => '40px',
1244 'fontColor' => '#ffffff',
1245 'fontFamily' => 'Verdana',
1246 'fontSize' => '18px',
1247 'fontWeight' => 'normal',
1248 'textAlign' => 'center',
1249 ],
1250 ],
1251 ],
1252 'sortBy' => 'newest',
1253 'showDivider' => true,
1254 'divider' =>
1255 [
1256 'context' => 'posts.divider',
1257 'styles' =>
1258 [
1259 'block' =>
1260 [
1261 'backgroundColor' => 'transparent',
1262 'padding' => '13px',
1263 'borderStyle' => 'solid',
1264 'borderWidth' => '3px',
1265 'borderColor' => '#aaaaaa',
1266 ],
1267 ],
1268 ],
1269 'backgroundColor' => '#ffffff',
1270 'backgroundColorAlternate' => '#eeeeee',
1271 ],
1272 'social' =>
1273 [
1274 'iconSet' => 'official',
1275 'icons' =>
1276 [
1277 0 =>
1278 [
1279 'type' => 'socialIcon',
1280 'iconType' => 'facebook',
1281 'link' => 'http://www.facebook.com',
1282 'image' => $this->social_icon_url . '/11-official/Facebook.png',
1283 'height' => '32px',
1284 'width' => '32px',
1285 'text' => 'Facebook',
1286 ],
1287 1 =>
1288 [
1289 'type' => 'socialIcon',
1290 'iconType' => 'twitter',
1291 'link' => 'http://www.twitter.com',
1292 'image' => $this->social_icon_url . '/11-official/X.png',
1293 'height' => '32px',
1294 'width' => '32px',
1295 'text' => 'Twitter',
1296 ],
1297 ],
1298 ],
1299 'spacer' =>
1300 [
1301 'styles' =>
1302 [
1303 'block' =>
1304 [
1305 'backgroundColor' => 'transparent',
1306 'height' => '140px',
1307 ],
1308 ],
1309 'type' => 'spacer',
1310 ],
1311 'header' =>
1312 [
1313 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
1314 'styles' =>
1315 [
1316 'block' =>
1317 [
1318 'backgroundColor' => 'transparent',
1319 ],
1320 'text' =>
1321 [
1322 'fontColor' => '#222222',
1323 'fontFamily' => 'Arial',
1324 'fontSize' => '12px',
1325 'textAlign' => 'center',
1326 ],
1327 'link' =>
1328 [
1329 'fontColor' => '#6cb7d4',
1330 'textDecoration' => 'underline',
1331 ],
1332 ],
1333 ],
1334 ],
1335 ];
1336 }
1337 }
1338