PluginProbe
MailPoet – Newsletters, Email Marketing, and Automation / 5.37.0
MailPoet – Newsletters, Email Marketing, and Automation v5.37.0
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 / College.php
College.php
1,151 lines 36.5 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 College {
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/college';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("College", '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' => '#eeeeee',
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' => '#eeeeee',
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' => 'image',
150 'link' => '',
151 'src' => $this->template_image_url . '/College-Logo.png',
152 'alt' => 'College-Logo',
153 'fullWidth' => false,
154 'width' => '106px',
155 'height' => '652px',
156 'styles' =>
157 [
158 'block' =>
159 [
160 'textAlign' => 'left',
161 ],
162 ],
163 ],
164 ],
165 ],
166 1 =>
167 [
168 'type' => 'container',
169 'columnLayout' => false,
170 'orientation' => 'vertical',
171 'image' =>
172 [
173 'src' => null,
174 'display' => 'scale',
175 ],
176 'styles' =>
177 [
178 'block' =>
179 [
180 'backgroundColor' => 'transparent',
181 ],
182 ],
183 'blocks' =>
184 [
185 0 =>
186 [
187 'type' => 'spacer',
188 'styles' =>
189 [
190 'block' =>
191 [
192 'backgroundColor' => 'transparent',
193 'height' => '36px',
194 ],
195 ],
196 ],
197 1 =>
198 [
199 'type' => 'social',
200 'iconSet' => 'official',
201 'icons' =>
202 [
203 0 =>
204 [
205 'type' => 'socialIcon',
206 'iconType' => 'facebook',
207 'link' => 'http://www.facebook.com',
208 'image' => $this->social_icon_url . '/11-official/Facebook.png',
209 'height' => '32px',
210 'width' => '32px',
211 'text' => 'Facebook',
212 ],
213 1 =>
214 [
215 'type' => 'socialIcon',
216 'iconType' => 'twitter',
217 'link' => 'http://www.twitter.com',
218 'image' => $this->social_icon_url . '/11-official/X.png',
219 'height' => '32px',
220 'width' => '32px',
221 'text' => 'Twitter',
222 ],
223 2 =>
224 [
225 'type' => 'socialIcon',
226 'iconType' => 'instagram',
227 'link' => 'http://instagram.com',
228 'image' => $this->social_icon_url . '/11-official/Instagram.png',
229 'height' => '32px',
230 'width' => '32px',
231 'text' => 'Instagram',
232 ],
233 3 =>
234 [
235 'type' => 'socialIcon',
236 'iconType' => 'youtube',
237 'link' => 'http://www.youtube.com',
238 'image' => $this->social_icon_url . '/11-official/Youtube.png',
239 'height' => '32px',
240 'width' => '32px',
241 'text' => 'Youtube',
242 ],
243 ],
244 ],
245 ],
246 ],
247 2 =>
248 [
249 'type' => 'container',
250 'columnLayout' => false,
251 'orientation' => 'vertical',
252 'image' =>
253 [
254 'src' => null,
255 'display' => 'scale',
256 ],
257 'styles' =>
258 [
259 'block' =>
260 [
261 'backgroundColor' => 'transparent',
262 ],
263 ],
264 'blocks' =>
265 [
266 0 =>
267 [
268 'type' => 'spacer',
269 'styles' =>
270 [
271 'block' =>
272 [
273 'backgroundColor' => 'transparent',
274 'height' => '33px',
275 ],
276 ],
277 ],
278 1 =>
279 [
280 'type' => 'header',
281 'text' => '<p><a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a></p>',
282 'styles' =>
283 [
284 'block' =>
285 [
286 'backgroundColor' => 'transparent',
287 ],
288 'text' =>
289 [
290 'fontColor' => '#222222',
291 'fontFamily' => 'Arial',
292 'fontSize' => '12px',
293 'textAlign' => 'right',
294 ],
295 'link' =>
296 [
297 'fontColor' => '#6cb7d4',
298 'textDecoration' => 'underline',
299 ],
300 ],
301 ],
302 ],
303 ],
304 ],
305 ],
306 2 =>
307 [
308 'type' => 'container',
309 'columnLayout' => false,
310 'orientation' => 'horizontal',
311 'image' =>
312 [
313 'src' => $this->template_image_url . '/College-Header.jpg',
314 'display' => 'scale',
315 ],
316 'styles' =>
317 [
318 'block' =>
319 [
320 'backgroundColor' => '#333333',
321 ],
322 ],
323 'blocks' =>
324 [
325 0 =>
326 [
327 'type' => 'container',
328 'columnLayout' => false,
329 'orientation' => 'vertical',
330 'image' =>
331 [
332 'src' => null,
333 'display' => 'scale',
334 ],
335 'styles' =>
336 [
337 'block' =>
338 [
339 'backgroundColor' => 'transparent',
340 ],
341 ],
342 'blocks' =>
343 [
344 0 =>
345 [
346 'type' => 'spacer',
347 'styles' =>
348 [
349 'block' =>
350 [
351 'backgroundColor' => 'transparent',
352 'height' => '60px',
353 ],
354 ],
355 ],
356 1 =>
357 [
358 'type' => 'text',
359 'text' => '<p style="text-align: left;"><span style="color: #ffcc00;"><strong>S U M M E R&nbsp; &nbsp;E D I T I O N</strong></span></p>
360 <h1 style="text-align: left;"><span style="color: #ffffff;">Graduation Day is Coming</span></h1>
361 <p style="text-align: left;"><span style="color: #ffffff;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce dapibus iaculis risus ut tincidunt. Integer gravida mauris erat, vehicula blandit velit ultrices ut.&nbsp;</span></span></p>',
362 ],
363 2 =>
364 [
365 'type' => 'spacer',
366 'styles' =>
367 [
368 'block' =>
369 [
370 'backgroundColor' => 'transparent',
371 'height' => '35px',
372 ],
373 ],
374 ],
375 ],
376 ],
377 ],
378 ],
379 3 =>
380 [
381 'type' => 'container',
382 'columnLayout' => '2_1',
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 'columnLayout' => false,
402 'orientation' => 'vertical',
403 'image' =>
404 [
405 'src' => null,
406 'display' => 'scale',
407 ],
408 'styles' =>
409 [
410 'block' =>
411 [
412 'backgroundColor' => 'transparent',
413 ],
414 ],
415 'blocks' =>
416 [
417 0 =>
418 [
419 'type' => 'spacer',
420 'styles' =>
421 [
422 'block' =>
423 [
424 'backgroundColor' => 'transparent',
425 'height' => '54px',
426 ],
427 ],
428 ],
429 1 =>
430 [
431 'type' => 'text',
432 'text' => '<p style="text-align: left;"><span style="color: #999999;"><strong>H E A D M A S T E R \' S&nbsp; &nbsp;B L O G</strong></span></p>
433 <h2 style="text-align: left;"><strong><span style="color: #333333;">Your hard work pays off in the future to come</span></strong></h2>
434 <p></p>',
435 ],
436 2 =>
437 [
438 'type' => 'divider',
439 'styles' =>
440 [
441 'block' =>
442 [
443 'backgroundColor' => 'transparent',
444 'padding' => '18.5px',
445 'borderStyle' => 'solid',
446 'borderWidth' => '2px',
447 'borderColor' => '#ffcc00',
448 ],
449 ],
450 ],
451 3 =>
452 [
453 'type' => 'text',
454 'text' => '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur purus quam, semper eget nisl at, pretium fermentum ligula. Ut augue elit, congue non nisl eget, venenatis ornare ante. Aliquam erat volutpat. Maecenas facilisis eget risus vel scelerisque.</p>
455 <p></p>
456 <p>Etiam eros arcu, vestibulum at iaculis ut, iaculis nec est. Ut ut malesuada purus. Etiam sed accumsan eros, eu aliquam nisl. Nam faucibus sit amet felis at euismod. Sed efficitur varius tincidunt. Curabitur varius, nunc id interdum sodales, felis purus congue nulla, at semper orci est id mauris. Ut euismod vel dui sed mollis. Aliquam vestibulum id leo eu tristique. Etiam sit amet lacus vitae mi dignissim iaculis id ac nulla.</p>
457 <p></p>',
458 ],
459 4 =>
460 [
461 'type' => 'image',
462 'link' => '',
463 'src' => $this->template_image_url . '/College-Image.jpg',
464 'alt' => 'College-Image',
465 'fullWidth' => false,
466 'width' => '1200px',
467 'height' => '800px',
468 'styles' =>
469 [
470 'block' =>
471 [
472 'textAlign' => 'center',
473 ],
474 ],
475 ],
476 5 =>
477 [
478 'type' => 'text',
479 'text' => '<p></p>
480 <p>Praesent mi lorem, varius sit amet mattis at, sollicitudin ac enim. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam rhoncus tellus eleifend, accumsan magna in, imperdiet mauris. Cras a justo in lectus semper fermentum. Integer porta vel risus a varius. Aliquam nec nulla dui. Nulla congue ornare fringilla.</p>
481 <p></p>
482 <p>Nulla gravida interdum velit, nec pretium lacus placerat vel. Curabitur vitae arcu condimentum, iaculis nisl ac, viverra augue.</p>
483 <p></p>
484 <p>Etiam tincidunt justo quam, ac suscipit lectus hendrerit ac.</p>',
485 ],
486 ],
487 ],
488 1 =>
489 [
490 'type' => 'container',
491 'columnLayout' => false,
492 'orientation' => 'vertical',
493 'image' =>
494 [
495 'src' => null,
496 'display' => 'scale',
497 ],
498 'styles' =>
499 [
500 'block' =>
501 [
502 'backgroundColor' => 'transparent',
503 ],
504 ],
505 'blocks' =>
506 [
507 0 =>
508 [
509 'type' => 'image',
510 'link' => '',
511 'src' => $this->template_image_url . '/College-Avatar.jpg',
512 'alt' => 'College-Avatar',
513 'fullWidth' => true,
514 'width' => '500px',
515 'height' => '500px',
516 'styles' =>
517 [
518 'block' =>
519 [
520 'textAlign' => 'center',
521 ],
522 ],
523 ],
524 1 =>
525 [
526 'type' => 'text',
527 'text' => '<p></p>
528 <p></p>
529 <p><strong>Mr George Chalk</strong></p>
530 <p>Headmaster &amp; Director</p>',
531 ],
532 2 =>
533 [
534 'type' => 'spacer',
535 'styles' =>
536 [
537 'block' =>
538 [
539 'backgroundColor' => 'transparent',
540 'height' => '44px',
541 ],
542 ],
543 ],
544 3 =>
545 [
546 'type' => 'text',
547 'text' => '<p><strong>Need some tips and advice?&nbsp;</strong></p>
548 <p>Here\'s the latest updates from our blog:</p>
549 <p></p>
550 <p><a href="http://mailpoet-sg.com">7 ways to destress before an exam even starts</a></p>
551 <p></p>
552 <p><a href="http://mailpoet-sg.com">Focussing on the right content is key to being successful</a></p>
553 <p></p>
554 <p><a href="http://mailpoet-sg.com">Getting a degree is only the start of the battle</a></p>',
555 ],
556 ],
557 ],
558 ],
559 ],
560 4 =>
561 [
562 'type' => 'container',
563 'columnLayout' => false,
564 'orientation' => 'horizontal',
565 'image' =>
566 [
567 'src' => null,
568 'display' => 'scale',
569 ],
570 'styles' =>
571 [
572 'block' =>
573 [
574 'backgroundColor' => 'transparent',
575 ],
576 ],
577 'blocks' =>
578 [
579 0 =>
580 [
581 'type' => 'container',
582 'columnLayout' => false,
583 'orientation' => 'vertical',
584 'image' =>
585 [
586 'src' => null,
587 'display' => 'scale',
588 ],
589 'styles' =>
590 [
591 'block' =>
592 [
593 'backgroundColor' => 'transparent',
594 ],
595 ],
596 'blocks' =>
597 [
598 0 =>
599 [
600 'type' => 'spacer',
601 'styles' =>
602 [
603 'block' =>
604 [
605 'backgroundColor' => 'transparent',
606 'height' => '20px',
607 ],
608 ],
609 ],
610 ],
611 ],
612 ],
613 ],
614 5 =>
615 [
616 'type' => 'container',
617 'columnLayout' => '2_1',
618 'orientation' => 'horizontal',
619 'image' =>
620 [
621 'src' => null,
622 'display' => 'scale',
623 ],
624 'styles' =>
625 [
626 'block' =>
627 [
628 'backgroundColor' => '#eeeeee',
629 ],
630 ],
631 'blocks' =>
632 [
633 0 =>
634 [
635 'type' => 'container',
636 'columnLayout' => false,
637 'orientation' => 'vertical',
638 'image' =>
639 [
640 'src' => null,
641 'display' => 'scale',
642 ],
643 'styles' =>
644 [
645 'block' =>
646 [
647 'backgroundColor' => 'transparent',
648 ],
649 ],
650 'blocks' =>
651 [
652 0 =>
653 [
654 'type' => 'spacer',
655 'styles' =>
656 [
657 'block' =>
658 [
659 'backgroundColor' => 'transparent',
660 'height' => '35px',
661 ],
662 ],
663 ],
664 1 =>
665 [
666 'type' => 'social',
667 'iconSet' => 'official',
668 'icons' =>
669 [
670 0 =>
671 [
672 'type' => 'socialIcon',
673 'iconType' => 'facebook',
674 'link' => 'http://www.facebook.com',
675 'image' => $this->social_icon_url . '/11-official/Facebook.png',
676 'height' => '32px',
677 'width' => '32px',
678 'text' => 'Facebook',
679 ],
680 1 =>
681 [
682 'type' => 'socialIcon',
683 'iconType' => 'twitter',
684 'link' => 'http://www.twitter.com',
685 'image' => $this->social_icon_url . '/11-official/X.png',
686 'height' => '32px',
687 'width' => '32px',
688 'text' => 'Twitter',
689 ],
690 2 =>
691 [
692 'type' => 'socialIcon',
693 'iconType' => 'instagram',
694 'link' => 'http://instagram.com',
695 'image' => $this->social_icon_url . '/11-official/Instagram.png',
696 'height' => '32px',
697 'width' => '32px',
698 'text' => 'Instagram',
699 ],
700 3 =>
701 [
702 'type' => 'socialIcon',
703 'iconType' => 'youtube',
704 'link' => 'http://www.youtube.com',
705 'image' => $this->social_icon_url . '/11-official/Youtube.png',
706 'height' => '32px',
707 'width' => '32px',
708 'text' => 'Youtube',
709 ],
710 ],
711 ],
712 2 =>
713 [
714 'type' => 'text',
715 'text' => '<p style="text-align: center;"><span style="color: #ffcc00;"><strong></strong></span><a href="[link:subscription_unsubscribe_url]">' . __("Unsubscribe", 'mailpoet') . '</a><span>&nbsp;|&nbsp;</span><a href="[link:subscription_manage_url]">' . __("Manage your subscription", 'mailpoet') . '</a><br /><span>' . __("Add your postal address here!", 'mailpoet') . '</span></p>',
716 ],
717 ],
718 ],
719 1 =>
720 [
721 'type' => 'container',
722 'columnLayout' => false,
723 'orientation' => 'vertical',
724 'image' =>
725 [
726 'src' => null,
727 'display' => 'scale',
728 ],
729 'styles' =>
730 [
731 'block' =>
732 [
733 'backgroundColor' => 'transparent',
734 ],
735 ],
736 'blocks' =>
737 [
738 0 =>
739 [
740 'type' => 'spacer',
741 'styles' =>
742 [
743 'block' =>
744 [
745 'backgroundColor' => 'transparent',
746 'height' => '20px',
747 ],
748 ],
749 ],
750 1 =>
751 [
752 'type' => 'image',
753 'link' => '',
754 'src' => $this->template_image_url . '/College-Logo.png',
755 'alt' => 'College-Logo',
756 'fullWidth' => false,
757 'width' => '106px',
758 'height' => '652px',
759 'styles' =>
760 [
761 'block' =>
762 [
763 'textAlign' => 'center',
764 ],
765 ],
766 ],
767 ],
768 ],
769 ],
770 ],
771 ],
772 ],
773 'globalStyles' =>
774 [
775 'text' =>
776 [
777 'fontColor' => '#000000',
778 'fontFamily' => 'Source Sans Pro',
779 'fontSize' => '14px',
780 ],
781 'h1' =>
782 [
783 'fontColor' => '#111111',
784 'fontFamily' => 'Playfair Display',
785 'fontSize' => '40px',
786 ],
787 'h2' =>
788 [
789 'fontColor' => '#222222',
790 'fontFamily' => 'Playfair Display',
791 'fontSize' => '30px',
792 ],
793 'h3' =>
794 [
795 'fontColor' => '#333333',
796 'fontFamily' => 'Open Sans',
797 'fontSize' => '24px',
798 ],
799 'link' =>
800 [
801 'fontColor' => '#447c9d',
802 'textDecoration' => 'underline',
803 ],
804 'wrapper' =>
805 [
806 'backgroundColor' => '#ffffff',
807 ],
808 'body' =>
809 [
810 'backgroundColor' => '#eeeeee',
811 ],
812 ],
813 'blockDefaults' =>
814 [
815 'automatedLatestContent' =>
816 [
817 'amount' => '5',
818 'withLayout' => false,
819 'contentType' => 'post',
820 'inclusionType' => 'include',
821 'displayType' => 'excerpt',
822 'titleFormat' => 'h1',
823 'titleAlignment' => 'left',
824 'titleIsLink' => false,
825 'imageFullWidth' => false,
826 'featuredImagePosition' => 'belowTitle',
827 'showAuthor' => 'no',
828 'authorPrecededBy' => 'Author:',
829 'showCategories' => 'no',
830 'categoriesPrecededBy' => 'Categories:',
831 'readMoreType' => 'button',
832 'readMoreText' => 'Read more',
833 'readMoreButton' =>
834 [
835 'text' => 'Read more',
836 'url' => '[postLink]',
837 'context' => 'automatedLatestContent.readMoreButton',
838 'styles' =>
839 [
840 'block' =>
841 [
842 'backgroundColor' => '#2ea1cd',
843 'borderColor' => '#0074a2',
844 'borderWidth' => '1px',
845 'borderRadius' => '5px',
846 'borderStyle' => 'solid',
847 'width' => '180px',
848 'lineHeight' => '40px',
849 'fontColor' => '#ffffff',
850 'fontFamily' => 'Verdana',
851 'fontSize' => '18px',
852 'fontWeight' => 'normal',
853 'textAlign' => 'center',
854 ],
855 ],
856 ],
857 'sortBy' => 'newest',
858 'showDivider' => true,
859 'divider' =>
860 [
861 'context' => 'automatedLatestContent.divider',
862 'styles' =>
863 [
864 'block' =>
865 [
866 'backgroundColor' => 'transparent',
867 'padding' => '13px',
868 'borderStyle' => 'solid',
869 'borderWidth' => '3px',
870 'borderColor' => '#aaaaaa',
871 ],
872 ],
873 ],
874 'backgroundColor' => '#ffffff',
875 'backgroundColorAlternate' => '#eeeeee',
876 ],
877 'automatedLatestContentLayout' =>
878 [
879 'amount' => '5',
880 'withLayout' => true,
881 'contentType' => 'post',
882 'inclusionType' => 'include',
883 'displayType' => 'excerpt',
884 'titleFormat' => 'h1',
885 'titleAlignment' => 'left',
886 'titleIsLink' => false,
887 'imageFullWidth' => false,
888 'featuredImagePosition' => 'alternate',
889 'showAuthor' => 'no',
890 'authorPrecededBy' => 'Author:',
891 'showCategories' => 'no',
892 'categoriesPrecededBy' => 'Categories:',
893 'readMoreType' => 'button',
894 'readMoreText' => 'Read more',
895 'readMoreButton' =>
896 [
897 'text' => 'Read more',
898 'url' => '[postLink]',
899 'context' => 'automatedLatestContentLayout.readMoreButton',
900 'styles' =>
901 [
902 'block' =>
903 [
904 'backgroundColor' => '#2ea1cd',
905 'borderColor' => '#0074a2',
906 'borderWidth' => '1px',
907 'borderRadius' => '5px',
908 'borderStyle' => 'solid',
909 'width' => '180px',
910 'lineHeight' => '40px',
911 'fontColor' => '#ffffff',
912 'fontFamily' => 'Verdana',
913 'fontSize' => '18px',
914 'fontWeight' => 'normal',
915 'textAlign' => 'center',
916 ],
917 ],
918 ],
919 'sortBy' => 'newest',
920 'showDivider' => true,
921 'divider' =>
922 [
923 'context' => 'automatedLatestContentLayout.divider',
924 'styles' =>
925 [
926 'block' =>
927 [
928 'backgroundColor' => 'transparent',
929 'padding' => '13px',
930 'borderStyle' => 'solid',
931 'borderWidth' => '3px',
932 'borderColor' => '#aaaaaa',
933 ],
934 ],
935 ],
936 'backgroundColor' => '#ffffff',
937 'backgroundColorAlternate' => '#eeeeee',
938 ],
939 'button' =>
940 [
941 'text' => 'Button',
942 'url' => '',
943 'styles' =>
944 [
945 'block' =>
946 [
947 'backgroundColor' => '#2ea1cd',
948 'borderColor' => '#0074a2',
949 'borderWidth' => '1px',
950 'borderRadius' => '5px',
951 'borderStyle' => 'solid',
952 'width' => '180px',
953 'lineHeight' => '40px',
954 'fontColor' => '#ffffff',
955 'fontFamily' => 'Verdana',
956 'fontSize' => '18px',
957 'fontWeight' => 'normal',
958 'textAlign' => 'center',
959 ],
960 ],
961 ],
962 'divider' =>
963 [
964 'styles' =>
965 [
966 'block' =>
967 [
968 'backgroundColor' => 'transparent',
969 'padding' => '18.5px',
970 'borderStyle' => 'solid',
971 'borderWidth' => '2px',
972 'borderColor' => '#ffcc00',
973 ],
974 ],
975 'type' => 'divider',
976 ],
977 'footer' =>
978 [
979 '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>',
980 'styles' =>
981 [
982 'block' =>
983 [
984 'backgroundColor' => 'transparent',
985 ],
986 'text' =>
987 [
988 'fontColor' => '#222222',
989 'fontFamily' => 'Arial',
990 'fontSize' => '12px',
991 'textAlign' => 'center',
992 ],
993 'link' =>
994 [
995 'fontColor' => '#6cb7d4',
996 'textDecoration' => 'none',
997 ],
998 ],
999 ],
1000 'posts' =>
1001 [
1002 'amount' => '10',
1003 'withLayout' => true,
1004 'contentType' => 'post',
1005 'postStatus' => 'publish',
1006 'inclusionType' => 'include',
1007 'displayType' => 'excerpt',
1008 'titleFormat' => 'h1',
1009 'titleAlignment' => 'left',
1010 'titleIsLink' => false,
1011 'imageFullWidth' => false,
1012 'featuredImagePosition' => 'alternate',
1013 'showAuthor' => 'no',
1014 'authorPrecededBy' => 'Author:',
1015 'showCategories' => 'no',
1016 'categoriesPrecededBy' => 'Categories:',
1017 'readMoreType' => 'link',
1018 'readMoreText' => 'Read more',
1019 'readMoreButton' =>
1020 [
1021 'text' => 'Read more',
1022 'url' => '[postLink]',
1023 'context' => 'posts.readMoreButton',
1024 'styles' =>
1025 [
1026 'block' =>
1027 [
1028 'backgroundColor' => '#2ea1cd',
1029 'borderColor' => '#0074a2',
1030 'borderWidth' => '1px',
1031 'borderRadius' => '5px',
1032 'borderStyle' => 'solid',
1033 'width' => '180px',
1034 'lineHeight' => '40px',
1035 'fontColor' => '#ffffff',
1036 'fontFamily' => 'Verdana',
1037 'fontSize' => '18px',
1038 'fontWeight' => 'normal',
1039 'textAlign' => 'center',
1040 ],
1041 ],
1042 ],
1043 'sortBy' => 'newest',
1044 'showDivider' => true,
1045 'divider' =>
1046 [
1047 'context' => 'posts.divider',
1048 'styles' =>
1049 [
1050 'block' =>
1051 [
1052 'backgroundColor' => 'transparent',
1053 'padding' => '13px',
1054 'borderStyle' => 'solid',
1055 'borderWidth' => '3px',
1056 'borderColor' => '#aaaaaa',
1057 ],
1058 ],
1059 ],
1060 'backgroundColor' => '#ffffff',
1061 'backgroundColorAlternate' => '#eeeeee',
1062 ],
1063 'social' =>
1064 [
1065 'iconSet' => 'official',
1066 'icons' =>
1067 [
1068 0 =>
1069 [
1070 'type' => 'socialIcon',
1071 'iconType' => 'facebook',
1072 'link' => 'http://www.facebook.com',
1073 'image' => $this->social_icon_url . '/11-official/Facebook.png',
1074 'height' => '32px',
1075 'width' => '32px',
1076 'text' => 'Facebook',
1077 ],
1078 1 =>
1079 [
1080 'type' => 'socialIcon',
1081 'iconType' => 'twitter',
1082 'link' => 'http://www.twitter.com',
1083 'image' => $this->social_icon_url . '/11-official/X.png',
1084 'height' => '32px',
1085 'width' => '32px',
1086 'text' => 'Twitter',
1087 ],
1088 2 =>
1089 [
1090 'type' => 'socialIcon',
1091 'iconType' => 'instagram',
1092 'link' => 'http://instagram.com',
1093 'image' => $this->social_icon_url . '/11-official/Instagram.png',
1094 'height' => '32px',
1095 'width' => '32px',
1096 'text' => 'Instagram',
1097 ],
1098 3 =>
1099 [
1100 'type' => 'socialIcon',
1101 'iconType' => 'youtube',
1102 'link' => 'http://www.youtube.com',
1103 'image' => $this->social_icon_url . '/11-official/Youtube.png',
1104 'height' => '32px',
1105 'width' => '32px',
1106 'text' => 'Youtube',
1107 ],
1108 ],
1109 'type' => 'social',
1110 ],
1111 'spacer' =>
1112 [
1113 'styles' =>
1114 [
1115 'block' =>
1116 [
1117 'backgroundColor' => 'transparent',
1118 'height' => '20px',
1119 ],
1120 ],
1121 'type' => 'spacer',
1122 ],
1123 'header' =>
1124 [
1125 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
1126 'styles' =>
1127 [
1128 'block' =>
1129 [
1130 'backgroundColor' => 'transparent',
1131 ],
1132 'text' =>
1133 [
1134 'fontColor' => '#222222',
1135 'fontFamily' => 'Arial',
1136 'fontSize' => '12px',
1137 'textAlign' => 'right',
1138 ],
1139 'link' =>
1140 [
1141 'fontColor' => '#6cb7d4',
1142 'textDecoration' => 'underline',
1143 ],
1144 ],
1145 'type' => 'header',
1146 ],
1147 ],
1148 ];
1149 }
1150 }
1151