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