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 / ClearNews.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
ClearNews.php
1892 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 ClearNews {
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/clear-news';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("Clear News", 'mailpoet'),
23 'categories' => json_encode(['notification', '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' => 'transparent',
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' => '#ffffff',
101 'height' => '27px',
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' => '#ffffff',
114 ],
115 'text' =>
116 [
117 'fontColor' => '#222222',
118 'fontFamily' => 'Arial',
119 'fontSize' => '11px',
120 'textAlign' => 'left',
121 ],
122 'link' =>
123 [
124 'fontColor' => '#e2973f',
125 'textDecoration' => 'underline',
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' => '#ffffff',
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' => '#ffffff',
179 'height' => '20px',
180 ],
181 ],
182 ],
183 1 =>
184 [
185 'type' => 'image',
186 'link' => '',
187 'src' => $this->template_image_url . '/News-Logo-1.png',
188 'alt' => 'News-Logo',
189 'fullWidth' => false,
190 'width' => '120px',
191 'height' => '167px',
192 'styles' =>
193 [
194 'block' =>
195 [
196 'textAlign' => 'left',
197 ],
198 ],
199 ],
200 ],
201 ],
202 1 =>
203 [
204 'type' => 'container',
205 'columnLayout' => false,
206 'orientation' => 'vertical',
207 'image' =>
208 [
209 'src' => null,
210 'display' => 'scale',
211 ],
212 'styles' =>
213 [
214 'block' =>
215 [
216 'backgroundColor' => 'transparent',
217 ],
218 ],
219 'blocks' =>
220 [
221 0 =>
222 [
223 'type' => 'spacer',
224 'styles' =>
225 [
226 'block' =>
227 [
228 'backgroundColor' => '#ffffff',
229 'height' => '30px',
230 ],
231 ],
232 ],
233 1 =>
234 [
235 'type' => 'text',
236 'text' => '<h3 style="text-align: right;"><span style="color: #808080;"><strong>October 2018</strong></span></h3>',
237 ],
238 ],
239 ],
240 ],
241 ],
242 2 =>
243 [
244 'type' => 'container',
245 'columnLayout' => '2_1',
246 'orientation' => 'horizontal',
247 'image' =>
248 [
249 'src' => null,
250 'display' => 'scale',
251 ],
252 'styles' =>
253 [
254 'block' =>
255 [
256 'backgroundColor' => 'transparent',
257 ],
258 ],
259 'blocks' =>
260 [
261 0 =>
262 [
263 'type' => 'container',
264 'columnLayout' => false,
265 'orientation' => 'vertical',
266 'image' =>
267 [
268 'src' => null,
269 'display' => 'scale',
270 ],
271 'styles' =>
272 [
273 'block' =>
274 [
275 'backgroundColor' => 'transparent',
276 ],
277 ],
278 'blocks' =>
279 [
280 0 =>
281 [
282 'type' => 'text',
283 'text' => '<h1 style="text-align: left; line-height: 1.3;"><strong>Good Morning!</strong></h1>
284 <h3>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce egestas nisl vel ante finibus fringilla ullamcorper non lectus. Aenean leo neque, egestas et lacus eu, viverra luctus nisi. Donec dapibus mauris at fringilla consequat. Cras sed porta nunc. Ut tincidunt luctus felis sed suscipit. Sed tristique faucibus fermentum.</h3>',
285 ],
286 ],
287 ],
288 1 =>
289 [
290 'type' => 'container',
291 'columnLayout' => false,
292 'orientation' => 'vertical',
293 'image' =>
294 [
295 'src' => null,
296 'display' => 'scale',
297 ],
298 'styles' =>
299 [
300 'block' =>
301 [
302 'backgroundColor' => 'transparent',
303 ],
304 ],
305 'blocks' =>
306 [
307 0 =>
308 [
309 'type' => 'spacer',
310 'styles' =>
311 [
312 'block' =>
313 [
314 'backgroundColor' => '#ffffff',
315 'height' => '24px',
316 ],
317 ],
318 ],
319 1 =>
320 [
321 'type' => 'image',
322 'link' => '',
323 'src' => $this->template_image_url . '/UEl2.gif',
324 'alt' => 'UEl2',
325 'fullWidth' => false,
326 'width' => '360px',
327 'height' => '400px',
328 'styles' =>
329 [
330 'block' =>
331 [
332 'textAlign' => 'center',
333 ],
334 ],
335 ],
336 ],
337 ],
338 ],
339 ],
340 3 =>
341 [
342 'type' => 'container',
343 'columnLayout' => false,
344 'orientation' => 'horizontal',
345 'image' =>
346 [
347 'src' => null,
348 'display' => 'scale',
349 ],
350 'styles' =>
351 [
352 'block' =>
353 [
354 'backgroundColor' => 'transparent',
355 ],
356 ],
357 'blocks' =>
358 [
359 0 =>
360 [
361 'type' => 'container',
362 'columnLayout' => false,
363 'orientation' => 'vertical',
364 'image' =>
365 [
366 'src' => null,
367 'display' => 'scale',
368 ],
369 'styles' =>
370 [
371 'block' =>
372 [
373 'backgroundColor' => 'transparent',
374 ],
375 ],
376 'blocks' =>
377 [
378 0 =>
379 [
380 'type' => 'divider',
381 'styles' =>
382 [
383 'block' =>
384 [
385 'backgroundColor' => 'transparent',
386 'padding' => '13px',
387 'borderStyle' => 'dashed',
388 'borderWidth' => '2px',
389 'borderColor' => '#e2973f',
390 ],
391 ],
392 ],
393 ],
394 ],
395 ],
396 ],
397 4 =>
398 [
399 'type' => 'container',
400 'columnLayout' => false,
401 'orientation' => 'horizontal',
402 'image' =>
403 [
404 'src' => null,
405 'display' => 'scale',
406 ],
407 'styles' =>
408 [
409 'block' =>
410 [
411 'backgroundColor' => 'transparent',
412 ],
413 ],
414 'blocks' =>
415 [
416 0 =>
417 [
418 'type' => 'container',
419 'columnLayout' => false,
420 'orientation' => 'vertical',
421 'image' =>
422 [
423 'src' => null,
424 'display' => 'scale',
425 ],
426 'styles' =>
427 [
428 'block' =>
429 [
430 'backgroundColor' => 'transparent',
431 ],
432 ],
433 'blocks' =>
434 [
435 0 =>
436 [
437 'type' => 'spacer',
438 'styles' =>
439 [
440 'block' =>
441 [
442 'backgroundColor' => '#ffffff',
443 'height' => '20px',
444 ],
445 ],
446 ],
447 1 =>
448 [
449 'type' => 'text',
450 'text' => '<h2><strong>Today\'s Top Stories</strong></h2>',
451 ],
452 ],
453 ],
454 ],
455 ],
456 5 =>
457 [
458 'type' => 'automatedLatestContentLayout',
459 'withLayout' => true,
460 'amount' => '3',
461 'contentType' => 'post',
462 'terms' =>
463 [
464 ],
465 'inclusionType' => 'include',
466 'displayType' => 'excerpt',
467 'titleFormat' => 'h2',
468 'titleAlignment' => 'left',
469 'titleIsLink' => false,
470 'imageFullWidth' => true,
471 'featuredImagePosition' => 'left',
472 'showAuthor' => 'no',
473 'authorPrecededBy' => 'Author:',
474 'showCategories' => 'no',
475 'categoriesPrecededBy' => 'Categories:',
476 'readMoreType' => 'button',
477 'readMoreText' => 'Read more',
478 'readMoreButton' =>
479 [
480 'type' => 'button',
481 'text' => 'Read more',
482 'url' => '[postLink]',
483 'styles' =>
484 [
485 'block' =>
486 [
487 'backgroundColor' => '#e2973f',
488 'borderColor' => '#e2973f',
489 'borderWidth' => '0px',
490 'borderRadius' => '5px',
491 'borderStyle' => 'solid',
492 'width' => '110px',
493 'lineHeight' => '40px',
494 'fontColor' => '#ffffff',
495 'fontFamily' => 'Arial',
496 'fontSize' => '14px',
497 'fontWeight' => 'bold',
498 'textAlign' => 'left',
499 ],
500 ],
501 'context' => 'automatedLatestContentLayout.readMoreButton',
502 ],
503 'sortBy' => 'newest',
504 'showDivider' => false,
505 'divider' =>
506 [
507 'type' => 'divider',
508 'styles' =>
509 [
510 'block' =>
511 [
512 'backgroundColor' => 'transparent',
513 'padding' => '13px',
514 'borderStyle' => 'solid',
515 'borderWidth' => '3px',
516 'borderColor' => '#aaaaaa',
517 ],
518 ],
519 'context' => 'automatedLatestContentLayout.divider',
520 ],
521 'backgroundColor' => '#ffffff',
522 'backgroundColorAlternate' => '#eeeeee',
523 ],
524 6 =>
525 [
526 'type' => 'container',
527 'columnLayout' => false,
528 'orientation' => 'horizontal',
529 'image' =>
530 [
531 'src' => null,
532 'display' => 'scale',
533 ],
534 'styles' =>
535 [
536 'block' =>
537 [
538 'backgroundColor' => 'transparent',
539 ],
540 ],
541 'blocks' =>
542 [
543 0 =>
544 [
545 'type' => 'container',
546 'columnLayout' => false,
547 'orientation' => 'vertical',
548 'image' =>
549 [
550 'src' => null,
551 'display' => 'scale',
552 ],
553 'styles' =>
554 [
555 'block' =>
556 [
557 'backgroundColor' => 'transparent',
558 ],
559 ],
560 'blocks' =>
561 [
562 0 =>
563 [
564 'type' => 'divider',
565 'styles' =>
566 [
567 'block' =>
568 [
569 'backgroundColor' => 'transparent',
570 'padding' => '13px',
571 'borderStyle' => 'dashed',
572 'borderWidth' => '2px',
573 'borderColor' => '#e2973f',
574 ],
575 ],
576 ],
577 ],
578 ],
579 ],
580 ],
581 7 =>
582 [
583 'type' => 'container',
584 'columnLayout' => false,
585 'orientation' => 'horizontal',
586 'image' =>
587 [
588 'src' => null,
589 'display' => 'scale',
590 ],
591 'styles' =>
592 [
593 'block' =>
594 [
595 'backgroundColor' => 'transparent',
596 ],
597 ],
598 'blocks' =>
599 [
600 0 =>
601 [
602 'type' => 'container',
603 'columnLayout' => false,
604 'orientation' => 'vertical',
605 'image' =>
606 [
607 'src' => null,
608 'display' => 'scale',
609 ],
610 'styles' =>
611 [
612 'block' =>
613 [
614 'backgroundColor' => 'transparent',
615 ],
616 ],
617 'blocks' =>
618 [
619 0 =>
620 [
621 'type' => 'spacer',
622 'styles' =>
623 [
624 'block' =>
625 [
626 'backgroundColor' => '#ffffff',
627 'height' => '20px',
628 ],
629 ],
630 ],
631 1 =>
632 [
633 'type' => 'text',
634 'text' => '<h2><strong>We cover all types of news</strong></h2>',
635 ],
636 ],
637 ],
638 ],
639 ],
640 8 =>
641 [
642 'type' => 'container',
643 'columnLayout' => false,
644 'orientation' => 'horizontal',
645 'image' =>
646 [
647 'src' => null,
648 'display' => 'scale',
649 ],
650 'styles' =>
651 [
652 'block' =>
653 [
654 'backgroundColor' => 'transparent',
655 ],
656 ],
657 'blocks' =>
658 [
659 0 =>
660 [
661 'type' => 'container',
662 'columnLayout' => false,
663 'orientation' => 'vertical',
664 'image' =>
665 [
666 'src' => null,
667 'display' => 'scale',
668 ],
669 'styles' =>
670 [
671 'block' =>
672 [
673 'backgroundColor' => 'transparent',
674 ],
675 ],
676 'blocks' =>
677 [
678 0 =>
679 [
680 'type' => 'button',
681 'text' => 'World',
682 'url' => '[postLink]',
683 'styles' =>
684 [
685 'block' =>
686 [
687 'backgroundColor' => '#e23f3f',
688 'borderColor' => '#e2973f',
689 'borderWidth' => '0px',
690 'borderRadius' => '5px',
691 'borderStyle' => 'solid',
692 'width' => '288px',
693 'lineHeight' => '50px',
694 'fontColor' => '#ffffff',
695 'fontFamily' => 'Merriweather Sans',
696 'fontSize' => '20px',
697 'fontWeight' => 'bold',
698 'textAlign' => 'center',
699 ],
700 ],
701 ],
702 ],
703 ],
704 1 =>
705 [
706 'type' => 'container',
707 'columnLayout' => false,
708 'orientation' => 'vertical',
709 'image' =>
710 [
711 'src' => null,
712 'display' => 'scale',
713 ],
714 'styles' =>
715 [
716 'block' =>
717 [
718 'backgroundColor' => 'transparent',
719 ],
720 ],
721 'blocks' =>
722 [
723 0 =>
724 [
725 'type' => 'button',
726 'text' => 'Business',
727 'url' => '[postLink]',
728 'styles' =>
729 [
730 'block' =>
731 [
732 'backgroundColor' => '#50b6ce',
733 'borderColor' => '#e2973f',
734 'borderWidth' => '0px',
735 'borderRadius' => '5px',
736 'borderStyle' => 'solid',
737 'width' => '288px',
738 'lineHeight' => '50px',
739 'fontColor' => '#ffffff',
740 'fontFamily' => 'Merriweather Sans',
741 'fontSize' => '20px',
742 'fontWeight' => 'bold',
743 'textAlign' => 'center',
744 ],
745 ],
746 ],
747 ],
748 ],
749 2 =>
750 [
751 'type' => 'container',
752 'columnLayout' => false,
753 'orientation' => 'vertical',
754 'image' =>
755 [
756 'src' => null,
757 'display' => 'scale',
758 ],
759 'styles' =>
760 [
761 'block' =>
762 [
763 'backgroundColor' => 'transparent',
764 ],
765 ],
766 'blocks' =>
767 [
768 0 =>
769 [
770 'type' => 'button',
771 'text' => 'Politics',
772 'url' => '[postLink]',
773 'styles' =>
774 [
775 'block' =>
776 [
777 'backgroundColor' => '#506dce',
778 'borderColor' => '#e2973f',
779 'borderWidth' => '0px',
780 'borderRadius' => '5px',
781 'borderStyle' => 'solid',
782 'width' => '288px',
783 'lineHeight' => '50px',
784 'fontColor' => '#ffffff',
785 'fontFamily' => 'Merriweather Sans',
786 'fontSize' => '20px',
787 'fontWeight' => 'bold',
788 'textAlign' => 'center',
789 ],
790 ],
791 ],
792 ],
793 ],
794 ],
795 ],
796 9 =>
797 [
798 'type' => 'container',
799 'columnLayout' => false,
800 'orientation' => 'horizontal',
801 'image' =>
802 [
803 'src' => null,
804 'display' => 'scale',
805 ],
806 'styles' =>
807 [
808 'block' =>
809 [
810 'backgroundColor' => 'transparent',
811 ],
812 ],
813 'blocks' =>
814 [
815 0 =>
816 [
817 'type' => 'container',
818 'columnLayout' => false,
819 'orientation' => 'vertical',
820 'image' =>
821 [
822 'src' => null,
823 'display' => 'scale',
824 ],
825 'styles' =>
826 [
827 'block' =>
828 [
829 'backgroundColor' => 'transparent',
830 ],
831 ],
832 'blocks' =>
833 [
834 0 =>
835 [
836 'type' => 'button',
837 'text' => 'Sports',
838 'url' => '[postLink]',
839 'styles' =>
840 [
841 'block' =>
842 [
843 'backgroundColor' => '#e1bc2d',
844 'borderColor' => '#e2973f',
845 'borderWidth' => '0px',
846 'borderRadius' => '5px',
847 'borderStyle' => 'solid',
848 'width' => '288px',
849 'lineHeight' => '50px',
850 'fontColor' => '#ffffff',
851 'fontFamily' => 'Merriweather Sans',
852 'fontSize' => '20px',
853 'fontWeight' => 'bold',
854 'textAlign' => 'center',
855 ],
856 ],
857 ],
858 ],
859 ],
860 1 =>
861 [
862 'type' => 'container',
863 'columnLayout' => false,
864 'orientation' => 'vertical',
865 'image' =>
866 [
867 'src' => null,
868 'display' => 'scale',
869 ],
870 'styles' =>
871 [
872 'block' =>
873 [
874 'backgroundColor' => 'transparent',
875 ],
876 ],
877 'blocks' =>
878 [
879 0 =>
880 [
881 'type' => 'button',
882 'text' => 'Science',
883 'url' => '[postLink]',
884 'styles' =>
885 [
886 'block' =>
887 [
888 'backgroundColor' => '#a650ce',
889 'borderColor' => '#e2973f',
890 'borderWidth' => '0px',
891 'borderRadius' => '5px',
892 'borderStyle' => 'solid',
893 'width' => '288px',
894 'lineHeight' => '50px',
895 'fontColor' => '#ffffff',
896 'fontFamily' => 'Merriweather Sans',
897 'fontSize' => '20px',
898 'fontWeight' => 'bold',
899 'textAlign' => 'center',
900 ],
901 ],
902 ],
903 ],
904 ],
905 2 =>
906 [
907 'type' => 'container',
908 'columnLayout' => false,
909 'orientation' => 'vertical',
910 'image' =>
911 [
912 'src' => null,
913 'display' => 'scale',
914 ],
915 'styles' =>
916 [
917 'block' =>
918 [
919 'backgroundColor' => 'transparent',
920 ],
921 ],
922 'blocks' =>
923 [
924 0 =>
925 [
926 'type' => 'button',
927 'text' => 'Health',
928 'url' => '[postLink]',
929 'styles' =>
930 [
931 'block' =>
932 [
933 'backgroundColor' => '#64b03c',
934 'borderColor' => '#e2973f',
935 'borderWidth' => '0px',
936 'borderRadius' => '5px',
937 'borderStyle' => 'solid',
938 'width' => '288px',
939 'lineHeight' => '50px',
940 'fontColor' => '#ffffff',
941 'fontFamily' => 'Merriweather Sans',
942 'fontSize' => '20px',
943 'fontWeight' => 'bold',
944 'textAlign' => 'center',
945 ],
946 ],
947 ],
948 ],
949 ],
950 ],
951 ],
952 10 =>
953 [
954 'type' => 'container',
955 'columnLayout' => false,
956 'orientation' => 'horizontal',
957 'image' =>
958 [
959 'src' => null,
960 'display' => 'scale',
961 ],
962 'styles' =>
963 [
964 'block' =>
965 [
966 'backgroundColor' => 'transparent',
967 ],
968 ],
969 'blocks' =>
970 [
971 0 =>
972 [
973 'type' => 'container',
974 'columnLayout' => false,
975 'orientation' => 'vertical',
976 'image' =>
977 [
978 'src' => null,
979 'display' => 'scale',
980 ],
981 'styles' =>
982 [
983 'block' =>
984 [
985 'backgroundColor' => 'transparent',
986 ],
987 ],
988 'blocks' =>
989 [
990 0 =>
991 [
992 'type' => 'button',
993 'text' => 'Family',
994 'url' => '[postLink]',
995 'styles' =>
996 [
997 'block' =>
998 [
999 'backgroundColor' => '#278f6e',
1000 'borderColor' => '#e2973f',
1001 'borderWidth' => '0px',
1002 'borderRadius' => '5px',
1003 'borderStyle' => 'solid',
1004 'width' => '288px',
1005 'lineHeight' => '50px',
1006 'fontColor' => '#ffffff',
1007 'fontFamily' => 'Merriweather Sans',
1008 'fontSize' => '20px',
1009 'fontWeight' => 'bold',
1010 'textAlign' => 'center',
1011 ],
1012 ],
1013 ],
1014 ],
1015 ],
1016 1 =>
1017 [
1018 'type' => 'container',
1019 'columnLayout' => false,
1020 'orientation' => 'vertical',
1021 'image' =>
1022 [
1023 'src' => null,
1024 'display' => 'scale',
1025 ],
1026 'styles' =>
1027 [
1028 'block' =>
1029 [
1030 'backgroundColor' => 'transparent',
1031 ],
1032 ],
1033 'blocks' =>
1034 [
1035 0 =>
1036 [
1037 'type' => 'button',
1038 'text' => 'Arts',
1039 'url' => '[postLink]',
1040 'styles' =>
1041 [
1042 'block' =>
1043 [
1044 'backgroundColor' => '#7c5e5e',
1045 'borderColor' => '#e2973f',
1046 'borderWidth' => '0px',
1047 'borderRadius' => '5px',
1048 'borderStyle' => 'solid',
1049 'width' => '288px',
1050 'lineHeight' => '50px',
1051 'fontColor' => '#ffffff',
1052 'fontFamily' => 'Merriweather Sans',
1053 'fontSize' => '20px',
1054 'fontWeight' => 'bold',
1055 'textAlign' => 'center',
1056 ],
1057 ],
1058 ],
1059 ],
1060 ],
1061 2 =>
1062 [
1063 'type' => 'container',
1064 'columnLayout' => false,
1065 'orientation' => 'vertical',
1066 'image' =>
1067 [
1068 'src' => null,
1069 'display' => 'scale',
1070 ],
1071 'styles' =>
1072 [
1073 'block' =>
1074 [
1075 'backgroundColor' => 'transparent',
1076 ],
1077 ],
1078 'blocks' =>
1079 [
1080 0 =>
1081 [
1082 'type' => 'button',
1083 'text' => 'Local',
1084 'url' => '[postLink]',
1085 'styles' =>
1086 [
1087 'block' =>
1088 [
1089 'backgroundColor' => '#4d4d4d',
1090 'borderColor' => '#e2973f',
1091 'borderWidth' => '0px',
1092 'borderRadius' => '5px',
1093 'borderStyle' => 'solid',
1094 'width' => '288px',
1095 'lineHeight' => '50px',
1096 'fontColor' => '#ffffff',
1097 'fontFamily' => 'Merriweather Sans',
1098 'fontSize' => '20px',
1099 'fontWeight' => 'bold',
1100 'textAlign' => 'center',
1101 ],
1102 ],
1103 ],
1104 ],
1105 ],
1106 ],
1107 ],
1108 11 =>
1109 [
1110 'type' => 'container',
1111 'columnLayout' => false,
1112 'orientation' => 'horizontal',
1113 'image' =>
1114 [
1115 'src' => null,
1116 'display' => 'scale',
1117 ],
1118 'styles' =>
1119 [
1120 'block' =>
1121 [
1122 'backgroundColor' => 'transparent',
1123 ],
1124 ],
1125 'blocks' =>
1126 [
1127 0 =>
1128 [
1129 'type' => 'container',
1130 'columnLayout' => false,
1131 'orientation' => 'vertical',
1132 'image' =>
1133 [
1134 'src' => null,
1135 'display' => 'scale',
1136 ],
1137 'styles' =>
1138 [
1139 'block' =>
1140 [
1141 'backgroundColor' => 'transparent',
1142 ],
1143 ],
1144 'blocks' =>
1145 [
1146 0 =>
1147 [
1148 'type' => 'spacer',
1149 'styles' =>
1150 [
1151 'block' =>
1152 [
1153 'backgroundColor' => '#ffffff',
1154 'height' => '20px',
1155 ],
1156 ],
1157 ],
1158 ],
1159 ],
1160 ],
1161 ],
1162 12 =>
1163 [
1164 'type' => 'container',
1165 'columnLayout' => '1_2',
1166 'orientation' => 'horizontal',
1167 'image' =>
1168 [
1169 'src' => $this->template_image_url . '/News-Crossword.jpg',
1170 'display' => 'scale',
1171 ],
1172 'styles' =>
1173 [
1174 'block' =>
1175 [
1176 'backgroundColor' => 'transparent',
1177 ],
1178 ],
1179 'blocks' =>
1180 [
1181 0 =>
1182 [
1183 'type' => 'container',
1184 'columnLayout' => false,
1185 'orientation' => 'vertical',
1186 'image' =>
1187 [
1188 'src' => null,
1189 'display' => 'scale',
1190 ],
1191 'styles' =>
1192 [
1193 'block' =>
1194 [
1195 'backgroundColor' => 'transparent',
1196 ],
1197 ],
1198 'blocks' =>
1199 [
1200 0 =>
1201 [
1202 'type' => 'spacer',
1203 'styles' =>
1204 [
1205 'block' =>
1206 [
1207 'backgroundColor' => 'transparent',
1208 'height' => '20px',
1209 ],
1210 ],
1211 ],
1212 ],
1213 ],
1214 1 =>
1215 [
1216 'type' => 'container',
1217 'columnLayout' => false,
1218 'orientation' => 'vertical',
1219 'image' =>
1220 [
1221 'src' => null,
1222 'display' => 'scale',
1223 ],
1224 'styles' =>
1225 [
1226 'block' =>
1227 [
1228 'backgroundColor' => 'transparent',
1229 ],
1230 ],
1231 'blocks' =>
1232 [
1233 0 =>
1234 [
1235 'type' => 'spacer',
1236 'styles' =>
1237 [
1238 'block' =>
1239 [
1240 'backgroundColor' => 'transparent',
1241 'height' => '60px',
1242 ],
1243 ],
1244 ],
1245 1 =>
1246 [
1247 'type' => 'text',
1248 'text' => '<h2 style="text-align: right;"><span style="color: #ffffff;">The Friday Crossword</span></h2>
1249 <p style="text-align: right;"><span style="color: #ffffff;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum vitae ornare elit. Duis laoreet justo sed fringilla maximus. Aenean pharetra nec risus a vestibulum.</span></span></p>',
1250 ],
1251 2 =>
1252 [
1253 'type' => 'button',
1254 'text' => 'Get started',
1255 'url' => '[postLink]',
1256 'styles' =>
1257 [
1258 'block' =>
1259 [
1260 'backgroundColor' => '#e2973f',
1261 'borderColor' => '#e2973f',
1262 'borderWidth' => '0px',
1263 'borderRadius' => '5px',
1264 'borderStyle' => 'solid',
1265 'width' => '110px',
1266 'lineHeight' => '40px',
1267 'fontColor' => '#ffffff',
1268 'fontFamily' => 'Arial',
1269 'fontSize' => '14px',
1270 'fontWeight' => 'bold',
1271 'textAlign' => 'right',
1272 ],
1273 ],
1274 ],
1275 3 =>
1276 [
1277 'type' => 'spacer',
1278 'styles' =>
1279 [
1280 'block' =>
1281 [
1282 'backgroundColor' => 'transparent',
1283 'height' => '22px',
1284 ],
1285 ],
1286 ],
1287 ],
1288 ],
1289 ],
1290 ],
1291 13 =>
1292 [
1293 'type' => 'container',
1294 'columnLayout' => false,
1295 'orientation' => 'horizontal',
1296 'image' =>
1297 [
1298 'src' => null,
1299 'display' => 'scale',
1300 ],
1301 'styles' =>
1302 [
1303 'block' =>
1304 [
1305 'backgroundColor' => 'transparent',
1306 ],
1307 ],
1308 'blocks' =>
1309 [
1310 0 =>
1311 [
1312 'type' => 'container',
1313 'columnLayout' => false,
1314 'orientation' => 'vertical',
1315 'image' =>
1316 [
1317 'src' => null,
1318 'display' => 'scale',
1319 ],
1320 'styles' =>
1321 [
1322 'block' =>
1323 [
1324 'backgroundColor' => 'transparent',
1325 ],
1326 ],
1327 'blocks' =>
1328 [
1329 0 =>
1330 [
1331 'type' => 'divider',
1332 'styles' =>
1333 [
1334 'block' =>
1335 [
1336 'backgroundColor' => 'transparent',
1337 'padding' => '34.5px',
1338 'borderStyle' => 'dashed',
1339 'borderWidth' => '2px',
1340 'borderColor' => '#e2973f',
1341 ],
1342 ],
1343 ],
1344 ],
1345 ],
1346 ],
1347 ],
1348 14 =>
1349 [
1350 'type' => 'container',
1351 'columnLayout' => false,
1352 'orientation' => 'horizontal',
1353 'image' =>
1354 [
1355 'src' => null,
1356 'display' => 'scale',
1357 ],
1358 'styles' =>
1359 [
1360 'block' =>
1361 [
1362 'backgroundColor' => 'transparent',
1363 ],
1364 ],
1365 'blocks' =>
1366 [
1367 0 =>
1368 [
1369 'type' => 'container',
1370 'columnLayout' => false,
1371 'orientation' => 'vertical',
1372 'image' =>
1373 [
1374 'src' => null,
1375 'display' => 'scale',
1376 ],
1377 'styles' =>
1378 [
1379 'block' =>
1380 [
1381 'backgroundColor' => 'transparent',
1382 ],
1383 ],
1384 'blocks' =>
1385 [
1386 0 =>
1387 [
1388 'type' => 'image',
1389 'link' => '',
1390 'src' => $this->template_image_url . '/News-Logo-1.png',
1391 'alt' => 'News-Logo',
1392 'fullWidth' => false,
1393 'width' => '120px',
1394 'height' => '167px',
1395 'styles' =>
1396 [
1397 'block' =>
1398 [
1399 'textAlign' => 'left',
1400 ],
1401 ],
1402 ],
1403 ],
1404 ],
1405 1 =>
1406 [
1407 'type' => 'container',
1408 'columnLayout' => false,
1409 'orientation' => 'vertical',
1410 'image' =>
1411 [
1412 'src' => null,
1413 'display' => 'scale',
1414 ],
1415 'styles' =>
1416 [
1417 'block' =>
1418 [
1419 'backgroundColor' => 'transparent',
1420 ],
1421 ],
1422 'blocks' =>
1423 [
1424 0 =>
1425 [
1426 'type' => 'text',
1427 'text' => '<p style="text-align: center;"><strong><a href="[link:subscription_unsubscribe_url]">' . __("Unsubscribe", 'mailpoet') . '</a></strong></p>
1428 <p style="text-align: center;"><strong><a href="[link:subscription_manage_url]">' . __("Manage your subscription", 'mailpoet') . '</a></strong></p>',
1429 ],
1430 1 =>
1431 [
1432 'type' => 'text',
1433 'text' => '<p style="text-align: center;">Add your postal address!</p>',
1434 ],
1435 ],
1436 ],
1437 2 =>
1438 [
1439 'type' => 'container',
1440 'columnLayout' => false,
1441 'orientation' => 'vertical',
1442 'image' =>
1443 [
1444 'src' => null,
1445 'display' => 'scale',
1446 ],
1447 'styles' =>
1448 [
1449 'block' =>
1450 [
1451 'backgroundColor' => 'transparent',
1452 ],
1453 ],
1454 'blocks' =>
1455 [
1456 0 =>
1457 [
1458 'type' => 'social',
1459 'iconSet' => 'official',
1460 'icons' =>
1461 [
1462 0 =>
1463 [
1464 'type' => 'socialIcon',
1465 'iconType' => 'facebook',
1466 'link' => 'http://www.facebook.com',
1467 'image' => $this->social_icon_url . '/11-official/Facebook.png',
1468 'height' => '32px',
1469 'width' => '32px',
1470 'text' => 'Facebook',
1471 ],
1472 1 =>
1473 [
1474 'type' => 'socialIcon',
1475 'iconType' => 'twitter',
1476 'link' => 'http://www.twitter.com',
1477 'image' => $this->social_icon_url . '/11-official/X.png',
1478 'height' => '32px',
1479 'width' => '32px',
1480 'text' => 'Twitter',
1481 ],
1482 2 =>
1483 [
1484 'type' => 'socialIcon',
1485 'iconType' => 'youtube',
1486 'link' => 'http://www.youtube.com',
1487 'image' => $this->social_icon_url . '/11-official/Youtube.png',
1488 'height' => '32px',
1489 'width' => '32px',
1490 'text' => 'Youtube',
1491 ],
1492 ],
1493 ],
1494 1 =>
1495 [
1496 'type' => 'social',
1497 'iconSet' => 'official',
1498 'icons' =>
1499 [
1500 ],
1501 ],
1502 ],
1503 ],
1504 ],
1505 ],
1506 ],
1507 ],
1508 'globalStyles' =>
1509 [
1510 'text' =>
1511 [
1512 'fontColor' => '#000000',
1513 'fontFamily' => 'Source Sans Pro',
1514 'fontSize' => '15px',
1515 ],
1516 'h1' =>
1517 [
1518 'fontColor' => '#111111',
1519 'fontFamily' => 'Merriweather Sans',
1520 'fontSize' => '40px',
1521 ],
1522 'h2' =>
1523 [
1524 'fontColor' => '#222222',
1525 'fontFamily' => 'Merriweather Sans',
1526 'fontSize' => '24px',
1527 ],
1528 'h3' =>
1529 [
1530 'fontColor' => '#333333',
1531 'fontFamily' => 'Merriweather Sans',
1532 'fontSize' => '16px',
1533 ],
1534 'link' =>
1535 [
1536 'fontColor' => '#e2973f',
1537 'textDecoration' => 'underline',
1538 ],
1539 'wrapper' =>
1540 [
1541 'backgroundColor' => '#ffffff',
1542 ],
1543 'body' =>
1544 [
1545 'backgroundColor' => '#ffffff',
1546 ],
1547 ],
1548 'blockDefaults' =>
1549 [
1550 'automatedLatestContent' =>
1551 [
1552 'amount' => '5',
1553 'withLayout' => false,
1554 'contentType' => 'post',
1555 'inclusionType' => 'include',
1556 'displayType' => 'excerpt',
1557 'titleFormat' => 'h1',
1558 'titleAlignment' => 'left',
1559 'titleIsLink' => false,
1560 'imageFullWidth' => false,
1561 'featuredImagePosition' => 'belowTitle',
1562 'showAuthor' => 'no',
1563 'authorPrecededBy' => 'Author:',
1564 'showCategories' => 'no',
1565 'categoriesPrecededBy' => 'Categories:',
1566 'readMoreType' => 'button',
1567 'readMoreText' => 'Read more',
1568 'readMoreButton' =>
1569 [
1570 'text' => 'Read more',
1571 'url' => '[postLink]',
1572 'context' => 'automatedLatestContent.readMoreButton',
1573 'styles' =>
1574 [
1575 'block' =>
1576 [
1577 'backgroundColor' => '#2ea1cd',
1578 'borderColor' => '#0074a2',
1579 'borderWidth' => '1px',
1580 'borderRadius' => '5px',
1581 'borderStyle' => 'solid',
1582 'width' => '180px',
1583 'lineHeight' => '40px',
1584 'fontColor' => '#ffffff',
1585 'fontFamily' => 'Verdana',
1586 'fontSize' => '18px',
1587 'fontWeight' => 'normal',
1588 'textAlign' => 'center',
1589 ],
1590 ],
1591 ],
1592 'sortBy' => 'newest',
1593 'showDivider' => true,
1594 'divider' =>
1595 [
1596 'context' => 'automatedLatestContent.divider',
1597 'styles' =>
1598 [
1599 'block' =>
1600 [
1601 'backgroundColor' => 'transparent',
1602 'padding' => '13px',
1603 'borderStyle' => 'solid',
1604 'borderWidth' => '3px',
1605 'borderColor' => '#aaaaaa',
1606 ],
1607 ],
1608 ],
1609 'backgroundColor' => '#ffffff',
1610 'backgroundColorAlternate' => '#eeeeee',
1611 ],
1612 'automatedLatestContentLayout' =>
1613 [
1614 'amount' => '3',
1615 'withLayout' => true,
1616 'contentType' => 'post',
1617 'inclusionType' => 'include',
1618 'displayType' => 'excerpt',
1619 'titleFormat' => 'h2',
1620 'titleAlignment' => 'left',
1621 'titleIsLink' => false,
1622 'imageFullWidth' => true,
1623 'featuredImagePosition' => 'left',
1624 'showAuthor' => 'no',
1625 'authorPrecededBy' => 'Author:',
1626 'showCategories' => 'no',
1627 'categoriesPrecededBy' => 'Categories:',
1628 'readMoreType' => 'button',
1629 'readMoreText' => 'Read more',
1630 'readMoreButton' =>
1631 [
1632 'text' => 'Read more',
1633 'url' => '[postLink]',
1634 'context' => 'automatedLatestContentLayout.readMoreButton',
1635 'styles' =>
1636 [
1637 'block' =>
1638 [
1639 'backgroundColor' => '#e2973f',
1640 'borderColor' => '#e2973f',
1641 'borderWidth' => '0px',
1642 'borderRadius' => '5px',
1643 'borderStyle' => 'solid',
1644 'width' => '110px',
1645 'lineHeight' => '40px',
1646 'fontColor' => '#ffffff',
1647 'fontFamily' => 'Arial',
1648 'fontSize' => '14px',
1649 'fontWeight' => 'bold',
1650 'textAlign' => 'left',
1651 ],
1652 ],
1653 'type' => 'button',
1654 ],
1655 'sortBy' => 'newest',
1656 'showDivider' => false,
1657 'divider' =>
1658 [
1659 'context' => 'automatedLatestContentLayout.divider',
1660 'styles' =>
1661 [
1662 'block' =>
1663 [
1664 'backgroundColor' => 'transparent',
1665 'padding' => '13px',
1666 'borderStyle' => 'solid',
1667 'borderWidth' => '3px',
1668 'borderColor' => '#aaaaaa',
1669 ],
1670 ],
1671 'type' => 'divider',
1672 ],
1673 'backgroundColor' => '#ffffff',
1674 'backgroundColorAlternate' => '#eeeeee',
1675 'type' => 'automatedLatestContentLayout',
1676 'terms' =>
1677 [
1678 ],
1679 ],
1680 'button' =>
1681 [
1682 'text' => 'Read more',
1683 'url' => '[postLink]',
1684 'styles' =>
1685 [
1686 'block' =>
1687 [
1688 'backgroundColor' => '#4d4d4d',
1689 'borderColor' => '#e2973f',
1690 'borderWidth' => '0px',
1691 'borderRadius' => '5px',
1692 'borderStyle' => 'solid',
1693 'width' => '288px',
1694 'lineHeight' => '50px',
1695 'fontColor' => '#ffffff',
1696 'fontFamily' => 'Merriweather Sans',
1697 'fontSize' => '20px',
1698 'fontWeight' => 'bold',
1699 'textAlign' => 'center',
1700 ],
1701 ],
1702 'type' => 'button',
1703 ],
1704 'divider' =>
1705 [
1706 'styles' =>
1707 [
1708 'block' =>
1709 [
1710 'backgroundColor' => 'transparent',
1711 'padding' => '34.5px',
1712 'borderStyle' => 'dashed',
1713 'borderWidth' => '2px',
1714 'borderColor' => '#e2973f',
1715 ],
1716 ],
1717 'type' => 'divider',
1718 ],
1719 'footer' =>
1720 [
1721 '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>',
1722 'styles' =>
1723 [
1724 'block' =>
1725 [
1726 'backgroundColor' => 'transparent',
1727 ],
1728 'text' =>
1729 [
1730 'fontColor' => '#222222',
1731 'fontFamily' => 'Arial',
1732 'fontSize' => '13px',
1733 'textAlign' => 'right',
1734 ],
1735 'link' =>
1736 [
1737 'fontColor' => '#e2973f',
1738 'textDecoration' => 'underline',
1739 ],
1740 ],
1741 'type' => 'footer',
1742 ],
1743 'posts' =>
1744 [
1745 'amount' => '10',
1746 'withLayout' => true,
1747 'contentType' => 'post',
1748 'postStatus' => 'publish',
1749 'inclusionType' => 'include',
1750 'displayType' => 'titleOnly',
1751 'titleFormat' => 'h2',
1752 'titleAlignment' => 'left',
1753 'titleIsLink' => false,
1754 'imageFullWidth' => true,
1755 'featuredImagePosition' => 'centered',
1756 'showAuthor' => 'no',
1757 'authorPrecededBy' => 'Author:',
1758 'showCategories' => 'no',
1759 'categoriesPrecededBy' => 'Categories:',
1760 'readMoreType' => 'button',
1761 'readMoreText' => 'Read more',
1762 'readMoreButton' =>
1763 [
1764 'text' => 'Read more',
1765 'url' => 'http://mailpoet.info/ladybirds-transparent-shell-reveals-how-it-folds-its-wings/',
1766 'context' => 'posts.readMoreButton',
1767 'styles' =>
1768 [
1769 'block' =>
1770 [
1771 'backgroundColor' => '#e2973f',
1772 'borderColor' => '#e2973f',
1773 'borderWidth' => '0px',
1774 'borderRadius' => '40px',
1775 'borderStyle' => 'solid',
1776 'width' => '110px',
1777 'lineHeight' => '40px',
1778 'fontColor' => '#ffffff',
1779 'fontFamily' => 'Arial',
1780 'fontSize' => '14px',
1781 'fontWeight' => 'bold',
1782 'textAlign' => 'left',
1783 ],
1784 ],
1785 'type' => 'button',
1786 ],
1787 'sortBy' => 'newest',
1788 'showDivider' => false,
1789 'divider' =>
1790 [
1791 'context' => 'posts.divider',
1792 'styles' =>
1793 [
1794 'block' =>
1795 [
1796 'backgroundColor' => 'transparent',
1797 'padding' => '13px',
1798 'borderStyle' => 'solid',
1799 'borderWidth' => '3px',
1800 'borderColor' => '#aaaaaa',
1801 ],
1802 ],
1803 'type' => 'divider',
1804 ],
1805 'backgroundColor' => '#ffffff',
1806 'backgroundColorAlternate' => '#eeeeee',
1807 'type' => 'posts',
1808 'offset' => 0,
1809 'terms' =>
1810 [
1811 ],
1812 'search' => '',
1813 ],
1814 'social' =>
1815 [
1816 'iconSet' => 'official',
1817 'icons' =>
1818 [
1819 0 =>
1820 [
1821 'type' => 'socialIcon',
1822 'iconType' => 'facebook',
1823 'link' => 'http://www.facebook.com',
1824 'image' => $this->social_icon_url . '/11-official/Facebook.png',
1825 'height' => '32px',
1826 'width' => '32px',
1827 'text' => 'Facebook',
1828 ],
1829 1 =>
1830 [
1831 'type' => 'socialIcon',
1832 'iconType' => 'twitter',
1833 'link' => 'http://www.twitter.com',
1834 'image' => $this->social_icon_url . '/11-official/X.png',
1835 'height' => '32px',
1836 'width' => '32px',
1837 'text' => 'Twitter',
1838 ],
1839 2 =>
1840 [
1841 'type' => 'socialIcon',
1842 'iconType' => 'youtube',
1843 'link' => 'http://www.youtube.com',
1844 'image' => $this->social_icon_url . '/11-official/Youtube.png',
1845 'height' => '32px',
1846 'width' => '32px',
1847 'text' => 'Youtube',
1848 ],
1849 ],
1850 'type' => 'social',
1851 ],
1852 'spacer' =>
1853 [
1854 'styles' =>
1855 [
1856 'block' =>
1857 [
1858 'backgroundColor' => '#ffffff',
1859 'height' => '20px',
1860 ],
1861 ],
1862 'type' => 'spacer',
1863 ],
1864 'header' =>
1865 [
1866 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
1867 'styles' =>
1868 [
1869 'block' =>
1870 [
1871 'backgroundColor' => '#ffffff',
1872 ],
1873 'text' =>
1874 [
1875 'fontColor' => '#222222',
1876 'fontFamily' => 'Arial',
1877 'fontSize' => '11px',
1878 'textAlign' => 'left',
1879 ],
1880 'link' =>
1881 [
1882 'fontColor' => '#e2973f',
1883 'textDecoration' => 'underline',
1884 ],
1885 ],
1886 'type' => 'header',
1887 ],
1888 ],
1889 ];
1890 }
1891 }
1892