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