PluginProbe
MailPoet – Newsletters, Email Marketing, and Automation / 5.33.1
MailPoet – Newsletters, Email Marketing, and Automation v5.33.1
5.38.0 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 All 542 releases
mailpoet / lib / Config / PopulatorData / Templates / FashionStore.php
FashionStore.php
1,430 lines 59.1 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 FashionStore {
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';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("Fashion Store", '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.jpeg';
32 }
33
34 private function getBody() {
35 return
36 [
37 'content' =>
38 [
39 'type' => 'container',
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 'orientation' => 'horizontal',
59 'image' =>
60 [
61 'src' => null,
62 'display' => 'scale',
63 ],
64 'styles' =>
65 [
66 'block' =>
67 [
68 'backgroundColor' => 'transparent',
69 ],
70 ],
71 'blocks' =>
72 [
73 0 =>
74 [
75 'type' => 'container',
76 'orientation' => 'vertical',
77 'image' =>
78 [
79 'src' => null,
80 'display' => 'scale',
81 ],
82 'styles' =>
83 [
84 'block' =>
85 [
86 'backgroundColor' => 'transparent',
87 ],
88 ],
89 'blocks' =>
90 [
91 0 =>
92 [
93 'type' => 'spacer',
94 'styles' =>
95 [
96 'block' =>
97 [
98 'backgroundColor' => 'transparent',
99 'height' => '20px',
100 ],
101 ],
102 ],
103 1 =>
104 [
105 'type' => 'image',
106 'link' => '',
107 'src' => $this->template_image_url . '/tulip-2.png',
108 'alt' => 'tulip',
109 'fullWidth' => false,
110 'width' => '26.5px',
111 'height' => '64px',
112 'styles' =>
113 [
114 'block' =>
115 [
116 'textAlign' => 'left',
117 ],
118 ],
119 ],
120 2 =>
121 [
122 'type' => 'text',
123 'text' => '<h1><strong>TULIP PARK</strong></h1>',
124 ],
125 ],
126 ],
127 1 =>
128 [
129 'type' => 'container',
130 'orientation' => 'vertical',
131 'image' =>
132 [
133 'src' => null,
134 'display' => 'scale',
135 ],
136 'styles' =>
137 [
138 'block' =>
139 [
140 'backgroundColor' => 'transparent',
141 ],
142 ],
143 'blocks' =>
144 [
145 0 =>
146 [
147 'type' => 'spacer',
148 'styles' =>
149 [
150 'block' =>
151 [
152 'backgroundColor' => 'transparent',
153 'height' => '85px',
154 ],
155 ],
156 ],
157 1 =>
158 [
159 'type' => 'text',
160 'text' => '<h3 style="text-align: right;"><span style="color: #bcbcbc;">Since 1987</span></h3>',
161 ],
162 ],
163 ],
164 ],
165 ],
166 1 =>
167 [
168 'type' => 'container',
169 'orientation' => 'horizontal',
170 'image' =>
171 [
172 'src' => $this->template_image_url . '/Fashion-Header.jpg',
173 'display' => 'scale',
174 ],
175 'styles' =>
176 [
177 'block' =>
178 [
179 'backgroundColor' => '#f8f8f8',
180 ],
181 ],
182 'blocks' =>
183 [
184 0 =>
185 [
186 'type' => 'container',
187 'orientation' => 'vertical',
188 'image' =>
189 [
190 'src' => null,
191 'display' => 'scale',
192 ],
193 'styles' =>
194 [
195 'block' =>
196 [
197 'backgroundColor' => 'transparent',
198 ],
199 ],
200 'blocks' =>
201 [
202 0 =>
203 [
204 'type' => 'spacer',
205 'styles' =>
206 [
207 'block' =>
208 [
209 'backgroundColor' => 'transparent',
210 'height' => '486px',
211 ],
212 ],
213 ],
214 1 =>
215 [
216 'type' => 'text',
217 'text' => '<h1 style="text-align: left;"><span style="color: #ffffff;">Autumn/Winter</span></h1>',
218 ],
219 ],
220 ],
221 ],
222 ],
223 2 =>
224 [
225 'type' => 'container',
226 'orientation' => 'horizontal',
227 'image' =>
228 [
229 'src' => null,
230 'display' => 'scale',
231 ],
232 'styles' =>
233 [
234 'block' =>
235 [
236 'backgroundColor' => '#ffffff',
237 ],
238 ],
239 'blocks' =>
240 [
241 0 =>
242 [
243 'type' => 'container',
244 'orientation' => 'vertical',
245 'image' =>
246 [
247 'src' => null,
248 'display' => 'scale',
249 ],
250 'styles' =>
251 [
252 'block' =>
253 [
254 'backgroundColor' => 'transparent',
255 ],
256 ],
257 'blocks' =>
258 [
259 0 =>
260 [
261 'type' => 'spacer',
262 'styles' =>
263 [
264 'block' =>
265 [
266 'backgroundColor' => 'transparent',
267 'height' => '40px',
268 ],
269 ],
270 ],
271 1 =>
272 [
273 'type' => 'text',
274 'text' => '<h2 style="text-align: center;"><strong>The Autumn/Winter&nbsp;Range at Tulip Park</strong></h2>
275 <p style="text-align: center;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In elementum nunc vel est congue, a venenatis nunc aliquet. Curabitur luctus, nulla et dignissim elementum, ipsum eros fermentum nulla, non cursus eros mi eu velit. Nunc ex nibh, porta vulputate pharetra ac, placerat sed orci. Etiam enim enim, aliquet nec ligula in, ultrices iaculis dolor. Suspendisse potenti. Praesent fringilla augue ut lorem mattis, vitae fringilla nunc faucibus.</span></p>',
276 ],
277 2 =>
278 [
279 'type' => 'spacer',
280 'styles' =>
281 [
282 'block' =>
283 [
284 'backgroundColor' => 'transparent',
285 'height' => '20px',
286 ],
287 ],
288 ],
289 ],
290 ],
291 ],
292 ],
293 3 =>
294 [
295 'type' => 'container',
296 'orientation' => 'horizontal',
297 'image' =>
298 [
299 'src' => null,
300 'display' => 'scale',
301 ],
302 'styles' =>
303 [
304 'block' =>
305 [
306 'backgroundColor' => 'transparent',
307 ],
308 ],
309 'blocks' =>
310 [
311 0 =>
312 [
313 'type' => 'container',
314 'orientation' => 'vertical',
315 'image' =>
316 [
317 'src' => null,
318 'display' => 'scale',
319 ],
320 'styles' =>
321 [
322 'block' =>
323 [
324 'backgroundColor' => 'transparent',
325 ],
326 ],
327 'blocks' =>
328 [
329 0 =>
330 [
331 'type' => 'image',
332 'link' => '',
333 'src' => $this->template_image_url . '/Fashion-Items-1.jpg',
334 'alt' => 'Fashion-Items-1',
335 'fullWidth' => true,
336 'width' => '364px',
337 'height' => '291px',
338 'styles' =>
339 [
340 'block' =>
341 [
342 'textAlign' => 'center',
343 ],
344 ],
345 ],
346 ],
347 ],
348 1 =>
349 [
350 'type' => 'container',
351 'orientation' => 'vertical',
352 'image' =>
353 [
354 'src' => null,
355 'display' => 'scale',
356 ],
357 'styles' =>
358 [
359 'block' =>
360 [
361 'backgroundColor' => 'transparent',
362 ],
363 ],
364 'blocks' =>
365 [
366 0 =>
367 [
368 'type' => 'spacer',
369 'styles' =>
370 [
371 'block' =>
372 [
373 'backgroundColor' => 'transparent',
374 'height' => '36px',
375 ],
376 ],
377 ],
378 1 =>
379 [
380 'type' => 'text',
381 'text' => '<h3><strong>Title Goes Here</strong></h3>
382 <p><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In elementum nunc vel est congue, a venenatis nunc aliquet. Curabitur luctus, nulla et dignissim elementum, ipsum eros fermentum nulla, non cursus eros mi eu velit. Nunc ex nibh, porta vulputate pharetra ac, placerat sed orci.</span></p>',
383 ],
384 ],
385 ],
386 ],
387 ],
388 4 =>
389 [
390 'type' => 'container',
391 'orientation' => 'horizontal',
392 'image' =>
393 [
394 'src' => null,
395 'display' => 'scale',
396 ],
397 'styles' =>
398 [
399 'block' =>
400 [
401 'backgroundColor' => 'transparent',
402 ],
403 ],
404 'blocks' =>
405 [
406 0 =>
407 [
408 'type' => 'container',
409 'orientation' => 'vertical',
410 'image' =>
411 [
412 'src' => null,
413 'display' => 'scale',
414 ],
415 'styles' =>
416 [
417 'block' =>
418 [
419 'backgroundColor' => 'transparent',
420 ],
421 ],
422 'blocks' =>
423 [
424 0 =>
425 [
426 'type' => 'spacer',
427 'styles' =>
428 [
429 'block' =>
430 [
431 'backgroundColor' => 'transparent',
432 'height' => '36px',
433 ],
434 ],
435 ],
436 1 =>
437 [
438 'type' => 'text',
439 'text' => '<h3><strong>Title Goes Here</strong></h3>
440 <p><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In elementum nunc vel est congue, a venenatis nunc aliquet. Curabitur luctus, nulla et dignissim elementum, ipsum eros fermentum nulla, non cursus eros mi eu velit. Nunc ex nibh, porta vulputate pharetra ac, placerat sed orci.</span></p>',
441 ],
442 ],
443 ],
444 1 =>
445 [
446 'type' => 'container',
447 'orientation' => 'vertical',
448 'image' =>
449 [
450 'src' => null,
451 'display' => 'scale',
452 ],
453 'styles' =>
454 [
455 'block' =>
456 [
457 'backgroundColor' => 'transparent',
458 ],
459 ],
460 'blocks' =>
461 [
462 0 =>
463 [
464 'type' => 'image',
465 'link' => '',
466 'src' => $this->template_image_url . '/Fashion-Items-2.jpg',
467 'alt' => 'Fashion-Items-2',
468 'fullWidth' => true,
469 'width' => '364px',
470 'height' => '291px',
471 'styles' =>
472 [
473 'block' =>
474 [
475 'textAlign' => 'center',
476 ],
477 ],
478 ],
479 ],
480 ],
481 ],
482 ],
483 5 =>
484 [
485 'type' => 'container',
486 'orientation' => 'horizontal',
487 'image' =>
488 [
489 'src' => null,
490 'display' => 'scale',
491 ],
492 'styles' =>
493 [
494 'block' =>
495 [
496 'backgroundColor' => 'transparent',
497 ],
498 ],
499 'blocks' =>
500 [
501 0 =>
502 [
503 'type' => 'container',
504 'orientation' => 'vertical',
505 'image' =>
506 [
507 'src' => null,
508 'display' => 'scale',
509 ],
510 'styles' =>
511 [
512 'block' =>
513 [
514 'backgroundColor' => 'transparent',
515 ],
516 ],
517 'blocks' =>
518 [
519 0 =>
520 [
521 'type' => 'image',
522 'link' => '',
523 'src' => $this->template_image_url . '/Fashion-Items-3.jpg',
524 'alt' => 'Fashion-Items-3',
525 'fullWidth' => true,
526 'width' => '364px',
527 'height' => '291px',
528 'styles' =>
529 [
530 'block' =>
531 [
532 'textAlign' => 'center',
533 ],
534 ],
535 ],
536 ],
537 ],
538 1 =>
539 [
540 'type' => 'container',
541 'orientation' => 'vertical',
542 'image' =>
543 [
544 'src' => null,
545 'display' => 'scale',
546 ],
547 'styles' =>
548 [
549 'block' =>
550 [
551 'backgroundColor' => 'transparent',
552 ],
553 ],
554 'blocks' =>
555 [
556 0 =>
557 [
558 'type' => 'spacer',
559 'styles' =>
560 [
561 'block' =>
562 [
563 'backgroundColor' => 'transparent',
564 'height' => '36px',
565 ],
566 ],
567 ],
568 1 =>
569 [
570 'type' => 'text',
571 'text' => '<h3><strong>Title Goes Here</strong></h3>
572 <p><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In elementum nunc vel est congue, a venenatis nunc aliquet. Curabitur luctus, nulla et dignissim elementum, ipsum eros fermentum nulla, non cursus eros mi eu velit. Nunc ex nibh, porta vulputate pharetra ac, placerat sed orci.</span></p>',
573 ],
574 ],
575 ],
576 ],
577 ],
578 6 =>
579 [
580 'type' => 'container',
581 'orientation' => 'horizontal',
582 'image' =>
583 [
584 'src' => null,
585 'display' => 'scale',
586 ],
587 'styles' =>
588 [
589 'block' =>
590 [
591 'backgroundColor' => 'transparent',
592 ],
593 ],
594 'blocks' =>
595 [
596 0 =>
597 [
598 'type' => 'container',
599 'orientation' => 'vertical',
600 'image' =>
601 [
602 'src' => null,
603 'display' => 'scale',
604 ],
605 'styles' =>
606 [
607 'block' =>
608 [
609 'backgroundColor' => 'transparent',
610 ],
611 ],
612 'blocks' =>
613 [
614 0 =>
615 [
616 'type' => 'spacer',
617 'styles' =>
618 [
619 'block' =>
620 [
621 'backgroundColor' => 'transparent',
622 'height' => '35px',
623 ],
624 ],
625 ],
626 1 =>
627 [
628 'type' => 'button',
629 'text' => 'Check out the full range here',
630 'url' => '',
631 'styles' =>
632 [
633 'block' =>
634 [
635 'backgroundColor' => '#cdcdcd',
636 'borderColor' => '#e4e4e4',
637 'borderWidth' => '1px',
638 'borderRadius' => '3px',
639 'borderStyle' => 'solid',
640 'width' => '288px',
641 'lineHeight' => '40px',
642 'fontColor' => '#000000',
643 'fontFamily' => 'Arial',
644 'fontSize' => '16px',
645 'fontWeight' => 'bold',
646 'textAlign' => 'center',
647 ],
648 ],
649 ],
650 2 =>
651 [
652 'type' => 'divider',
653 'styles' =>
654 [
655 'block' =>
656 [
657 'backgroundColor' => 'transparent',
658 'padding' => '13px',
659 'borderStyle' => 'solid',
660 'borderWidth' => '1px',
661 'borderColor' => '#aaaaaa',
662 ],
663 ],
664 ],
665 3 =>
666 [
667 'type' => 'spacer',
668 'styles' =>
669 [
670 'block' =>
671 [
672 'backgroundColor' => 'transparent',
673 'height' => '20px',
674 ],
675 ],
676 ],
677 ],
678 ],
679 ],
680 ],
681 7 =>
682 [
683 'type' => 'container',
684 'orientation' => 'horizontal',
685 'image' =>
686 [
687 'src' => null,
688 'display' => 'scale',
689 ],
690 'styles' =>
691 [
692 'block' =>
693 [
694 'backgroundColor' => 'transparent',
695 ],
696 ],
697 'blocks' =>
698 [
699 0 =>
700 [
701 'type' => 'container',
702 'orientation' => 'vertical',
703 'image' =>
704 [
705 'src' => null,
706 'display' => 'scale',
707 ],
708 'styles' =>
709 [
710 'block' =>
711 [
712 'backgroundColor' => 'transparent',
713 ],
714 ],
715 'blocks' =>
716 [
717 0 =>
718 [
719 'type' => 'text',
720 'text' => '<h2 style="text-align: center;"><strong>New in this week...</strong></h2>',
721 ],
722 ],
723 ],
724 ],
725 ],
726 8 =>
727 [
728 'type' => 'container',
729 'orientation' => 'horizontal',
730 'image' =>
731 [
732 'src' => null,
733 'display' => 'scale',
734 ],
735 'styles' =>
736 [
737 'block' =>
738 [
739 'backgroundColor' => 'transparent',
740 ],
741 ],
742 'blocks' =>
743 [
744 0 =>
745 [
746 'type' => 'container',
747 'orientation' => 'vertical',
748 'image' =>
749 [
750 'src' => null,
751 'display' => 'scale',
752 ],
753 'styles' =>
754 [
755 'block' =>
756 [
757 'backgroundColor' => 'transparent',
758 ],
759 ],
760 'blocks' =>
761 [
762 0 =>
763 [
764 'type' => 'image',
765 'link' => '',
766 'src' => $this->template_image_url . '/Fashion-Items-4.jpg',
767 'alt' => 'Fashion-Items-4',
768 'fullWidth' => true,
769 'width' => '364px',
770 'height' => '291px',
771 'styles' =>
772 [
773 'block' =>
774 [
775 'textAlign' => 'center',
776 ],
777 ],
778 ],
779 ],
780 ],
781 1 =>
782 [
783 'type' => 'container',
784 'orientation' => 'vertical',
785 'image' =>
786 [
787 'src' => null,
788 'display' => 'scale',
789 ],
790 'styles' =>
791 [
792 'block' =>
793 [
794 'backgroundColor' => 'transparent',
795 ],
796 ],
797 'blocks' =>
798 [
799 0 =>
800 [
801 'type' => 'image',
802 'link' => '',
803 'src' => $this->template_image_url . '/Fashion-Items-5.jpg',
804 'alt' => 'Fashion-Items-5',
805 'fullWidth' => true,
806 'width' => '364px',
807 'height' => '291px',
808 'styles' =>
809 [
810 'block' =>
811 [
812 'textAlign' => 'center',
813 ],
814 ],
815 ],
816 ],
817 ],
818 2 =>
819 [
820 'type' => 'container',
821 'orientation' => 'vertical',
822 'image' =>
823 [
824 'src' => null,
825 'display' => 'scale',
826 ],
827 'styles' =>
828 [
829 'block' =>
830 [
831 'backgroundColor' => 'transparent',
832 ],
833 ],
834 'blocks' =>
835 [
836 0 =>
837 [
838 'type' => 'image',
839 'link' => '',
840 'src' => $this->template_image_url . '/Fashion-Items-6.jpg',
841 'alt' => 'Fashion-Items-6',
842 'fullWidth' => true,
843 'width' => '364px',
844 'height' => '291px',
845 'styles' =>
846 [
847 'block' =>
848 [
849 'textAlign' => 'center',
850 ],
851 ],
852 ],
853 ],
854 ],
855 ],
856 ],
857 9 =>
858 [
859 'type' => 'container',
860 'orientation' => 'horizontal',
861 'image' =>
862 [
863 'src' => null,
864 'display' => 'scale',
865 ],
866 'styles' =>
867 [
868 'block' =>
869 [
870 'backgroundColor' => '#12223b',
871 ],
872 ],
873 'blocks' =>
874 [
875 0 =>
876 [
877 'type' => 'container',
878 'orientation' => 'vertical',
879 'image' =>
880 [
881 'src' => null,
882 'display' => 'scale',
883 ],
884 'styles' =>
885 [
886 'block' =>
887 [
888 'backgroundColor' => 'transparent',
889 ],
890 ],
891 'blocks' =>
892 [
893 0 =>
894 [
895 'type' => 'spacer',
896 'styles' =>
897 [
898 'block' =>
899 [
900 'backgroundColor' => '#f0f0f0',
901 'height' => '20px',
902 ],
903 ],
904 ],
905 ],
906 ],
907 ],
908 ],
909 10 =>
910 [
911 'type' => 'container',
912 'orientation' => 'horizontal',
913 'image' =>
914 [
915 'src' => null,
916 'display' => 'scale',
917 ],
918 'styles' =>
919 [
920 'block' =>
921 [
922 'backgroundColor' => '#f0f0f0',
923 ],
924 ],
925 'blocks' =>
926 [
927 0 =>
928 [
929 'type' => 'container',
930 'orientation' => 'vertical',
931 'image' =>
932 [
933 'src' => null,
934 'display' => 'scale',
935 ],
936 'styles' =>
937 [
938 'block' =>
939 [
940 'backgroundColor' => 'transparent',
941 ],
942 ],
943 'blocks' =>
944 [
945 0 =>
946 [
947 'type' => 'spacer',
948 'styles' =>
949 [
950 'block' =>
951 [
952 'backgroundColor' => 'transparent',
953 'height' => '20px',
954 ],
955 ],
956 ],
957 1 =>
958 [
959 'type' => 'text',
960 'text' => '<h2 style="text-align: center;"><strong>TULIP PARK</strong></h2>',
961 ],
962 ],
963 ],
964 1 =>
965 [
966 'type' => 'container',
967 'orientation' => 'vertical',
968 'image' =>
969 [
970 'src' => null,
971 'display' => 'scale',
972 ],
973 'styles' =>
974 [
975 'block' =>
976 [
977 'backgroundColor' => 'transparent',
978 ],
979 ],
980 'blocks' =>
981 [
982 0 =>
983 [
984 'type' => 'spacer',
985 'styles' =>
986 [
987 'block' =>
988 [
989 'backgroundColor' => 'transparent',
990 'height' => '20px',
991 ],
992 ],
993 ],
994 1 =>
995 [
996 'type' => 'social',
997 'iconSet' => 'official',
998 'icons' =>
999 [
1000 0 =>
1001 [
1002 'type' => 'socialIcon',
1003 'iconType' => 'facebook',
1004 'link' => 'http://www.facebook.com',
1005 'image' => $this->social_icon_url . '/11-official/Facebook.png',
1006 'height' => '32px',
1007 'width' => '32px',
1008 'text' => 'Facebook',
1009 ],
1010 1 =>
1011 [
1012 'type' => 'socialIcon',
1013 'iconType' => 'twitter',
1014 'link' => 'http://www.twitter.com',
1015 'image' => $this->social_icon_url . '/11-official/X.png',
1016 'height' => '32px',
1017 'width' => '32px',
1018 'text' => 'Twitter',
1019 ],
1020 2 =>
1021 [
1022 'type' => 'socialIcon',
1023 'iconType' => 'instagram',
1024 'link' => 'http://instagram.com',
1025 'image' => $this->social_icon_url . '/11-official/Instagram.png',
1026 'height' => '32px',
1027 'width' => '32px',
1028 'text' => 'Instagram',
1029 ],
1030 ],
1031 ],
1032 ],
1033 ],
1034 2 =>
1035 [
1036 'type' => 'container',
1037 'orientation' => 'vertical',
1038 'image' =>
1039 [
1040 'src' => null,
1041 'display' => 'scale',
1042 ],
1043 'styles' =>
1044 [
1045 'block' =>
1046 [
1047 'backgroundColor' => 'transparent',
1048 ],
1049 ],
1050 'blocks' =>
1051 [
1052 0 =>
1053 [
1054 'type' => 'spacer',
1055 'styles' =>
1056 [
1057 'block' =>
1058 [
1059 'backgroundColor' => 'transparent',
1060 'height' => '20px',
1061 ],
1062 ],
1063 ],
1064 1 =>
1065 [
1066 'type' => 'text',
1067 'text' => '<p style="font-size: 11px;"><span style="color: #000000;"><a href="[link:subscription_unsubscribe_url]" style="color: #000000;">' . __("Unsubscribe", 'mailpoet') . '</a>&nbsp;|&nbsp;<a href="[link:subscription_manage_url]" style="color: #000000;">' . __("Manage your subscription", 'mailpoet') . '</a></span><br /><span style="color: #000000;">' . __("Add your postal address here!", 'mailpoet') . '</span></p>',
1068 ],
1069 ],
1070 ],
1071 ],
1072 ],
1073 ],
1074 ],
1075 'globalStyles' =>
1076 [
1077 'text' =>
1078 [
1079 'fontColor' => '#000000',
1080 'fontFamily' => 'Arial',
1081 'fontSize' => '14px',
1082 ],
1083 'h1' =>
1084 [
1085 'fontColor' => '#111111',
1086 'fontFamily' => 'Courier New',
1087 'fontSize' => '30px',
1088 ],
1089 'h2' =>
1090 [
1091 'fontColor' => '#222222',
1092 'fontFamily' => 'Arial',
1093 'fontSize' => '24px',
1094 ],
1095 'h3' =>
1096 [
1097 'fontColor' => '#333333',
1098 'fontFamily' => 'Verdana',
1099 'fontSize' => '18px',
1100 ],
1101 'link' =>
1102 [
1103 'fontColor' => '#008282',
1104 'textDecoration' => 'underline',
1105 ],
1106 'wrapper' =>
1107 [
1108 'backgroundColor' => '#ffffff',
1109 ],
1110 'body' =>
1111 [
1112 'backgroundColor' => '#f0f0f0',
1113 ],
1114 ],
1115 'blockDefaults' =>
1116 [
1117 'automatedLatestContent' =>
1118 [
1119 'amount' => '5',
1120 'withLayout' => false,
1121 'contentType' => 'post',
1122 'inclusionType' => 'include',
1123 'displayType' => 'excerpt',
1124 'titleFormat' => 'h1',
1125 'titleAlignment' => 'left',
1126 'titleIsLink' => false,
1127 'imageFullWidth' => false,
1128 'featuredImagePosition' => 'belowTitle',
1129 'showAuthor' => 'no',
1130 'authorPrecededBy' => 'Author:',
1131 'showCategories' => 'no',
1132 'categoriesPrecededBy' => 'Categories:',
1133 'readMoreType' => 'button',
1134 'readMoreText' => 'Read more',
1135 'readMoreButton' =>
1136 [
1137 'text' => 'Read more',
1138 'url' => '[postLink]',
1139 'context' => 'automatedLatestContent.readMoreButton',
1140 'styles' =>
1141 [
1142 'block' =>
1143 [
1144 'backgroundColor' => '#2ea1cd',
1145 'borderColor' => '#0074a2',
1146 'borderWidth' => '1px',
1147 'borderRadius' => '5px',
1148 'borderStyle' => 'solid',
1149 'width' => '180px',
1150 'lineHeight' => '40px',
1151 'fontColor' => '#ffffff',
1152 'fontFamily' => 'Verdana',
1153 'fontSize' => '18px',
1154 'fontWeight' => 'normal',
1155 'textAlign' => 'center',
1156 ],
1157 ],
1158 ],
1159 'sortBy' => 'newest',
1160 'showDivider' => true,
1161 'divider' =>
1162 [
1163 'context' => 'automatedLatestContent.divider',
1164 'styles' =>
1165 [
1166 'block' =>
1167 [
1168 'backgroundColor' => 'transparent',
1169 'padding' => '13px',
1170 'borderStyle' => 'solid',
1171 'borderWidth' => '3px',
1172 'borderColor' => '#aaaaaa',
1173 ],
1174 ],
1175 ],
1176 'backgroundColor' => '#ffffff',
1177 'backgroundColorAlternate' => '#eeeeee',
1178 ],
1179 'automatedLatestContentLayout' =>
1180 [
1181 'amount' => '5',
1182 'withLayout' => true,
1183 'contentType' => 'post',
1184 'inclusionType' => 'include',
1185 'displayType' => 'excerpt',
1186 'titleFormat' => 'h1',
1187 'titleAlignment' => 'left',
1188 'titleIsLink' => false,
1189 'imageFullWidth' => false,
1190 'featuredImagePosition' => 'alternate',
1191 'showAuthor' => 'no',
1192 'authorPrecededBy' => 'Author:',
1193 'showCategories' => 'no',
1194 'categoriesPrecededBy' => 'Categories:',
1195 'readMoreType' => 'button',
1196 'readMoreText' => 'Read more',
1197 'readMoreButton' =>
1198 [
1199 'text' => 'Read more',
1200 'url' => '[postLink]',
1201 'context' => 'automatedLatestContentLayout.readMoreButton',
1202 'styles' =>
1203 [
1204 'block' =>
1205 [
1206 'backgroundColor' => '#2ea1cd',
1207 'borderColor' => '#0074a2',
1208 'borderWidth' => '1px',
1209 'borderRadius' => '5px',
1210 'borderStyle' => 'solid',
1211 'width' => '180px',
1212 'lineHeight' => '40px',
1213 'fontColor' => '#ffffff',
1214 'fontFamily' => 'Verdana',
1215 'fontSize' => '18px',
1216 'fontWeight' => 'normal',
1217 'textAlign' => 'center',
1218 ],
1219 ],
1220 ],
1221 'sortBy' => 'newest',
1222 'showDivider' => true,
1223 'divider' =>
1224 [
1225 'context' => 'automatedLatestContentLayout.divider',
1226 'styles' =>
1227 [
1228 'block' =>
1229 [
1230 'backgroundColor' => 'transparent',
1231 'padding' => '13px',
1232 'borderStyle' => 'solid',
1233 'borderWidth' => '3px',
1234 'borderColor' => '#aaaaaa',
1235 ],
1236 ],
1237 ],
1238 'backgroundColor' => '#ffffff',
1239 'backgroundColorAlternate' => '#eeeeee',
1240 ],
1241 'button' =>
1242 [
1243 'text' => 'Button',
1244 'url' => '',
1245 'styles' =>
1246 [
1247 'block' =>
1248 [
1249 'backgroundColor' => '#2ea1cd',
1250 'borderColor' => '#0074a2',
1251 'borderWidth' => '1px',
1252 'borderRadius' => '5px',
1253 'borderStyle' => 'solid',
1254 'width' => '180px',
1255 'lineHeight' => '40px',
1256 'fontColor' => '#ffffff',
1257 'fontFamily' => 'Verdana',
1258 'fontSize' => '18px',
1259 'fontWeight' => 'normal',
1260 'textAlign' => 'center',
1261 ],
1262 ],
1263 ],
1264 'divider' =>
1265 [
1266 'styles' =>
1267 [
1268 'block' =>
1269 [
1270 'backgroundColor' => 'transparent',
1271 'padding' => '13px',
1272 'borderStyle' => 'solid',
1273 'borderWidth' => '3px',
1274 'borderColor' => '#aaaaaa',
1275 ],
1276 ],
1277 ],
1278 'footer' =>
1279 [
1280 '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>',
1281 'styles' =>
1282 [
1283 'block' =>
1284 [
1285 'backgroundColor' => 'transparent',
1286 ],
1287 'text' =>
1288 [
1289 'fontColor' => '#222222',
1290 'fontFamily' => 'Arial',
1291 'fontSize' => '12px',
1292 'textAlign' => 'center',
1293 ],
1294 'link' =>
1295 [
1296 'fontColor' => '#6cb7d4',
1297 'textDecoration' => 'none',
1298 ],
1299 ],
1300 ],
1301 'posts' =>
1302 [
1303 'amount' => '10',
1304 'withLayout' => true,
1305 'contentType' => 'post',
1306 'postStatus' => 'publish',
1307 'inclusionType' => 'include',
1308 'displayType' => 'excerpt',
1309 'titleFormat' => 'h1',
1310 'titleAlignment' => 'left',
1311 'titleIsLink' => false,
1312 'imageFullWidth' => false,
1313 'featuredImagePosition' => 'alternate',
1314 'showAuthor' => 'no',
1315 'authorPrecededBy' => 'Author:',
1316 'showCategories' => 'no',
1317 'categoriesPrecededBy' => 'Categories:',
1318 'readMoreType' => 'link',
1319 'readMoreText' => 'Read more',
1320 'readMoreButton' =>
1321 [
1322 'text' => 'Read more',
1323 'url' => '[postLink]',
1324 'context' => 'posts.readMoreButton',
1325 'styles' =>
1326 [
1327 'block' =>
1328 [
1329 'backgroundColor' => '#2ea1cd',
1330 'borderColor' => '#0074a2',
1331 'borderWidth' => '1px',
1332 'borderRadius' => '5px',
1333 'borderStyle' => 'solid',
1334 'width' => '180px',
1335 'lineHeight' => '40px',
1336 'fontColor' => '#ffffff',
1337 'fontFamily' => 'Verdana',
1338 'fontSize' => '18px',
1339 'fontWeight' => 'normal',
1340 'textAlign' => 'center',
1341 ],
1342 ],
1343 ],
1344 'sortBy' => 'newest',
1345 'showDivider' => true,
1346 'divider' =>
1347 [
1348 'context' => 'posts.divider',
1349 'styles' =>
1350 [
1351 'block' =>
1352 [
1353 'backgroundColor' => 'transparent',
1354 'padding' => '13px',
1355 'borderStyle' => 'solid',
1356 'borderWidth' => '3px',
1357 'borderColor' => '#aaaaaa',
1358 ],
1359 ],
1360 ],
1361 'backgroundColor' => '#ffffff',
1362 'backgroundColorAlternate' => '#eeeeee',
1363 ],
1364 'social' =>
1365 [
1366 'iconSet' => 'official',
1367 'icons' =>
1368 [
1369 0 =>
1370 [
1371 'type' => 'socialIcon',
1372 'iconType' => 'facebook',
1373 'link' => 'http://www.facebook.com',
1374 'image' => $this->social_icon_url . '/11-official/Facebook.png',
1375 'height' => '32px',
1376 'width' => '32px',
1377 'text' => 'Facebook',
1378 ],
1379 1 =>
1380 [
1381 'type' => 'socialIcon',
1382 'iconType' => 'twitter',
1383 'link' => 'http://www.twitter.com',
1384 'image' => $this->social_icon_url . '/11-official/X.png',
1385 'height' => '32px',
1386 'width' => '32px',
1387 'text' => 'Twitter',
1388 ],
1389 ],
1390 ],
1391 'spacer' =>
1392 [
1393 'styles' =>
1394 [
1395 'block' =>
1396 [
1397 'backgroundColor' => 'transparent',
1398 'height' => '486px',
1399 ],
1400 ],
1401 'type' => 'spacer',
1402 ],
1403 'header' =>
1404 [
1405 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
1406 'styles' =>
1407 [
1408 'block' =>
1409 [
1410 'backgroundColor' => 'transparent',
1411 ],
1412 'text' =>
1413 [
1414 'fontColor' => '#222222',
1415 'fontFamily' => 'Arial',
1416 'fontSize' => '12px',
1417 'textAlign' => 'center',
1418 ],
1419 'link' =>
1420 [
1421 'fontColor' => '#6cb7d4',
1422 'textDecoration' => 'underline',
1423 ],
1424 ],
1425 ],
1426 ],
1427 ];
1428 }
1429 }
1430