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