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 / Avocado.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
Avocado.php
1027 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 Avocado {
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/avocado';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("Avocado", '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 'orientation' => 'vertical',
40 'image' =>
41 [
42 'src' => null,
43 'display' => 'scale',
44 ],
45 'styles' =>
46 [
47 'block' =>
48 [
49 'backgroundColor' => 'transparent',
50 ],
51 ],
52 'blocks' =>
53 [
54 0 =>
55 [
56 'type' => 'container',
57 'orientation' => 'horizontal',
58 'image' =>
59 [
60 'src' => null,
61 'display' => 'scale',
62 ],
63 'styles' =>
64 [
65 'block' =>
66 [
67 'backgroundColor' => '#f3f8f3',
68 ],
69 ],
70 'blocks' =>
71 [
72 0 =>
73 [
74 'type' => 'container',
75 'orientation' => 'vertical',
76 'image' =>
77 [
78 'src' => null,
79 'display' => 'scale',
80 ],
81 'styles' =>
82 [
83 'block' =>
84 [
85 'backgroundColor' => 'transparent',
86 ],
87 ],
88 'blocks' =>
89 [
90 0 =>
91 [
92 'type' => 'spacer',
93 'styles' =>
94 [
95 'block' =>
96 [
97 'backgroundColor' => 'transparent',
98 'height' => '20px',
99 ],
100 ],
101 ],
102 1 =>
103 [
104 'type' => 'image',
105 'link' => '',
106 'src' => $this->template_image_url . '/Avocado-Logo-2.png',
107 'alt' => 'Avocado-Logo-2',
108 'fullWidth' => false,
109 'width' => '212px',
110 'height' => '89px',
111 'styles' =>
112 [
113 'block' =>
114 [
115 'textAlign' => 'left',
116 ],
117 ],
118 ],
119 ],
120 ],
121 1 =>
122 [
123 'type' => 'container',
124 'orientation' => 'vertical',
125 'image' =>
126 [
127 'src' => null,
128 'display' => 'scale',
129 ],
130 'styles' =>
131 [
132 'block' =>
133 [
134 'backgroundColor' => 'transparent',
135 ],
136 ],
137 'blocks' =>
138 [
139 0 =>
140 [
141 'type' => 'spacer',
142 'styles' =>
143 [
144 'block' =>
145 [
146 'backgroundColor' => 'transparent',
147 'height' => '33px',
148 ],
149 ],
150 ],
151 1 =>
152 [
153 'type' => 'text',
154 'text' => '<p style="text-align: right;"><strong>Has to be fresh</strong></p>',
155 ],
156 ],
157 ],
158 ],
159 ],
160 1 =>
161 [
162 'type' => 'container',
163 'orientation' => 'horizontal',
164 'image' =>
165 [
166 'src' => null,
167 'display' => 'scale',
168 ],
169 'styles' =>
170 [
171 'block' =>
172 [
173 'backgroundColor' => '#ddeeba',
174 ],
175 ],
176 'blocks' =>
177 [
178 0 =>
179 [
180 'type' => 'container',
181 'orientation' => 'vertical',
182 'image' =>
183 [
184 'src' => null,
185 'display' => 'scale',
186 ],
187 'styles' =>
188 [
189 'block' =>
190 [
191 'backgroundColor' => 'transparent',
192 ],
193 ],
194 'blocks' =>
195 [
196 0 =>
197 [
198 'type' => 'spacer',
199 'styles' =>
200 [
201 'block' =>
202 [
203 'backgroundColor' => 'transparent',
204 'height' => '58px',
205 ],
206 ],
207 ],
208 1 =>
209 [
210 'type' => 'text',
211 'text' => '<h1 style="text-align: center;"><strong>Holy Guacamole!</strong></h1>
212 <h2 style="text-align: center;">Your monthly avocado</h2>
213 <h2 style="text-align: center;">delivery starts right now.</h2>',
214 ],
215 2 =>
216 [
217 'type' => 'image',
218 'link' => '',
219 'src' => $this->template_image_url . '/Avocado-Header-1.jpg',
220 'alt' => 'Avocado-Header-1',
221 'fullWidth' => true,
222 'width' => '1280px',
223 'height' => '644px',
224 'styles' =>
225 [
226 'block' =>
227 [
228 'textAlign' => 'center',
229 ],
230 ],
231 ],
232 ],
233 ],
234 ],
235 ],
236 2 =>
237 [
238 'type' => 'container',
239 'orientation' => 'horizontal',
240 'image' =>
241 [
242 'src' => null,
243 'display' => 'scale',
244 ],
245 'styles' =>
246 [
247 'block' =>
248 [
249 'backgroundColor' => 'transparent',
250 ],
251 ],
252 'blocks' =>
253 [
254 0 =>
255 [
256 'type' => 'container',
257 'orientation' => 'vertical',
258 'image' =>
259 [
260 'src' => null,
261 'display' => 'scale',
262 ],
263 'styles' =>
264 [
265 'block' =>
266 [
267 'backgroundColor' => 'transparent',
268 ],
269 ],
270 'blocks' =>
271 [
272 0 =>
273 [
274 'type' => 'image',
275 'link' => '',
276 'src' => $this->template_image_url . '/Avocado-Recipe.jpg',
277 'alt' => 'Avocado-Recipe',
278 'fullWidth' => true,
279 'width' => '600px',
280 'height' => '890px',
281 'styles' =>
282 [
283 'block' =>
284 [
285 'textAlign' => 'center',
286 ],
287 ],
288 ],
289 ],
290 ],
291 1 =>
292 [
293 'type' => 'container',
294 'orientation' => 'vertical',
295 'image' =>
296 [
297 'src' => null,
298 'display' => 'scale',
299 ],
300 'styles' =>
301 [
302 'block' =>
303 [
304 'backgroundColor' => 'transparent',
305 ],
306 ],
307 'blocks' =>
308 [
309 0 =>
310 [
311 'type' => 'spacer',
312 'styles' =>
313 [
314 'block' =>
315 [
316 'backgroundColor' => 'transparent',
317 'height' => '135px',
318 ],
319 ],
320 ],
321 1 =>
322 [
323 'type' => 'text',
324 'text' => '<h3 style="text-align: left;"><strong>A quick and easy recipe to get you started...</strong></h3>
325 <p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer blandit tortor nec eleifend maximus. Nulla est lectus, tincidunt quis molestie vitae, suscipit non orci.</p>',
326 ],
327 2 =>
328 [
329 'type' => 'button',
330 'text' => 'Check it out',
331 'url' => '',
332 'styles' =>
333 [
334 'block' =>
335 [
336 'backgroundColor' => '#9ecd2e',
337 'borderColor' => '#0074a2',
338 'borderWidth' => '0px',
339 'borderRadius' => '28px',
340 'borderStyle' => 'solid',
341 'width' => '111px',
342 'lineHeight' => '36px',
343 'fontColor' => '#3d3d3d',
344 'fontFamily' => 'Arial',
345 'fontSize' => '14px',
346 'fontWeight' => 'bold',
347 'textAlign' => 'left',
348 ],
349 ],
350 ],
351 ],
352 ],
353 ],
354 ],
355 3 =>
356 [
357 'type' => 'container',
358 'orientation' => 'horizontal',
359 'image' =>
360 [
361 'src' => null,
362 'display' => 'scale',
363 ],
364 'styles' =>
365 [
366 'block' =>
367 [
368 'backgroundColor' => '#9ecd2e',
369 ],
370 ],
371 'blocks' =>
372 [
373 0 =>
374 [
375 'type' => 'container',
376 'orientation' => 'vertical',
377 'image' =>
378 [
379 'src' => null,
380 'display' => 'scale',
381 ],
382 'styles' =>
383 [
384 'block' =>
385 [
386 'backgroundColor' => 'transparent',
387 ],
388 ],
389 'blocks' =>
390 [
391 0 =>
392 [
393 'type' => 'text',
394 'text' => '<p style="text-align: center;"><strong><span style="color: #333333;"></span></strong></p>
395 <p style="text-align: center;"><strong><span style="color: #333333;"></span></strong><strong><span style="color: #333333;">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span></strong></p>',
396 ],
397 ],
398 ],
399 ],
400 ],
401 4 =>
402 [
403 'type' => 'container',
404 'orientation' => 'horizontal',
405 'image' =>
406 [
407 'src' => null,
408 'display' => 'scale',
409 ],
410 'styles' =>
411 [
412 'block' =>
413 [
414 'backgroundColor' => '#ddeeba',
415 ],
416 ],
417 'blocks' =>
418 [
419 0 =>
420 [
421 'type' => 'container',
422 'orientation' => 'vertical',
423 'image' =>
424 [
425 'src' => null,
426 'display' => 'scale',
427 ],
428 'styles' =>
429 [
430 'block' =>
431 [
432 'backgroundColor' => 'transparent',
433 ],
434 ],
435 'blocks' =>
436 [
437 0 =>
438 [
439 'type' => 'spacer',
440 'styles' =>
441 [
442 'block' =>
443 [
444 'backgroundColor' => 'transparent',
445 'height' => '58px',
446 ],
447 ],
448 ],
449 1 =>
450 [
451 'type' => 'text',
452 'text' => '<h2 style="text-align: center;"><strong>Got a friend that hass to have this too ?</strong></h2>
453 <h2 style="text-align: center;"></h2>',
454 ],
455 2 =>
456 [
457 'type' => 'image',
458 'link' => '',
459 'src' => $this->template_image_url . '/Avocado-Coupon.jpg',
460 'alt' => 'Avocado-Coupon',
461 'fullWidth' => true,
462 'width' => '1280px',
463 'height' => '382px',
464 'styles' =>
465 [
466 'block' =>
467 [
468 'textAlign' => 'center',
469 ],
470 ],
471 ],
472 ],
473 ],
474 ],
475 ],
476 5 =>
477 [
478 'type' => 'container',
479 'orientation' => 'horizontal',
480 'image' =>
481 [
482 'src' => null,
483 'display' => 'scale',
484 ],
485 'styles' =>
486 [
487 'block' =>
488 [
489 'backgroundColor' => '#dbefb4',
490 ],
491 ],
492 'blocks' =>
493 [
494 0 =>
495 [
496 'type' => 'container',
497 'orientation' => 'vertical',
498 'image' =>
499 [
500 'src' => null,
501 'display' => 'scale',
502 ],
503 'styles' =>
504 [
505 'block' =>
506 [
507 'backgroundColor' => 'transparent',
508 ],
509 ],
510 'blocks' =>
511 [
512 0 =>
513 [
514 'type' => 'text',
515 'text' => '<p style="text-align: center;">Send them your exclusive coupon code now and they\'ll receive 50% off their next order, and you\'ll get your next box for free!&nbsp;</p>',
516 ],
517 1 =>
518 [
519 'productIds' => [],
520 'excludedProductIds' => [],
521 'productCategoryIds' => [],
522 'excludedProductCategoryIds' => [],
523 'type' => 'coupon',
524 'amount' => 10,
525 'amountMax' => 100,
526 'discountType' => 'percent',
527 'expiryDay' => 10,
528 'usageLimit' => '',
529 'usageLimitPerUser' => '',
530 'minimumAmount' => '',
531 'maximumAmount' => '',
532 'emailRestrictions' => '',
533 'styles' => [
534 'block' => [
535 'backgroundColor' => '#dbefb4',
536 'borderColor' => '#3d3d3d',
537 'borderWidth' => '3px',
538 'borderRadius' => '0px',
539 'borderStyle' => 'solid',
540 'width' => '254px',
541 'lineHeight' => '50px',
542 'fontColor' => '#3d3d3d',
543 'fontFamily' => 'Arial',
544 'fontSize' => '26px',
545 'fontWeight' => 'bold',
546 'textAlign' => 'center',
547 ],
548 ],
549 'source' => 'createNew',
550 'code' => 'XXXX-XXXXXXX-XXXX',
551 ],
552 2 =>
553 [
554 'type' => 'spacer',
555 'styles' =>
556 [
557 'block' =>
558 [
559 'backgroundColor' => '#dbefb4',
560 'height' => '30px',
561 ],
562 ],
563 ],
564 ],
565 ],
566 ],
567 ],
568 6 =>
569 [
570 'type' => 'container',
571 'orientation' => 'horizontal',
572 'image' =>
573 [
574 'src' => null,
575 'display' => 'scale',
576 ],
577 'styles' =>
578 [
579 'block' =>
580 [
581 'backgroundColor' => '#f8f8f8',
582 ],
583 ],
584 'blocks' =>
585 [
586 0 =>
587 [
588 'type' => 'container',
589 'orientation' => 'vertical',
590 'image' =>
591 [
592 'src' => null,
593 'display' => 'scale',
594 ],
595 'styles' =>
596 [
597 'block' =>
598 [
599 'backgroundColor' => 'transparent',
600 ],
601 ],
602 'blocks' =>
603 [
604 0 =>
605 [
606 'type' => 'spacer',
607 'styles' =>
608 [
609 'block' =>
610 [
611 'backgroundColor' => '#f3f8f3',
612 'height' => '44px',
613 ],
614 ],
615 ],
616 1 =>
617 [
618 'type' => 'social',
619 'iconSet' => 'official',
620 'icons' =>
621 [
622 0 =>
623 [
624 'type' => 'socialIcon',
625 'iconType' => 'facebook',
626 'link' => 'http://www.facebook.com',
627 'image' => $this->social_icon_url . '/11-official/Facebook.png',
628 'height' => '32px',
629 'width' => '32px',
630 'text' => 'Facebook',
631 ],
632 1 =>
633 [
634 'type' => 'socialIcon',
635 'iconType' => 'twitter',
636 'link' => 'http://www.twitter.com',
637 'image' => $this->social_icon_url . '/11-official/X.png',
638 'height' => '32px',
639 'width' => '32px',
640 'text' => 'Twitter',
641 ],
642 2 =>
643 [
644 'type' => 'socialIcon',
645 'iconType' => 'instagram',
646 'link' => 'http://instagram.com',
647 'image' => $this->social_icon_url . '/11-official/Instagram.png',
648 'height' => '32px',
649 'width' => '32px',
650 'text' => 'Instagram',
651 ],
652 ],
653 ],
654 2 =>
655 [
656 'type' => 'footer',
657 'text' => '<p><strong><span style="color: #9ecd2e;"><a href="[link:subscription_unsubscribe_url]" style="color: #9ecd2e;">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]" style="color: #9ecd2e;">' . __("Manage your subscription", 'mailpoet') . '</a></span></strong><br />' . __("Add your postal address here!", 'mailpoet') . '</p>',
658 'styles' =>
659 [
660 'block' =>
661 [
662 'backgroundColor' => 'transparent',
663 ],
664 'text' =>
665 [
666 'fontColor' => '#222222',
667 'fontFamily' => 'Arial',
668 'fontSize' => '12px',
669 'textAlign' => 'center',
670 ],
671 'link' =>
672 [
673 'fontColor' => '#6cb7d4',
674 'textDecoration' => 'none',
675 ],
676 ],
677 ],
678 ],
679 ],
680 ],
681 ],
682 ],
683 ],
684 'globalStyles' =>
685 [
686 'text' =>
687 [
688 'fontColor' => '#3d3d3d',
689 'fontFamily' => 'Arial',
690 'fontSize' => '14px',
691 ],
692 'h1' =>
693 [
694 'fontColor' => '#3d3d3d',
695 'fontFamily' => 'Arial',
696 'fontSize' => '40px',
697 ],
698 'h2' =>
699 [
700 'fontColor' => '#3d3d3d',
701 'fontFamily' => 'Arial',
702 'fontSize' => '26px',
703 ],
704 'h3' =>
705 [
706 'fontColor' => '#3d3d3d',
707 'fontFamily' => 'Arial',
708 'fontSize' => '22px',
709 ],
710 'link' =>
711 [
712 'fontColor' => '#9ecd2e',
713 'textDecoration' => 'underline',
714 ],
715 'wrapper' =>
716 [
717 'backgroundColor' => '#ffffff',
718 ],
719 'body' =>
720 [
721 'backgroundColor' => '#f3f8f3',
722 ],
723 ],
724 'blockDefaults' =>
725 [
726 'automatedLatestContent' =>
727 [
728 'amount' => '5',
729 'contentType' => 'post',
730 'inclusionType' => 'include',
731 'displayType' => 'excerpt',
732 'titleFormat' => 'h1',
733 'titleAlignment' => 'left',
734 'titleIsLink' => false,
735 'imageFullWidth' => false,
736 'featuredImagePosition' => 'belowTitle',
737 'showAuthor' => 'no',
738 'authorPrecededBy' => 'Author:',
739 'showCategories' => 'no',
740 'categoriesPrecededBy' => 'Categories:',
741 'readMoreType' => 'button',
742 'readMoreText' => 'Read more',
743 'readMoreButton' =>
744 [
745 'text' => 'Read more',
746 'url' => '[postLink]',
747 'context' => 'automatedLatestContent.readMoreButton',
748 'styles' =>
749 [
750 'block' =>
751 [
752 'backgroundColor' => '#2ea1cd',
753 'borderColor' => '#0074a2',
754 'borderWidth' => '1px',
755 'borderRadius' => '5px',
756 'borderStyle' => 'solid',
757 'width' => '180px',
758 'lineHeight' => '40px',
759 'fontColor' => '#ffffff',
760 'fontFamily' => 'Verdana',
761 'fontSize' => '18px',
762 'fontWeight' => 'normal',
763 'textAlign' => 'center',
764 ],
765 ],
766 ],
767 'sortBy' => 'newest',
768 'showDivider' => true,
769 'divider' =>
770 [
771 'context' => 'automatedLatestContent.divider',
772 'styles' =>
773 [
774 'block' =>
775 [
776 'backgroundColor' => 'transparent',
777 'padding' => '13px',
778 'borderStyle' => 'solid',
779 'borderWidth' => '3px',
780 'borderColor' => '#aaaaaa',
781 ],
782 ],
783 ],
784 'backgroundColor' => '#ffffff',
785 'backgroundColorAlternate' => '#eeeeee',
786 ],
787 'automatedLatestContentLayout' =>
788 [
789 'amount' => '5',
790 'withLayout' => true,
791 'contentType' => 'post',
792 'inclusionType' => 'include',
793 'displayType' => 'excerpt',
794 'titleFormat' => 'h1',
795 'titleAlignment' => 'left',
796 'titleIsLink' => false,
797 'imageFullWidth' => false,
798 'featuredImagePosition' => 'alternate',
799 'showAuthor' => 'no',
800 'authorPrecededBy' => 'Author:',
801 'showCategories' => 'no',
802 'categoriesPrecededBy' => 'Categories:',
803 'readMoreType' => 'button',
804 'readMoreText' => 'Read more',
805 'readMoreButton' =>
806 [
807 'text' => 'Read more',
808 'url' => '[postLink]',
809 'context' => 'automatedLatestContentLayout.readMoreButton',
810 'styles' =>
811 [
812 'block' =>
813 [
814 'backgroundColor' => '#2ea1cd',
815 'borderColor' => '#0074a2',
816 'borderWidth' => '1px',
817 'borderRadius' => '5px',
818 'borderStyle' => 'solid',
819 'width' => '180px',
820 'lineHeight' => '40px',
821 'fontColor' => '#ffffff',
822 'fontFamily' => 'Verdana',
823 'fontSize' => '18px',
824 'fontWeight' => 'normal',
825 'textAlign' => 'center',
826 ],
827 ],
828 ],
829 'sortBy' => 'newest',
830 'showDivider' => true,
831 'divider' =>
832 [
833 'context' => 'automatedLatestContentLayout.divider',
834 'styles' =>
835 [
836 'block' =>
837 [
838 'backgroundColor' => 'transparent',
839 'padding' => '13px',
840 'borderStyle' => 'solid',
841 'borderWidth' => '3px',
842 'borderColor' => '#aaaaaa',
843 ],
844 ],
845 ],
846 'backgroundColor' => '#ffffff',
847 'backgroundColorAlternate' => '#eeeeee',
848 ],
849 'divider' =>
850 [
851 'styles' =>
852 [
853 'block' =>
854 [
855 'backgroundColor' => 'transparent',
856 'padding' => '13px',
857 'borderStyle' => 'dotted',
858 'borderWidth' => '2px',
859 'borderColor' => '#9ecd2e',
860 ],
861 ],
862 'type' => 'divider',
863 ],
864 'footer' =>
865 [
866 '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>',
867 'styles' =>
868 [
869 'block' =>
870 [
871 'backgroundColor' => 'transparent',
872 ],
873 'text' =>
874 [
875 'fontColor' => '#222222',
876 'fontFamily' => 'Arial',
877 'fontSize' => '12px',
878 'textAlign' => 'center',
879 ],
880 'link' =>
881 [
882 'fontColor' => '#6cb7d4',
883 'textDecoration' => 'none',
884 ],
885 ],
886 'type' => 'footer',
887 ],
888 'posts' =>
889 [
890 'amount' => '10',
891 'contentType' => 'post',
892 'postStatus' => 'publish',
893 'inclusionType' => 'include',
894 'displayType' => 'excerpt',
895 'titleFormat' => 'h1',
896 'titleAlignment' => 'left',
897 'titleIsLink' => false,
898 'imageFullWidth' => false,
899 'featuredImagePosition' => 'belowTitle',
900 'showAuthor' => 'no',
901 'authorPrecededBy' => 'Author:',
902 'showCategories' => 'no',
903 'categoriesPrecededBy' => 'Categories:',
904 'readMoreType' => 'link',
905 'readMoreText' => 'Read more',
906 'readMoreButton' =>
907 [
908 'text' => 'Read more',
909 'url' => '[postLink]',
910 'context' => 'posts.readMoreButton',
911 'styles' =>
912 [
913 'block' =>
914 [
915 'backgroundColor' => '#2ea1cd',
916 'borderColor' => '#0074a2',
917 'borderWidth' => '1px',
918 'borderRadius' => '5px',
919 'borderStyle' => 'solid',
920 'width' => '180px',
921 'lineHeight' => '40px',
922 'fontColor' => '#ffffff',
923 'fontFamily' => 'Verdana',
924 'fontSize' => '18px',
925 'fontWeight' => 'normal',
926 'textAlign' => 'center',
927 ],
928 ],
929 ],
930 'sortBy' => 'newest',
931 'showDivider' => true,
932 'divider' =>
933 [
934 'context' => 'posts.divider',
935 'styles' =>
936 [
937 'block' =>
938 [
939 'backgroundColor' => 'transparent',
940 'padding' => '13px',
941 'borderStyle' => 'solid',
942 'borderWidth' => '3px',
943 'borderColor' => '#aaaaaa',
944 ],
945 ],
946 ],
947 'backgroundColor' => '#ffffff',
948 'backgroundColorAlternate' => '#eeeeee',
949 ],
950 'social' =>
951 [
952 'iconSet' => 'official',
953 'icons' =>
954 [
955 0 =>
956 [
957 'type' => 'socialIcon',
958 'iconType' => 'facebook',
959 'link' => 'http://www.facebook.com',
960 'image' => $this->social_icon_url . '/11-official/Facebook.png',
961 'height' => '32px',
962 'width' => '32px',
963 'text' => 'Facebook',
964 ],
965 1 =>
966 [
967 'type' => 'socialIcon',
968 'iconType' => 'twitter',
969 'link' => 'http://www.twitter.com',
970 'image' => $this->social_icon_url . '/11-official/X.png',
971 'height' => '32px',
972 'width' => '32px',
973 'text' => 'Twitter',
974 ],
975 2 =>
976 [
977 'type' => 'socialIcon',
978 'iconType' => 'instagram',
979 'link' => 'http://instagram.com',
980 'image' => $this->social_icon_url . '/11-official/Instagram.png',
981 'height' => '32px',
982 'width' => '32px',
983 'text' => 'Instagram',
984 ],
985 ],
986 'type' => 'social',
987 ],
988 'spacer' =>
989 [
990 'styles' =>
991 [
992 'block' =>
993 [
994 'backgroundColor' => 'transparent',
995 'height' => '33px',
996 ],
997 ],
998 'type' => 'spacer',
999 ],
1000 'header' =>
1001 [
1002 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
1003 'styles' =>
1004 [
1005 'block' =>
1006 [
1007 'backgroundColor' => 'transparent',
1008 ],
1009 'text' =>
1010 [
1011 'fontColor' => '#222222',
1012 'fontFamily' => 'Arial',
1013 'fontSize' => '12px',
1014 'textAlign' => 'center',
1015 ],
1016 'link' =>
1017 [
1018 'fontColor' => '#6cb7d4',
1019 'textDecoration' => 'underline',
1020 ],
1021 ],
1022 ],
1023 ],
1024 ];
1025 }
1026 }
1027