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 / NewspaperTraditional.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
NewspaperTraditional.php
1240 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 NewspaperTraditional {
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/newspaper-traditional';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("Newspaper Traditional", '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' => '#f2f9f8',
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' => '28px',
102 ],
103 ],
104 ],
105 1 =>
106 [
107 'type' => 'text',
108 'text' => '<h3 style="font-size: 15px;"><em><strong>[date:mtext][date:dordinal],[date:y]</strong></em></h3>',
109 ],
110 ],
111 ],
112 1 =>
113 [
114 'type' => 'container',
115 'columnLayout' => false,
116 'orientation' => 'vertical',
117 'image' =>
118 [
119 'src' => null,
120 'display' => 'scale',
121 ],
122 'styles' =>
123 [
124 'block' =>
125 [
126 'backgroundColor' => 'transparent',
127 ],
128 ],
129 'blocks' =>
130 [
131 0 =>
132 [
133 'type' => 'spacer',
134 'styles' =>
135 [
136 'block' =>
137 [
138 'backgroundColor' => 'transparent',
139 'height' => '20px',
140 ],
141 ],
142 ],
143 1 =>
144 [
145 'type' => 'header',
146 'text' => '<p><span style="color: #008080;"><a href="[link:newsletter_view_in_browser_url]" style="color: #008080;">' . __("View this in your browser.", 'mailpoet') . '</a></span></p>',
147 'styles' =>
148 [
149 'block' =>
150 [
151 'backgroundColor' => 'transparent',
152 ],
153 'text' =>
154 [
155 'fontColor' => '#222222',
156 'fontFamily' => 'Arial',
157 'fontSize' => '12px',
158 'textAlign' => 'right',
159 ],
160 'link' =>
161 [
162 'fontColor' => '#6cb7d4',
163 'textDecoration' => 'underline',
164 ],
165 ],
166 ],
167 ],
168 ],
169 ],
170 ],
171 1 =>
172 [
173 'type' => 'container',
174 'columnLayout' => '2_1',
175 'orientation' => 'horizontal',
176 'image' =>
177 [
178 'src' => null,
179 'display' => 'scale',
180 ],
181 'styles' =>
182 [
183 'block' =>
184 [
185 'backgroundColor' => '#f2f9f8',
186 ],
187 ],
188 'blocks' =>
189 [
190 0 =>
191 [
192 'type' => 'container',
193 'columnLayout' => false,
194 'orientation' => 'vertical',
195 'image' =>
196 [
197 'src' => null,
198 'display' => 'scale',
199 ],
200 'styles' =>
201 [
202 'block' =>
203 [
204 'backgroundColor' => 'transparent',
205 ],
206 ],
207 'blocks' =>
208 [
209 0 =>
210 [
211 'type' => 'image',
212 'link' => '',
213 'src' => $this->template_image_url . '/News-Logo.png',
214 'alt' => 'News-Logo',
215 'fullWidth' => false,
216 'width' => '200px',
217 'height' => '100px',
218 'styles' =>
219 [
220 'block' =>
221 [
222 'textAlign' => 'left',
223 ],
224 ],
225 ],
226 ],
227 ],
228 1 =>
229 [
230 'type' => 'container',
231 'columnLayout' => false,
232 'orientation' => 'vertical',
233 'image' =>
234 [
235 'src' => null,
236 'display' => 'scale',
237 ],
238 'styles' =>
239 [
240 'block' =>
241 [
242 'backgroundColor' => 'transparent',
243 ],
244 ],
245 'blocks' =>
246 [
247 0 =>
248 [
249 'type' => 'social',
250 'iconSet' => 'official',
251 'icons' =>
252 [
253 0 =>
254 [
255 'type' => 'socialIcon',
256 'iconType' => 'facebook',
257 'link' => 'http://www.facebook.com',
258 'image' => $this->social_icon_url . '/11-official/Facebook.png',
259 'height' => '32px',
260 'width' => '32px',
261 'text' => 'Facebook',
262 ],
263 1 =>
264 [
265 'type' => 'socialIcon',
266 'iconType' => 'twitter',
267 'link' => 'http://www.twitter.com',
268 'image' => $this->social_icon_url . '/11-official/X.png',
269 'height' => '32px',
270 'width' => '32px',
271 'text' => 'Twitter',
272 ],
273 2 =>
274 [
275 'type' => 'socialIcon',
276 'iconType' => 'website',
277 'link' => '',
278 'image' => $this->social_icon_url . '/11-official/Website.png',
279 'height' => '32px',
280 'width' => '32px',
281 'text' => 'Website',
282 ],
283 3 =>
284 [
285 'type' => 'socialIcon',
286 'iconType' => 'instagram',
287 'link' => 'http://instagram.com',
288 'image' => $this->social_icon_url . '/11-official/Instagram.png',
289 'height' => '32px',
290 'width' => '32px',
291 'text' => 'Instagram',
292 ],
293 ],
294 ],
295 ],
296 ],
297 ],
298 ],
299 2 =>
300 [
301 'type' => 'container',
302 'columnLayout' => false,
303 'orientation' => 'horizontal',
304 'image' =>
305 [
306 'src' => null,
307 'display' => 'scale',
308 ],
309 'styles' =>
310 [
311 'block' =>
312 [
313 'backgroundColor' => '#c6dbd8',
314 ],
315 ],
316 'blocks' =>
317 [
318 0 =>
319 [
320 'type' => 'container',
321 'columnLayout' => false,
322 'orientation' => 'vertical',
323 'image' =>
324 [
325 'src' => null,
326 'display' => 'scale',
327 ],
328 'styles' =>
329 [
330 'block' =>
331 [
332 'backgroundColor' => 'transparent',
333 ],
334 ],
335 'blocks' =>
336 [
337 0 =>
338 [
339 'type' => 'spacer',
340 'styles' =>
341 [
342 'block' =>
343 [
344 'backgroundColor' => 'transparent',
345 'height' => '20px',
346 ],
347 ],
348 ],
349 1 =>
350 [
351 'type' => 'text',
352 'text' => '<p><strong>Local News</strong></p>',
353 ],
354 ],
355 ],
356 1 =>
357 [
358 'type' => 'container',
359 'columnLayout' => false,
360 'orientation' => 'vertical',
361 'image' =>
362 [
363 'src' => null,
364 'display' => 'scale',
365 ],
366 'styles' =>
367 [
368 'block' =>
369 [
370 'backgroundColor' => 'transparent',
371 ],
372 ],
373 'blocks' =>
374 [
375 0 =>
376 [
377 'type' => 'spacer',
378 'styles' =>
379 [
380 'block' =>
381 [
382 'backgroundColor' => 'transparent',
383 'height' => '20px',
384 ],
385 ],
386 ],
387 1 =>
388 [
389 'type' => 'text',
390 'text' => '<p style="text-align: center;"><strong>Sports&nbsp;Updates &amp; Scores</strong></p>',
391 ],
392 ],
393 ],
394 2 =>
395 [
396 'type' => 'container',
397 'columnLayout' => false,
398 'orientation' => 'vertical',
399 'image' =>
400 [
401 'src' => null,
402 'display' => 'scale',
403 ],
404 'styles' =>
405 [
406 'block' =>
407 [
408 'backgroundColor' => 'transparent',
409 ],
410 ],
411 'blocks' =>
412 [
413 0 =>
414 [
415 'type' => 'spacer',
416 'styles' =>
417 [
418 'block' =>
419 [
420 'backgroundColor' => 'transparent',
421 'height' => '20px',
422 ],
423 ],
424 ],
425 1 =>
426 [
427 'type' => 'text',
428 'text' => '<p style="text-align: right;"><strong>Business News</strong></p>',
429 ],
430 ],
431 ],
432 ],
433 ],
434 3 =>
435 [
436 'type' => 'container',
437 'columnLayout' => false,
438 'orientation' => 'horizontal',
439 'image' =>
440 [
441 'src' => null,
442 'display' => 'scale',
443 ],
444 'styles' =>
445 [
446 'block' =>
447 [
448 'backgroundColor' => '#ffffff',
449 ],
450 ],
451 'blocks' =>
452 [
453 0 =>
454 [
455 'type' => 'container',
456 'columnLayout' => false,
457 'orientation' => 'vertical',
458 'image' =>
459 [
460 'src' => null,
461 'display' => 'scale',
462 ],
463 'styles' =>
464 [
465 'block' =>
466 [
467 'backgroundColor' => 'transparent',
468 ],
469 ],
470 'blocks' =>
471 [
472 0 =>
473 [
474 'type' => 'spacer',
475 'styles' =>
476 [
477 'block' =>
478 [
479 'backgroundColor' => 'transparent',
480 'height' => '30px',
481 ],
482 ],
483 ],
484 1 =>
485 [
486 'type' => 'text',
487 'text' => '<h1 style="text-align: left;"><strong>Check Out Our New Blog Posts! </strong></h1>
488 <p style="text-align: left;">&nbsp;</p>
489 <p style="text-align: left;">MailPoet can <span style="line-height: 1.6em; background-color: inherit;"><em>automatically</em> </span><span style="line-height: 1.6em; background-color: inherit;">send your new blog posts to your subscribers.</span></p>
490 <p style="text-align: left;"><span style="line-height: 1.6em; background-color: inherit;"></span></p>
491 <p style="text-align: left;"><span style="line-height: 1.6em; background-color: inherit;">Below, you\'ll find three recent posts, which are displayed automatically, thanks to the <em>Automatic Latest Content</em> widget, which can be found in the right sidebar, under <em>Content</em>.</span></p>
492 <p style="text-align: left;"><span style="line-height: 1.6em; background-color: inherit;"></span></p>
493 <p style="text-align: left;"><span style="line-height: 1.6em; background-color: inherit;">To edit the settings and styles of your post, simply click on a post below.</span></p>',
494 ],
495 2 =>
496 [
497 'type' => 'divider',
498 'styles' =>
499 [
500 'block' =>
501 [
502 'backgroundColor' => 'transparent',
503 'padding' => '13px',
504 'borderStyle' => 'double',
505 'borderWidth' => '7px',
506 'borderColor' => '#c6dbd8',
507 ],
508 ],
509 ],
510 ],
511 ],
512 ],
513 ],
514 4 =>
515 [
516 'type' => 'automatedLatestContentLayout',
517 'withLayout' => true,
518 'amount' => '3',
519 'contentType' => 'post',
520 'terms' =>
521 [
522 ],
523 'inclusionType' => 'include',
524 'displayType' => 'excerpt',
525 'titleFormat' => 'h3',
526 'titleAlignment' => 'left',
527 'titleIsLink' => true,
528 'imageFullWidth' => false,
529 'featuredImagePosition' => 'left',
530 'showAuthor' => 'no',
531 'authorPrecededBy' => 'Author:',
532 'showCategories' => 'no',
533 'categoriesPrecededBy' => 'Categories:',
534 'readMoreType' => 'link',
535 'readMoreText' => 'Read more',
536 'readMoreButton' =>
537 [
538 'type' => 'button',
539 'text' => 'Read the post',
540 'url' => '[postLink]',
541 'styles' =>
542 [
543 'block' =>
544 [
545 'backgroundColor' => '#2ea1cd',
546 'borderColor' => '#0074a2',
547 'borderWidth' => '1px',
548 'borderRadius' => '5px',
549 'borderStyle' => 'solid',
550 'width' => '160px',
551 'lineHeight' => '30px',
552 'fontColor' => '#ffffff',
553 'fontFamily' => 'Verdana',
554 'fontSize' => '16px',
555 'fontWeight' => 'normal',
556 'textAlign' => 'center',
557 ],
558 ],
559 ],
560 'sortBy' => 'newest',
561 'showDivider' => true,
562 'divider' =>
563 [
564 'type' => 'divider',
565 'styles' =>
566 [
567 'block' =>
568 [
569 'backgroundColor' => 'transparent',
570 'padding' => '13px',
571 'borderStyle' => 'double',
572 'borderWidth' => '7px',
573 'borderColor' => '#c6dbd8',
574 ],
575 ],
576 ],
577 'backgroundColor' => '#ffffff',
578 'backgroundColorAlternate' => '#eeeeee',
579 ],
580 5 =>
581 [
582 'type' => 'container',
583 'columnLayout' => false,
584 'orientation' => 'horizontal',
585 'image' =>
586 [
587 'src' => null,
588 'display' => 'scale',
589 ],
590 'styles' =>
591 [
592 'block' =>
593 [
594 'backgroundColor' => '#c6dbd8',
595 ],
596 ],
597 'blocks' =>
598 [
599 0 =>
600 [
601 'type' => 'container',
602 'columnLayout' => false,
603 'orientation' => 'vertical',
604 'image' =>
605 [
606 'src' => null,
607 'display' => 'scale',
608 ],
609 'styles' =>
610 [
611 'block' =>
612 [
613 'backgroundColor' => 'transparent',
614 ],
615 ],
616 'blocks' =>
617 [
618 0 =>
619 [
620 'type' => 'spacer',
621 'styles' =>
622 [
623 'block' =>
624 [
625 'backgroundColor' => '#c6dbd8',
626 'height' => '30px',
627 ],
628 ],
629 ],
630 ],
631 ],
632 ],
633 ],
634 6 =>
635 [
636 'type' => 'container',
637 'columnLayout' => false,
638 'orientation' => 'horizontal',
639 'image' =>
640 [
641 'src' => null,
642 'display' => 'scale',
643 ],
644 'styles' =>
645 [
646 'block' =>
647 [
648 'backgroundColor' => '#c6dbd8',
649 ],
650 ],
651 'blocks' =>
652 [
653 0 =>
654 [
655 'type' => 'container',
656 'columnLayout' => false,
657 'orientation' => 'vertical',
658 'image' =>
659 [
660 'src' => null,
661 'display' => 'scale',
662 ],
663 'styles' =>
664 [
665 'block' =>
666 [
667 'backgroundColor' => 'transparent',
668 ],
669 ],
670 'blocks' =>
671 [
672 0 =>
673 [
674 'type' => 'spacer',
675 'styles' =>
676 [
677 'block' =>
678 [
679 'backgroundColor' => '#c6dbd8',
680 'height' => '28px',
681 ],
682 ],
683 ],
684 1 =>
685 [
686 'type' => 'image',
687 'link' => '',
688 'src' => $this->template_image_url . '/News-Logo.png',
689 'alt' => 'News-Logo',
690 'fullWidth' => false,
691 'width' => '200px',
692 'height' => '100px',
693 'styles' =>
694 [
695 'block' =>
696 [
697 'textAlign' => 'center',
698 ],
699 ],
700 ],
701 ],
702 ],
703 1 =>
704 [
705 'type' => 'container',
706 'columnLayout' => false,
707 'orientation' => 'vertical',
708 'image' =>
709 [
710 'src' => null,
711 'display' => 'scale',
712 ],
713 'styles' =>
714 [
715 'block' =>
716 [
717 'backgroundColor' => 'transparent',
718 ],
719 ],
720 'blocks' =>
721 [
722 0 =>
723 [
724 'type' => 'footer',
725 'text' => '<p><span style="color: #458687;"><a href="[link:subscription_unsubscribe_url]" style="color: #458687;">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]" style="color: #458687;">' . __("Manage your subscription", 'mailpoet') . '</a></span><br />' . __("Add your postal address here!", 'mailpoet') . '</p>',
726 'styles' =>
727 [
728 'block' =>
729 [
730 'backgroundColor' => 'transparent',
731 ],
732 'text' =>
733 [
734 'fontColor' => '#222222',
735 'fontFamily' => 'Arial',
736 'fontSize' => '12px',
737 'textAlign' => 'center',
738 ],
739 'link' =>
740 [
741 'fontColor' => '#6cb7d4',
742 'textDecoration' => 'none',
743 ],
744 ],
745 ],
746 1 =>
747 [
748 'type' => 'social',
749 'iconSet' => 'official',
750 'icons' =>
751 [
752 0 =>
753 [
754 'type' => 'socialIcon',
755 'iconType' => 'facebook',
756 'link' => 'http://www.facebook.com',
757 'image' => $this->social_icon_url . '/11-official/Facebook.png',
758 'height' => '32px',
759 'width' => '32px',
760 'text' => 'Facebook',
761 ],
762 1 =>
763 [
764 'type' => 'socialIcon',
765 'iconType' => 'twitter',
766 'link' => 'http://www.twitter.com',
767 'image' => $this->social_icon_url . '/11-official/X.png',
768 'height' => '32px',
769 'width' => '32px',
770 'text' => 'Twitter',
771 ],
772 2 =>
773 [
774 'type' => 'socialIcon',
775 'iconType' => 'instagram',
776 'link' => 'http://instagram.com',
777 'image' => $this->social_icon_url . '/11-official/Instagram.png',
778 'height' => '32px',
779 'width' => '32px',
780 'text' => 'Instagram',
781 ],
782 3 =>
783 [
784 'type' => 'socialIcon',
785 'iconType' => 'email',
786 'link' => '',
787 'image' => $this->social_icon_url . '/11-official/Email.png',
788 'height' => '32px',
789 'width' => '32px',
790 'text' => 'Email',
791 ],
792 ],
793 ],
794 ],
795 ],
796 ],
797 ],
798 7 =>
799 [
800 'type' => 'container',
801 'columnLayout' => false,
802 'orientation' => 'horizontal',
803 'image' =>
804 [
805 'src' => null,
806 'display' => 'scale',
807 ],
808 'styles' =>
809 [
810 'block' =>
811 [
812 'backgroundColor' => '#c6dbd8',
813 ],
814 ],
815 'blocks' =>
816 [
817 0 =>
818 [
819 'type' => 'container',
820 'columnLayout' => false,
821 'orientation' => 'vertical',
822 'image' =>
823 [
824 'src' => null,
825 'display' => 'scale',
826 ],
827 'styles' =>
828 [
829 'block' =>
830 [
831 'backgroundColor' => 'transparent',
832 ],
833 ],
834 'blocks' =>
835 [
836 0 =>
837 [
838 'type' => 'spacer',
839 'styles' =>
840 [
841 'block' =>
842 [
843 'backgroundColor' => '#c6dbd8',
844 'height' => '21px',
845 ],
846 ],
847 ],
848 ],
849 ],
850 ],
851 ],
852 ],
853 ],
854 'globalStyles' =>
855 [
856 'text' =>
857 [
858 'fontColor' => '#000000',
859 'fontFamily' => 'Playfair Display',
860 'fontSize' => '14px',
861 ],
862 'h1' =>
863 [
864 'fontColor' => '#111111',
865 'fontFamily' => 'Merriweather',
866 'fontSize' => '26px',
867 ],
868 'h2' =>
869 [
870 'fontColor' => '#222222',
871 'fontFamily' => 'Merriweather',
872 'fontSize' => '22px',
873 ],
874 'h3' =>
875 [
876 'fontColor' => '#333333',
877 'fontFamily' => 'Merriweather',
878 'fontSize' => '18px',
879 ],
880 'link' =>
881 [
882 'fontColor' => '#3d8076',
883 'textDecoration' => 'underline',
884 ],
885 'wrapper' =>
886 [
887 'backgroundColor' => '#ffffff',
888 ],
889 'body' =>
890 [
891 'backgroundColor' => '#f2f9f8',
892 ],
893 ],
894 'blockDefaults' =>
895 [
896 'automatedLatestContent' =>
897 [
898 'amount' => '5',
899 'withLayout' => false,
900 'contentType' => 'post',
901 'inclusionType' => 'include',
902 'displayType' => 'excerpt',
903 'titleFormat' => 'h1',
904 'titleAlignment' => 'left',
905 'titleIsLink' => false,
906 'imageFullWidth' => false,
907 'featuredImagePosition' => 'belowTitle',
908 'showAuthor' => 'no',
909 'authorPrecededBy' => 'Author:',
910 'showCategories' => 'no',
911 'categoriesPrecededBy' => 'Categories:',
912 'readMoreType' => 'button',
913 'readMoreText' => 'Read more',
914 'readMoreButton' =>
915 [
916 'text' => 'Read more',
917 'url' => '[postLink]',
918 'context' => 'automatedLatestContent.readMoreButton',
919 'styles' =>
920 [
921 'block' =>
922 [
923 'backgroundColor' => '#2ea1cd',
924 'borderColor' => '#0074a2',
925 'borderWidth' => '1px',
926 'borderRadius' => '5px',
927 'borderStyle' => 'solid',
928 'width' => '180px',
929 'lineHeight' => '40px',
930 'fontColor' => '#ffffff',
931 'fontFamily' => 'Verdana',
932 'fontSize' => '18px',
933 'fontWeight' => 'normal',
934 'textAlign' => 'center',
935 ],
936 ],
937 ],
938 'sortBy' => 'newest',
939 'showDivider' => true,
940 'divider' =>
941 [
942 'context' => 'automatedLatestContent.divider',
943 'styles' =>
944 [
945 'block' =>
946 [
947 'backgroundColor' => 'transparent',
948 'padding' => '13px',
949 'borderStyle' => 'solid',
950 'borderWidth' => '3px',
951 'borderColor' => '#aaaaaa',
952 ],
953 ],
954 ],
955 'backgroundColor' => '#ffffff',
956 'backgroundColorAlternate' => '#eeeeee',
957 ],
958 'automatedLatestContentLayout' =>
959 [
960 'amount' => '3',
961 'withLayout' => true,
962 'contentType' => 'post',
963 'inclusionType' => 'include',
964 'displayType' => 'excerpt',
965 'titleFormat' => 'h3',
966 'titleAlignment' => 'left',
967 'titleIsLink' => true,
968 'imageFullWidth' => false,
969 'featuredImagePosition' => 'left',
970 'showAuthor' => 'no',
971 'authorPrecededBy' => 'Author:',
972 'showCategories' => 'no',
973 'categoriesPrecededBy' => 'Categories:',
974 'readMoreType' => 'link',
975 'readMoreText' => 'Read more',
976 'readMoreButton' =>
977 [
978 'text' => 'Read the post',
979 'url' => '[postLink]',
980 'context' => 'automatedLatestContentLayout.readMoreButton',
981 'styles' =>
982 [
983 'block' =>
984 [
985 'backgroundColor' => '#2ea1cd',
986 'borderColor' => '#0074a2',
987 'borderWidth' => '1px',
988 'borderRadius' => '5px',
989 'borderStyle' => 'solid',
990 'width' => '160px',
991 'lineHeight' => '30px',
992 'fontColor' => '#ffffff',
993 'fontFamily' => 'Verdana',
994 'fontSize' => '16px',
995 'fontWeight' => 'normal',
996 'textAlign' => 'center',
997 ],
998 ],
999 'type' => 'button',
1000 ],
1001 'sortBy' => 'newest',
1002 'showDivider' => true,
1003 'divider' =>
1004 [
1005 'context' => 'automatedLatestContentLayout.divider',
1006 'styles' =>
1007 [
1008 'block' =>
1009 [
1010 'backgroundColor' => 'transparent',
1011 'padding' => '13px',
1012 'borderStyle' => 'double',
1013 'borderWidth' => '7px',
1014 'borderColor' => '#c6dbd8',
1015 ],
1016 ],
1017 'type' => 'divider',
1018 ],
1019 'backgroundColor' => '#ffffff',
1020 'backgroundColorAlternate' => '#eeeeee',
1021 'type' => 'automatedLatestContentLayout',
1022 'terms' =>
1023 [
1024 ],
1025 ],
1026 'button' =>
1027 [
1028 'text' => 'Read the post',
1029 'url' => '[postLink]',
1030 'styles' =>
1031 [
1032 'block' =>
1033 [
1034 'backgroundColor' => '#2ea1cd',
1035 'borderColor' => '#0074a2',
1036 'borderWidth' => '1px',
1037 'borderRadius' => '5px',
1038 'borderStyle' => 'solid',
1039 'width' => '180px',
1040 'lineHeight' => '40px',
1041 'fontColor' => '#ffffff',
1042 'fontFamily' => 'Verdana',
1043 'fontSize' => '18px',
1044 'fontWeight' => 'normal',
1045 'textAlign' => 'center',
1046 ],
1047 ],
1048 'type' => 'button',
1049 ],
1050 'divider' =>
1051 [
1052 'styles' =>
1053 [
1054 'block' =>
1055 [
1056 'backgroundColor' => 'transparent',
1057 'padding' => '13px',
1058 'borderStyle' => 'double',
1059 'borderWidth' => '7px',
1060 'borderColor' => '#c6dbd8',
1061 ],
1062 ],
1063 'type' => 'divider',
1064 ],
1065 'footer' =>
1066 [
1067 '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>',
1068 'styles' =>
1069 [
1070 'block' =>
1071 [
1072 'backgroundColor' => 'transparent',
1073 ],
1074 'text' =>
1075 [
1076 'fontColor' => '#222222',
1077 'fontFamily' => 'Arial',
1078 'fontSize' => '12px',
1079 'textAlign' => 'center',
1080 ],
1081 'link' =>
1082 [
1083 'fontColor' => '#6cb7d4',
1084 'textDecoration' => 'none',
1085 ],
1086 ],
1087 'type' => 'footer',
1088 ],
1089 'posts' =>
1090 [
1091 'amount' => '10',
1092 'withLayout' => true,
1093 'contentType' => 'post',
1094 'postStatus' => 'publish',
1095 'inclusionType' => 'include',
1096 'displayType' => 'excerpt',
1097 'titleFormat' => 'h1',
1098 'titleAlignment' => 'left',
1099 'titleIsLink' => false,
1100 'imageFullWidth' => false,
1101 'featuredImagePosition' => 'alternate',
1102 'showAuthor' => 'no',
1103 'authorPrecededBy' => 'Author:',
1104 'showCategories' => 'no',
1105 'categoriesPrecededBy' => 'Categories:',
1106 'readMoreType' => 'link',
1107 'readMoreText' => 'Read more',
1108 'readMoreButton' =>
1109 [
1110 'text' => 'Read more',
1111 'url' => '[postLink]',
1112 'context' => 'posts.readMoreButton',
1113 'styles' =>
1114 [
1115 'block' =>
1116 [
1117 'backgroundColor' => '#2ea1cd',
1118 'borderColor' => '#0074a2',
1119 'borderWidth' => '1px',
1120 'borderRadius' => '5px',
1121 'borderStyle' => 'solid',
1122 'width' => '180px',
1123 'lineHeight' => '40px',
1124 'fontColor' => '#ffffff',
1125 'fontFamily' => 'Verdana',
1126 'fontSize' => '18px',
1127 'fontWeight' => 'normal',
1128 'textAlign' => 'center',
1129 ],
1130 ],
1131 ],
1132 'sortBy' => 'newest',
1133 'showDivider' => true,
1134 'divider' =>
1135 [
1136 'context' => 'posts.divider',
1137 'styles' =>
1138 [
1139 'block' =>
1140 [
1141 'backgroundColor' => 'transparent',
1142 'padding' => '13px',
1143 'borderStyle' => 'solid',
1144 'borderWidth' => '3px',
1145 'borderColor' => '#aaaaaa',
1146 ],
1147 ],
1148 ],
1149 'backgroundColor' => '#ffffff',
1150 'backgroundColorAlternate' => '#eeeeee',
1151 ],
1152 'social' =>
1153 [
1154 'iconSet' => 'official',
1155 'icons' =>
1156 [
1157 0 =>
1158 [
1159 'type' => 'socialIcon',
1160 'iconType' => 'facebook',
1161 'link' => 'http://www.facebook.com',
1162 'image' => $this->social_icon_url . '/11-official/Facebook.png',
1163 'height' => '32px',
1164 'width' => '32px',
1165 'text' => 'Facebook',
1166 ],
1167 1 =>
1168 [
1169 'type' => 'socialIcon',
1170 'iconType' => 'twitter',
1171 'link' => 'http://www.twitter.com',
1172 'image' => $this->social_icon_url . '/11-official/X.png',
1173 'height' => '32px',
1174 'width' => '32px',
1175 'text' => 'Twitter',
1176 ],
1177 2 =>
1178 [
1179 'type' => 'socialIcon',
1180 'iconType' => 'instagram',
1181 'link' => 'http://instagram.com',
1182 'image' => $this->social_icon_url . '/11-official/Instagram.png',
1183 'height' => '32px',
1184 'width' => '32px',
1185 'text' => 'Instagram',
1186 ],
1187 3 =>
1188 [
1189 'type' => 'socialIcon',
1190 'iconType' => 'email',
1191 'link' => '',
1192 'image' => $this->social_icon_url . '/11-official/Email.png',
1193 'height' => '32px',
1194 'width' => '32px',
1195 'text' => 'Email',
1196 ],
1197 ],
1198 'type' => 'social',
1199 ],
1200 'spacer' =>
1201 [
1202 'styles' =>
1203 [
1204 'block' =>
1205 [
1206 'backgroundColor' => 'transparent',
1207 'height' => '20px',
1208 ],
1209 ],
1210 'type' => 'spacer',
1211 ],
1212 'header' =>
1213 [
1214 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
1215 'styles' =>
1216 [
1217 'block' =>
1218 [
1219 'backgroundColor' => 'transparent',
1220 ],
1221 'text' =>
1222 [
1223 'fontColor' => '#222222',
1224 'fontFamily' => 'Arial',
1225 'fontSize' => '12px',
1226 'textAlign' => 'right',
1227 ],
1228 'link' =>
1229 [
1230 'fontColor' => '#6cb7d4',
1231 'textDecoration' => 'underline',
1232 ],
1233 ],
1234 'type' => 'header',
1235 ],
1236 ],
1237 ];
1238 }
1239 }
1240