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