PluginProbe
MailPoet – Newsletters, Email Marketing, and Automation / 5.34.1
MailPoet – Newsletters, Email Marketing, and Automation v5.34.1
5.37.0 5.36.1 5.36.0 5.35.1 5.35.0 5.34.3 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 All 541 releases
mailpoet / lib / Config / PopulatorData / Templates / Motor.php
Motor.php
1,217 lines 37.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 Motor {
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/motor';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("Motor", 'mailpoet'),
23 'categories' => json_encode(['woocommerce', 'all']),
24 'readonly' => 1,
25 'thumbnail' => $this->getThumbnail(),
26 'body' => json_encode($this->getBody()),
27 ];
28 }
29
30 private function getThumbnail() {
31 return $this->template_image_url . '/thumbnail.20190411-1500.jpg';
32 }
33
34 private function getBody() {
35 return [
36 'content' =>
37 [
38 'type' => 'container',
39 'columnLayout' => false,
40 'orientation' => 'vertical',
41 'image' =>
42 [
43 'src' => null,
44 'display' => 'scale',
45 ],
46 'styles' =>
47 [
48 'block' =>
49 [
50 'backgroundColor' => 'transparent',
51 ],
52 ],
53 'blocks' =>
54 [
55 0 =>
56 [
57 'type' => 'container',
58 'columnLayout' => false,
59 'orientation' => 'horizontal',
60 'image' =>
61 [
62 'src' => null,
63 'display' => 'scale',
64 ],
65 'styles' =>
66 [
67 'block' =>
68 [
69 'backgroundColor' => '#e3e3e3',
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 ],
106 ],
107 ],
108 ],
109 1 =>
110 [
111 'type' => 'container',
112 'columnLayout' => false,
113 'orientation' => 'horizontal',
114 'image' =>
115 [
116 'src' => null,
117 'display' => 'scale',
118 ],
119 'styles' =>
120 [
121 'block' =>
122 [
123 'backgroundColor' => '#e3e3e3',
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' => '24px',
156 ],
157 ],
158 ],
159 1 =>
160 [
161 'type' => 'social',
162 'iconSet' => 'official',
163 'styles' =>
164 [
165 'block' =>
166 [
167 'textAlign' => 'center',
168 ],
169 ],
170 'icons' =>
171 [
172 0 =>
173 [
174 'type' => 'socialIcon',
175 'iconType' => 'facebook',
176 'link' => 'http://www.facebook.com',
177 'image' => $this->social_icon_url . '/11-official/Facebook.png',
178 'height' => '32px',
179 'width' => '32px',
180 'text' => 'Facebook',
181 ],
182 1 =>
183 [
184 'type' => 'socialIcon',
185 'iconType' => 'twitter',
186 'link' => 'http://www.twitter.com',
187 'image' => $this->social_icon_url . '/11-official/X.png',
188 'height' => '32px',
189 'width' => '32px',
190 'text' => 'Twitter',
191 ],
192 2 =>
193 [
194 'type' => 'socialIcon',
195 'iconType' => 'youtube',
196 'link' => 'http://www.youtube.com',
197 'image' => $this->social_icon_url . '/11-official/Youtube.png',
198 'height' => '32px',
199 'width' => '32px',
200 'text' => 'Youtube',
201 ],
202 ],
203 ],
204 ],
205 ],
206 1 =>
207 [
208 'type' => 'container',
209 'columnLayout' => false,
210 'orientation' => 'vertical',
211 'image' =>
212 [
213 'src' => null,
214 'display' => 'scale',
215 ],
216 'styles' =>
217 [
218 'block' =>
219 [
220 'backgroundColor' => 'transparent',
221 ],
222 ],
223 'blocks' =>
224 [
225 0 =>
226 [
227 'type' => 'spacer',
228 'styles' =>
229 [
230 'block' =>
231 [
232 'backgroundColor' => 'transparent',
233 'height' => '20px',
234 ],
235 ],
236 ],
237 1 =>
238 [
239 'type' => 'text',
240 'text' => '<p style="text-align: center;"><span style="color: #d52a2a;"><strong>Welcome to Vector Motors</strong></span></p>
241 <p style="text-align: center; font-size: 11px;"><span style="color: #d52a2a;"><a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a></span></p>',
242 ],
243 ],
244 ],
245 2 =>
246 [
247 'type' => 'container',
248 'columnLayout' => false,
249 'orientation' => 'vertical',
250 'image' =>
251 [
252 'src' => null,
253 'display' => 'scale',
254 ],
255 'styles' =>
256 [
257 'block' =>
258 [
259 'backgroundColor' => 'transparent',
260 ],
261 ],
262 'blocks' =>
263 [
264 0 =>
265 [
266 'type' => 'spacer',
267 'styles' =>
268 [
269 'block' =>
270 [
271 'backgroundColor' => 'transparent',
272 'height' => '24px',
273 ],
274 ],
275 ],
276 1 =>
277 [
278 'type' => 'social',
279 'iconSet' => 'official',
280 'styles' =>
281 [
282 'block' =>
283 [
284 'textAlign' => 'center',
285 ],
286 ],
287 'icons' =>
288 [
289 0 =>
290 [
291 'type' => 'socialIcon',
292 'iconType' => 'instagram',
293 'link' => 'http://instagram.com',
294 'image' => $this->social_icon_url . '/11-official/Instagram.png',
295 'height' => '32px',
296 'width' => '32px',
297 'text' => 'Instagram',
298 ],
299 1 =>
300 [
301 'type' => 'socialIcon',
302 'iconType' => 'email',
303 'link' => '',
304 'image' => $this->social_icon_url . '/11-official/Email.png',
305 'height' => '32px',
306 'width' => '32px',
307 'text' => 'Email',
308 ],
309 2 =>
310 [
311 'type' => 'socialIcon',
312 'iconType' => 'website',
313 'link' => '',
314 'image' => $this->social_icon_url . '/11-official/Website.png',
315 'height' => '32px',
316 'width' => '32px',
317 'text' => 'Website',
318 ],
319 ],
320 ],
321 ],
322 ],
323 ],
324 ],
325 2 =>
326 [
327 'type' => 'container',
328 'columnLayout' => '2_1',
329 'orientation' => 'horizontal',
330 'image' =>
331 [
332 'src' => $this->template_image_url . '/Car-Header-2.jpg',
333 'display' => 'scale',
334 ],
335 'styles' =>
336 [
337 'block' =>
338 [
339 'backgroundColor' => '#d52a2a',
340 ],
341 ],
342 'blocks' =>
343 [
344 0 =>
345 [
346 'type' => 'container',
347 'columnLayout' => false,
348 'orientation' => 'vertical',
349 'image' =>
350 [
351 'src' => null,
352 'display' => 'scale',
353 ],
354 'styles' =>
355 [
356 'block' =>
357 [
358 'backgroundColor' => 'transparent',
359 ],
360 ],
361 'blocks' =>
362 [
363 0 =>
364 [
365 'type' => 'image',
366 'link' => '',
367 'src' => $this->template_image_url . '/Car-Header-logo-1.png',
368 'alt' => 'Car-Header-logo-1',
369 'fullWidth' => false,
370 'width' => '167.5px',
371 'height' => '349px',
372 'styles' =>
373 [
374 'block' =>
375 [
376 'textAlign' => 'left',
377 ],
378 ],
379 ],
380 1 =>
381 [
382 'type' => 'spacer',
383 'styles' =>
384 [
385 'block' =>
386 [
387 'backgroundColor' => 'transparent',
388 'height' => '118px',
389 ],
390 ],
391 ],
392 2 =>
393 [
394 'type' => 'text',
395 'text' => '<h3 style="font-size: 35px; line-height: 40px; text-align: left; border-left: 10px solid #d52a2a; margin-left: 20px; padding-left: 20px;"><strong><span style="color: #ffffff;">Welcome to the club</span></strong></h3>',
396 ],
397 3 =>
398 [
399 'type' => 'spacer',
400 'styles' =>
401 [
402 'block' =>
403 [
404 'backgroundColor' => 'transparent',
405 'height' => '72px',
406 ],
407 ],
408 ],
409 ],
410 ],
411 1 =>
412 [
413 'type' => 'container',
414 'columnLayout' => false,
415 'orientation' => 'vertical',
416 'image' =>
417 [
418 'src' => null,
419 'display' => 'scale',
420 ],
421 'styles' =>
422 [
423 'block' =>
424 [
425 'backgroundColor' => 'transparent',
426 ],
427 ],
428 'blocks' =>
429 [
430 0 =>
431 [
432 'type' => 'spacer',
433 'styles' =>
434 [
435 'block' =>
436 [
437 'backgroundColor' => 'transparent',
438 'height' => '20px',
439 ],
440 ],
441 ],
442 ],
443 ],
444 ],
445 ],
446 3 =>
447 [
448 'type' => 'container',
449 'columnLayout' => false,
450 'orientation' => 'horizontal',
451 'image' =>
452 [
453 'src' => null,
454 'display' => 'scale',
455 ],
456 'styles' =>
457 [
458 'block' =>
459 [
460 'backgroundColor' => '#ffffff',
461 ],
462 ],
463 'blocks' =>
464 [
465 0 =>
466 [
467 'type' => 'container',
468 'columnLayout' => false,
469 'orientation' => 'vertical',
470 'image' =>
471 [
472 'src' => null,
473 'display' => 'scale',
474 ],
475 'styles' =>
476 [
477 'block' =>
478 [
479 'backgroundColor' => 'transparent',
480 ],
481 ],
482 'blocks' =>
483 [
484 0 =>
485 [
486 'type' => 'spacer',
487 'styles' =>
488 [
489 'block' =>
490 [
491 'backgroundColor' => '#ffffff',
492 'height' => '20px',
493 ],
494 ],
495 ],
496 1 =>
497 [
498 'type' => 'text',
499 'text' => '<h2 style="text-align: center;"><strong><span style="color: #d52a2a;">You\'ve bought the car,&nbsp;here\'s&nbsp;what happens next.</span></strong></h2>
500 <p style="text-align: center;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam a elementum ex. Aliquam mollis metus ac nisl luctus pulvinar. Donec tincidunt pharetra sem, nec eleifend augue. Morbi id nunc commodo, tempor erat et, pretium neque. </span></p>
501 <p style="text-align: center;"><span></span></p>
502 <p style="text-align: center;"><span>Vivamus ante sapien, consequat vitae ante quis, facilisis pellentesque mi. Praesent at scelerisque leo. Donec elementum mi consequat, ultrices lorem nec, vestibulum arcu. Aenean id libero vitae felis consequat maximus.</span></p>',
503 ],
504 2 =>
505 [
506 'type' => 'spacer',
507 'styles' =>
508 [
509 'block' =>
510 [
511 'backgroundColor' => '#e3e3e3',
512 'height' => '40px',
513 ],
514 ],
515 ],
516 ],
517 ],
518 ],
519 ],
520 4 =>
521 [
522 'type' => 'container',
523 'columnLayout' => false,
524 'orientation' => 'horizontal',
525 'image' =>
526 [
527 'src' => null,
528 'display' => 'scale',
529 ],
530 'styles' =>
531 [
532 'block' =>
533 [
534 'backgroundColor' => '#e3e3e3',
535 ],
536 ],
537 'blocks' =>
538 [
539 0 =>
540 [
541 'type' => 'container',
542 'columnLayout' => false,
543 'orientation' => 'vertical',
544 'image' =>
545 [
546 'src' => null,
547 'display' => 'scale',
548 ],
549 'styles' =>
550 [
551 'block' =>
552 [
553 'backgroundColor' => 'transparent',
554 ],
555 ],
556 'blocks' =>
557 [
558 0 =>
559 [
560 'type' => 'text',
561 'text' => '<h1><strong>We\'re here to help</strong></h1>
562 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam a elementum ex. Aliquam mollis metus ac nisl luctus pulvinar. Donec tincidunt pharetra sem, nec eleifend augue. Morbi id nunc commodo, tempor erat et, pretium neque.</p>
563 <p></p>
564 <p><strong><a href="">Get in touch with us here</a></strong></p>',
565 ],
566 1 =>
567 [
568 'type' => 'spacer',
569 'styles' =>
570 [
571 'block' =>
572 [
573 'backgroundColor' => '#e3e3e3',
574 'height' => '113px',
575 ],
576 ],
577 ],
578 2 =>
579 [
580 'type' => 'spacer',
581 'styles' =>
582 [
583 'block' =>
584 [
585 'backgroundColor' => '#ffffff',
586 'height' => '42px',
587 ],
588 ],
589 ],
590 ],
591 ],
592 1 =>
593 [
594 'type' => 'container',
595 'columnLayout' => false,
596 'orientation' => 'vertical',
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' => 'button',
614 'text' => 'Servicing Plans',
615 'url' => '',
616 'styles' =>
617 [
618 'block' =>
619 [
620 'backgroundColor' => '#d52a2a',
621 'borderColor' => '#0074a2',
622 'borderWidth' => '0px',
623 'borderRadius' => '0px',
624 'borderStyle' => 'solid',
625 'width' => '176px',
626 'lineHeight' => '50px',
627 'fontColor' => '#ffffff',
628 'fontFamily' => 'Merriweather Sans',
629 'fontSize' => '18px',
630 'fontWeight' => 'bold',
631 'textAlign' => 'center',
632 ],
633 ],
634 ],
635 1 =>
636 [
637 'type' => 'spacer',
638 'styles' =>
639 [
640 'block' =>
641 [
642 'backgroundColor' => '#e3e3e3',
643 'height' => '30px',
644 ],
645 ],
646 ],
647 2 =>
648 [
649 'type' => 'image',
650 'link' => '',
651 'src' => $this->template_image_url . '/Car-Wheel.jpg',
652 'alt' => 'Car-Wheel',
653 'fullWidth' => true,
654 'width' => '600px',
655 'height' => '560px',
656 'styles' =>
657 [
658 'block' =>
659 [
660 'textAlign' => 'center',
661 ],
662 ],
663 ],
664 ],
665 ],
666 ],
667 ],
668 5 =>
669 [
670 'type' => 'container',
671 'columnLayout' => false,
672 'orientation' => 'horizontal',
673 'image' =>
674 [
675 'src' => null,
676 'display' => 'scale',
677 ],
678 'styles' =>
679 [
680 'block' =>
681 [
682 'backgroundColor' => 'transparent',
683 ],
684 ],
685 'blocks' =>
686 [
687 0 =>
688 [
689 'type' => 'container',
690 'columnLayout' => false,
691 'orientation' => 'vertical',
692 'image' =>
693 [
694 'src' => null,
695 'display' => 'scale',
696 ],
697 'styles' =>
698 [
699 'block' =>
700 [
701 'backgroundColor' => 'transparent',
702 ],
703 ],
704 'blocks' =>
705 [
706 0 =>
707 [
708 'type' => 'spacer',
709 'styles' =>
710 [
711 'block' =>
712 [
713 'backgroundColor' => '#ffffff',
714 'height' => '20px',
715 ],
716 ],
717 ],
718 1 =>
719 [
720 'type' => 'text',
721 'text' => '<h3 style="text-align: center;"><strong>We\'ll be in touch soon with updates</strong></h3>
722 <p style="text-align: center;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam a elementum ex. Aliquam mollis metus ac nisl luctus pulvinar. Donec tincidunt pharetra sem, nec eleifend augue. Morbi id nunc commodo, tempor erat et, pretium neque.</span></p>',
723 ],
724 2 =>
725 [
726 'type' => 'spacer',
727 'styles' =>
728 [
729 'block' =>
730 [
731 'backgroundColor' => '#ffffff',
732 'height' => '35px',
733 ],
734 ],
735 ],
736 ],
737 ],
738 ],
739 ],
740 6 =>
741 [
742 'type' => 'container',
743 'columnLayout' => false,
744 'orientation' => 'horizontal',
745 'image' =>
746 [
747 'src' => null,
748 'display' => 'scale',
749 ],
750 'styles' =>
751 [
752 'block' =>
753 [
754 'backgroundColor' => '#e3e3e3',
755 ],
756 ],
757 'blocks' =>
758 [
759 0 =>
760 [
761 'type' => 'container',
762 'columnLayout' => false,
763 'orientation' => 'vertical',
764 'image' =>
765 [
766 'src' => null,
767 'display' => 'scale',
768 ],
769 'styles' =>
770 [
771 'block' =>
772 [
773 'backgroundColor' => 'transparent',
774 ],
775 ],
776 'blocks' =>
777 [
778 0 =>
779 [
780 'type' => 'spacer',
781 'styles' =>
782 [
783 'block' =>
784 [
785 'backgroundColor' => '#e3e3e3',
786 'height' => '20px',
787 ],
788 ],
789 ],
790 1 =>
791 [
792 'type' => 'footer',
793 'text' => '<p><span style="color: #d52a2a;"><a href="[link:subscription_unsubscribe_url]" style="color: #d52a2a;">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]" style="color: #d52a2a;">' . __("Manage your subscription", 'mailpoet') . '</a></span><br />' . __("Add your postal address here!", 'mailpoet') . '</p>',
794 'styles' =>
795 [
796 'block' =>
797 [
798 'backgroundColor' => 'transparent',
799 ],
800 'text' =>
801 [
802 'fontColor' => '#222222',
803 'fontFamily' => 'Arial',
804 'fontSize' => '12px',
805 'textAlign' => 'center',
806 ],
807 'link' =>
808 [
809 'fontColor' => '#6cb7d4',
810 'textDecoration' => 'none',
811 ],
812 ],
813 ],
814 2 =>
815 [
816 'type' => 'image',
817 'link' => '',
818 'src' => $this->template_image_url . '/Car-Footer.jpg',
819 'alt' => 'Car-Footer',
820 'fullWidth' => true,
821 'width' => '1280px',
822 'height' => '275px',
823 'styles' =>
824 [
825 'block' =>
826 [
827 'textAlign' => 'center',
828 ],
829 ],
830 ],
831 3 =>
832 [
833 'type' => 'spacer',
834 'styles' =>
835 [
836 'block' =>
837 [
838 'backgroundColor' => '#d52a2a',
839 'height' => '20px',
840 ],
841 ],
842 ],
843 ],
844 ],
845 ],
846 ],
847 ],
848 ],
849 'globalStyles' =>
850 [
851 'text' =>
852 [
853 'fontColor' => '#000000',
854 'fontFamily' => 'Roboto',
855 'fontSize' => '14px',
856 ],
857 'h1' =>
858 [
859 'fontColor' => '#111111',
860 'fontFamily' => 'Merriweather Sans',
861 'fontSize' => '30px',
862 ],
863 'h2' =>
864 [
865 'fontColor' => '#222222',
866 'fontFamily' => 'Merriweather Sans',
867 'fontSize' => '24px',
868 ],
869 'h3' =>
870 [
871 'fontColor' => '#333333',
872 'fontFamily' => 'Merriweather Sans',
873 'fontSize' => '22px',
874 ],
875 'link' =>
876 [
877 'fontColor' => '#d52a2a',
878 'textDecoration' => 'underline',
879 ],
880 'wrapper' =>
881 [
882 'backgroundColor' => '#ffffff',
883 ],
884 'body' =>
885 [
886 'backgroundColor' => '#e3e3e3',
887 ],
888 ],
889 'blockDefaults' =>
890 [
891 'automatedLatestContent' =>
892 [
893 'amount' => '5',
894 'contentType' => 'post',
895 'inclusionType' => 'include',
896 'displayType' => 'excerpt',
897 'titleFormat' => 'h1',
898 'titleAlignment' => 'left',
899 'titleIsLink' => false,
900 'imageFullWidth' => false,
901 'featuredImagePosition' => 'belowTitle',
902 'showAuthor' => 'no',
903 'authorPrecededBy' => 'Author:',
904 'showCategories' => 'no',
905 'categoriesPrecededBy' => 'Categories:',
906 'readMoreType' => 'button',
907 'readMoreText' => 'Read more',
908 'readMoreButton' =>
909 [
910 'text' => 'Read more',
911 'url' => '[postLink]',
912 'context' => 'automatedLatestContent.readMoreButton',
913 'styles' =>
914 [
915 'block' =>
916 [
917 'backgroundColor' => '#2ea1cd',
918 'borderColor' => '#0074a2',
919 'borderWidth' => '1px',
920 'borderRadius' => '5px',
921 'borderStyle' => 'solid',
922 'width' => '180px',
923 'lineHeight' => '40px',
924 'fontColor' => '#ffffff',
925 'fontFamily' => 'Verdana',
926 'fontSize' => '18px',
927 'fontWeight' => 'normal',
928 'textAlign' => 'center',
929 ],
930 ],
931 ],
932 'sortBy' => 'newest',
933 'showDivider' => true,
934 'divider' =>
935 [
936 'context' => 'automatedLatestContent.divider',
937 'styles' =>
938 [
939 'block' =>
940 [
941 'backgroundColor' => 'transparent',
942 'padding' => '13px',
943 'borderStyle' => 'solid',
944 'borderWidth' => '3px',
945 'borderColor' => '#aaaaaa',
946 ],
947 ],
948 ],
949 'backgroundColor' => '#ffffff',
950 'backgroundColorAlternate' => '#eeeeee',
951 ],
952 'automatedLatestContentLayout' =>
953 [
954 'amount' => '5',
955 'withLayout' => true,
956 'contentType' => 'post',
957 'inclusionType' => 'include',
958 'displayType' => 'excerpt',
959 'titleFormat' => 'h1',
960 'titleAlignment' => 'left',
961 'titleIsLink' => false,
962 'imageFullWidth' => false,
963 'featuredImagePosition' => 'alternate',
964 'showAuthor' => 'no',
965 'authorPrecededBy' => 'Author:',
966 'showCategories' => 'no',
967 'categoriesPrecededBy' => 'Categories:',
968 'readMoreType' => 'button',
969 'readMoreText' => 'Read more',
970 'readMoreButton' =>
971 [
972 'text' => 'Read more',
973 'url' => '[postLink]',
974 'context' => 'automatedLatestContentLayout.readMoreButton',
975 'styles' =>
976 [
977 'block' =>
978 [
979 'backgroundColor' => '#2ea1cd',
980 'borderColor' => '#0074a2',
981 'borderWidth' => '1px',
982 'borderRadius' => '5px',
983 'borderStyle' => 'solid',
984 'width' => '180px',
985 'lineHeight' => '40px',
986 'fontColor' => '#ffffff',
987 'fontFamily' => 'Verdana',
988 'fontSize' => '18px',
989 'fontWeight' => 'normal',
990 'textAlign' => 'center',
991 ],
992 ],
993 ],
994 'sortBy' => 'newest',
995 'showDivider' => true,
996 'divider' =>
997 [
998 'context' => 'automatedLatestContentLayout.divider',
999 'styles' =>
1000 [
1001 'block' =>
1002 [
1003 'backgroundColor' => 'transparent',
1004 'padding' => '13px',
1005 'borderStyle' => 'solid',
1006 'borderWidth' => '3px',
1007 'borderColor' => '#aaaaaa',
1008 ],
1009 ],
1010 ],
1011 'backgroundColor' => '#ffffff',
1012 'backgroundColorAlternate' => '#eeeeee',
1013 ],
1014 'button' =>
1015 [
1016 'text' => 'Servicing Plans',
1017 'url' => '',
1018 'styles' =>
1019 [
1020 'block' =>
1021 [
1022 'backgroundColor' => '#d52a2a',
1023 'borderColor' => '#0074a2',
1024 'borderWidth' => '0px',
1025 'borderRadius' => '0px',
1026 'borderStyle' => 'solid',
1027 'width' => '176px',
1028 'lineHeight' => '50px',
1029 'fontColor' => '#ffffff',
1030 'fontFamily' => 'Merriweather Sans',
1031 'fontSize' => '18px',
1032 'fontWeight' => 'bold',
1033 'textAlign' => 'center',
1034 ],
1035 ],
1036 'type' => 'button',
1037 ],
1038 'divider' =>
1039 [
1040 'styles' =>
1041 [
1042 'block' =>
1043 [
1044 'backgroundColor' => 'transparent',
1045 'padding' => '18.5px',
1046 'borderStyle' => 'solid',
1047 'borderWidth' => '5px',
1048 'borderColor' => '#d52a2a',
1049 ],
1050 ],
1051 'type' => 'divider',
1052 ],
1053 'footer' =>
1054 [
1055 '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>',
1056 'styles' =>
1057 [
1058 'block' =>
1059 [
1060 'backgroundColor' => 'transparent',
1061 ],
1062 'text' =>
1063 [
1064 'fontColor' => '#222222',
1065 'fontFamily' => 'Arial',
1066 'fontSize' => '12px',
1067 'textAlign' => 'center',
1068 ],
1069 'link' =>
1070 [
1071 'fontColor' => '#6cb7d4',
1072 'textDecoration' => 'none',
1073 ],
1074 ],
1075 'type' => 'footer',
1076 ],
1077 'posts' =>
1078 [
1079 'amount' => '10',
1080 'contentType' => 'post',
1081 'postStatus' => 'publish',
1082 'inclusionType' => 'include',
1083 'displayType' => 'excerpt',
1084 'titleFormat' => 'h1',
1085 'titleAlignment' => 'left',
1086 'titleIsLink' => false,
1087 'imageFullWidth' => false,
1088 'featuredImagePosition' => 'belowTitle',
1089 'showAuthor' => 'no',
1090 'authorPrecededBy' => 'Author:',
1091 'showCategories' => 'no',
1092 'categoriesPrecededBy' => 'Categories:',
1093 'readMoreType' => 'link',
1094 'readMoreText' => 'Read more',
1095 'readMoreButton' =>
1096 [
1097 'text' => 'Read more',
1098 'url' => '[postLink]',
1099 'context' => 'posts.readMoreButton',
1100 'styles' =>
1101 [
1102 'block' =>
1103 [
1104 'backgroundColor' => '#2ea1cd',
1105 'borderColor' => '#0074a2',
1106 'borderWidth' => '1px',
1107 'borderRadius' => '5px',
1108 'borderStyle' => 'solid',
1109 'width' => '180px',
1110 'lineHeight' => '40px',
1111 'fontColor' => '#ffffff',
1112 'fontFamily' => 'Verdana',
1113 'fontSize' => '18px',
1114 'fontWeight' => 'normal',
1115 'textAlign' => 'center',
1116 ],
1117 ],
1118 ],
1119 'sortBy' => 'newest',
1120 'showDivider' => true,
1121 'divider' =>
1122 [
1123 'context' => 'posts.divider',
1124 'styles' =>
1125 [
1126 'block' =>
1127 [
1128 'backgroundColor' => 'transparent',
1129 'padding' => '13px',
1130 'borderStyle' => 'solid',
1131 'borderWidth' => '3px',
1132 'borderColor' => '#aaaaaa',
1133 ],
1134 ],
1135 ],
1136 'backgroundColor' => '#ffffff',
1137 'backgroundColorAlternate' => '#eeeeee',
1138 ],
1139 'social' =>
1140 [
1141 'iconSet' => 'official',
1142 'icons' =>
1143 [
1144 0 =>
1145 [
1146 'type' => 'socialIcon',
1147 'iconType' => 'instagram',
1148 'link' => 'http://instagram.com',
1149 'image' => $this->social_icon_url . '/11-official/Instagram.png',
1150 'height' => '32px',
1151 'width' => '32px',
1152 'text' => 'Instagram',
1153 ],
1154 1 =>
1155 [
1156 'type' => 'socialIcon',
1157 'iconType' => 'email',
1158 'link' => '',
1159 'image' => $this->social_icon_url . '/11-official/Email.png',
1160 'height' => '32px',
1161 'width' => '32px',
1162 'text' => 'Email',
1163 ],
1164 2 =>
1165 [
1166 'type' => 'socialIcon',
1167 'iconType' => 'website',
1168 'link' => '',
1169 'image' => $this->social_icon_url . '/11-official/Website.png',
1170 'height' => '32px',
1171 'width' => '32px',
1172 'text' => 'Website',
1173 ],
1174 ],
1175 'type' => 'social',
1176 ],
1177 'spacer' =>
1178 [
1179 'styles' =>
1180 [
1181 'block' =>
1182 [
1183 'backgroundColor' => 'transparent',
1184 'height' => '118px',
1185 ],
1186 ],
1187 'type' => 'spacer',
1188 ],
1189 'header' =>
1190 [
1191 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
1192 'styles' =>
1193 [
1194 'block' =>
1195 [
1196 'backgroundColor' => 'transparent',
1197 ],
1198 'text' =>
1199 [
1200 'fontColor' => '#222222',
1201 'fontFamily' => 'Merriweather Sans',
1202 'fontSize' => '12px',
1203 'textAlign' => 'center',
1204 ],
1205 'link' =>
1206 [
1207 'fontColor' => '#d52a2a',
1208 'textDecoration' => 'underline',
1209 ],
1210 ],
1211 'type' => 'header',
1212 ],
1213 ],
1214 ];
1215 }
1216 }
1217