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