Files
piratepoet/lib/Config/PopulatorData/Templates/WordPressTheme.php
2019-04-25 11:32:45 -04:00

1439 lines
44 KiB
PHP
Executable File

<?php
namespace MailPoet\Config\PopulatorData\Templates;
use MailPoet\WP\Functions as WPFunctions;
class WordPressTheme {
private $template_image_url;
private $social_icon_url;
function __construct($assets_url) {
$this->template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/word-press-theme';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
}
function get() {
return array(
'name' => WPFunctions::get()->__("WordPress Theme", 'mailpoet'),
'categories' => json_encode(array('standard', 'all')),
'readonly' => 1,
'thumbnail' => $this->getThumbnail(),
'body' => json_encode($this->getBody()),
);
}
private function getThumbnail() {
return $this->template_image_url . '/thumbnail.20190411-1500.jpg';
}
private function getBody() {
return array (
'content' =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#b8dae3',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'spacer',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '20px',
),
),
),
1 =>
array (
'type' => 'header',
'text' => '<p><a href="[link:newsletter_view_in_browser_url]">Open this email in your web browser &gt;</a></p>',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
'text' =>
array (
'fontColor' => '#222222',
'fontFamily' => 'Arvo',
'fontSize' => '12px',
'textAlign' => 'center',
),
'link' =>
array (
'fontColor' => '#222222',
'textDecoration' => 'none',
),
),
),
),
),
),
),
1 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#051137',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'spacer',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '20px',
),
),
),
),
),
),
),
2 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#051137',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'image',
'link' => '',
'src' => $this->template_image_url . '/Wordpress-Logo.png',
'alt' => 'Wordpress-Logo',
'fullWidth' => false,
'width' => '260px',
'height' => '177px',
'styles' =>
array (
'block' =>
array (
'textAlign' => 'left',
),
),
),
),
),
1 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'spacer',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '22px',
),
),
),
1 =>
array (
'type' => 'social',
'iconSet' => 'full-symbol-grey',
'icons' =>
array (
0 =>
array (
'type' => 'socialIcon',
'iconType' => 'facebook',
'link' => 'http://www.facebook.com',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png',
'height' => '32px',
'width' => '32px',
'text' => 'Facebook',
),
1 =>
array (
'type' => 'socialIcon',
'iconType' => 'twitter',
'link' => 'http://www.twitter.com',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png',
'height' => '32px',
'width' => '32px',
'text' => 'Twitter',
),
2 =>
array (
'type' => 'socialIcon',
'iconType' => 'website',
'link' => '',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Website.png',
'height' => '32px',
'width' => '32px',
'text' => 'Website',
),
3 =>
array (
'type' => 'socialIcon',
'iconType' => 'email',
'link' => '',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Email.png',
'height' => '32px',
'width' => '32px',
'text' => 'Email',
),
),
),
),
),
),
),
3 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => $this->template_image_url . '/Wordpress-Header-b.jpg',
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#2d557f',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'spacer',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '20px',
),
),
),
1 =>
array (
'type' => 'text',
'text' => '<h3 style="text-align: center;"><span style="color: #ffffff;">ThemeZone presents...</span></h3>',
),
2 =>
array (
'type' => 'image',
'link' => '',
'src' => $this->template_image_url . '/Wordpress-Header-img.png',
'alt' => 'Wordpress-Header-img',
'fullWidth' => false,
'width' => '1134px',
'height' => '898px',
'styles' =>
array (
'block' =>
array (
'textAlign' => 'center',
),
),
),
3 =>
array (
'type' => 'text',
'text' => '<h2 style="text-align: center;"><span style="color: #ffffff;">The Winter Theme Bundle</span></h2>
<p style="text-align: center;"><span style="color: #ffffff;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin placerat feugiat est, malesuada varius sem finibus a. Nunc feugiat sollicitudin gravida.</span></span></p>',
),
4 =>
array (
'type' => 'button',
'text' => 'Take a look',
'url' => '',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#ffffff',
'borderColor' => '#1e986a',
'borderWidth' => '0px',
'borderRadius' => '40px',
'borderStyle' => 'solid',
'width' => '132px',
'lineHeight' => '50px',
'fontColor' => '#1a4f66',
'fontFamily' => 'Arvo',
'fontSize' => '16px',
'fontWeight' => 'bold',
'textAlign' => 'center',
),
),
),
5 =>
array (
'type' => 'spacer',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '44px',
),
),
),
),
),
),
),
4 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'spacer',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '20px',
),
),
),
1 =>
array (
'type' => 'text',
'text' => '<h2 style="text-align: center;"><span style="color: #333333;">Fully customisable and ready to use</span></h2>
<p style="text-align: center;"><span style="color: #333333;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin placerat feugiat est, malesuada varius sem finibus a. Nunc feugiat sollicitudin gravida.</span></p>',
),
2 =>
array (
'type' => 'image',
'link' => '',
'src' => $this->template_image_url . '/Wordpress-Image-1.jpg',
'alt' => 'Wordpress-Image-1',
'fullWidth' => true,
'width' => '400px',
'height' => '340px',
'styles' =>
array (
'block' =>
array (
'textAlign' => 'center',
),
),
),
3 =>
array (
'type' => 'spacer',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '20px',
),
),
),
),
),
),
),
5 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'spacer',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '60px',
),
),
),
1 =>
array (
'type' => 'text',
'text' => '<h2 style="text-align: left;"><span style="color: #333333;">Beautiful,&nbsp;simple design</span></h2>
<p style="text-align: left;"><span style="color: #333333;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin placerat feugiat est, malesuada varius sem finibus a. Nunc feugiat sollicitudin gravida.</span></p>',
),
),
),
1 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'image',
'link' => '',
'src' => $this->template_image_url . '/Wordpress-Image-2.jpg',
'alt' => 'Wordpress-Image-2',
'fullWidth' => true,
'width' => '541px',
'height' => '454px',
'styles' =>
array (
'block' =>
array (
'textAlign' => 'center',
),
),
),
),
),
),
),
6 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'spacer',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '40px',
),
),
),
),
),
),
),
7 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#051137',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'spacer',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '40px',
),
),
),
1 =>
array (
'type' => 'text',
'text' => '<h2 style="text-align: center;"><span style="color: #ffffff;">Installation is super easy</span></h2>
<p style="text-align: center;"><span style="color: #ffffff;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin placerat feugiat est, malesuada varius sem finibus a. Nunc feugiat sollicitudin gravida.</span></span></p>',
),
),
),
),
),
8 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#051137',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'text',
'text' => '<h2 style="text-align: center;"><span style="color: #2ecd91;"><strong>1</strong></span></h2>
<p style="text-align: center;"><span style="color: #ffffff;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span></span></p>',
),
),
),
1 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'text',
'text' => '<h2 style="text-align: center;"><span style="color: #2ecd91;"><strong><span>2</span></strong></span></h2>
<p style="text-align: center;"><span style="color: #ffffff;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span></span></p>',
),
),
),
2 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'text',
'text' => '<h2 style="text-align: center;"><span style="color: #2ecd91;"><strong><span>3</span></strong></span></h2>
<p style="text-align: center;"><span style="color: #ffffff;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span></span></p>',
),
),
),
),
),
9 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#051137',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'spacer',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '30px',
),
),
),
),
),
),
),
10 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#b8dae3',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'spacer',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '40px',
),
),
),
),
),
),
),
11 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#b8dae3',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'image',
'link' => '',
'src' => $this->template_image_url . '/Wordpress-Logo-Footer.png',
'alt' => 'Wordpress-Logo-Footer',
'fullWidth' => false,
'width' => '190px',
'height' => '177px',
'styles' =>
array (
'block' =>
array (
'textAlign' => 'left',
),
),
),
),
),
1 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
),
'blocks' =>
array (
0 =>
array (
'type' => 'footer',
'text' => '<p><a href="[link:subscription_unsubscribe_url]">Unsubscribe</a> | <a href="[link:subscription_manage_url]">Manage subscription</a><br />Add your postal address here!</p>',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
'text' =>
array (
'fontColor' => '#222222',
'fontFamily' => 'Arvo',
'fontSize' => '12px',
'textAlign' => 'right',
),
'link' =>
array (
'fontColor' => '#051137',
'textDecoration' => 'underline',
),
),
),
),
),
),
),
),
),
'globalStyles' =>
array (
'text' =>
array (
'fontColor' => '#000000',
'fontFamily' => 'Arvo',
'fontSize' => '14px',
),
'h1' =>
array (
'fontColor' => '#111111',
'fontFamily' => 'Arvo',
'fontSize' => '30px',
),
'h2' =>
array (
'fontColor' => '#222222',
'fontFamily' => 'Arvo',
'fontSize' => '24px',
),
'h3' =>
array (
'fontColor' => '#333333',
'fontFamily' => 'Arvo',
'fontSize' => '22px',
),
'link' =>
array (
'fontColor' => '#21759B',
'textDecoration' => 'underline',
),
'wrapper' =>
array (
'backgroundColor' => '#ffffff',
),
'body' =>
array (
'backgroundColor' => '#b8dae3',
),
),
'blockDefaults' =>
array (
'automatedLatestContent' =>
array (
'amount' => '5',
'withLayout' => false,
'contentType' => 'post',
'inclusionType' => 'include',
'displayType' => 'excerpt',
'titleFormat' => 'h1',
'titleAlignment' => 'left',
'titleIsLink' => false,
'imageFullWidth' => false,
'featuredImagePosition' => 'belowTitle',
'showAuthor' => 'no',
'authorPrecededBy' => 'Author:',
'showCategories' => 'no',
'categoriesPrecededBy' => 'Categories:',
'readMoreType' => 'button',
'readMoreText' => 'Read more',
'readMoreButton' =>
array (
'text' => 'Read more',
'url' => '[postLink]',
'context' => 'automatedLatestContent.readMoreButton',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#2ea1cd',
'borderColor' => '#0074a2',
'borderWidth' => '1px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '180px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Verdana',
'fontSize' => '18px',
'fontWeight' => 'normal',
'textAlign' => 'center',
),
),
),
'sortBy' => 'newest',
'showDivider' => true,
'divider' =>
array (
'context' => 'automatedLatestContent.divider',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'padding' => '13px',
'borderStyle' => 'solid',
'borderWidth' => '3px',
'borderColor' => '#aaaaaa',
),
),
),
'backgroundColor' => '#ffffff',
'backgroundColorAlternate' => '#eeeeee',
),
'automatedLatestContentLayout' =>
array (
'amount' => '5',
'withLayout' => true,
'contentType' => 'post',
'inclusionType' => 'include',
'displayType' => 'excerpt',
'titleFormat' => 'h1',
'titleAlignment' => 'left',
'titleIsLink' => false,
'imageFullWidth' => false,
'featuredImagePosition' => 'alternate',
'showAuthor' => 'no',
'authorPrecededBy' => 'Author:',
'showCategories' => 'no',
'categoriesPrecededBy' => 'Categories:',
'readMoreType' => 'button',
'readMoreText' => 'Read more',
'readMoreButton' =>
array (
'text' => 'Read more',
'url' => '[postLink]',
'context' => 'automatedLatestContentLayout.readMoreButton',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#2ea1cd',
'borderColor' => '#0074a2',
'borderWidth' => '1px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '180px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Verdana',
'fontSize' => '18px',
'fontWeight' => 'normal',
'textAlign' => 'center',
),
),
),
'sortBy' => 'newest',
'showDivider' => true,
'divider' =>
array (
'context' => 'automatedLatestContentLayout.divider',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'padding' => '13px',
'borderStyle' => 'solid',
'borderWidth' => '3px',
'borderColor' => '#aaaaaa',
),
),
),
'backgroundColor' => '#ffffff',
'backgroundColorAlternate' => '#eeeeee',
),
'button' =>
array (
'text' => 'Take a look',
'url' => '',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#ffffff',
'borderColor' => '#1e986a',
'borderWidth' => '0px',
'borderRadius' => '40px',
'borderStyle' => 'solid',
'width' => '132px',
'lineHeight' => '50px',
'fontColor' => '#1a4f66',
'fontFamily' => 'Arvo',
'fontSize' => '16px',
'fontWeight' => 'bold',
'textAlign' => 'center',
),
),
'type' => 'button',
),
'divider' =>
array (
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'padding' => '13px',
'borderStyle' => 'dotted',
'borderWidth' => '4px',
'borderColor' => '#21377e',
),
),
'type' => 'divider',
),
'footer' =>
array (
'text' => '<p><a href="[link:subscription_unsubscribe_url]">Unsubscribe</a> | <a href="[link:subscription_manage_url]">Manage subscription</a><br />Add your postal address here!</p>',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
'text' =>
array (
'fontColor' => '#222222',
'fontFamily' => 'Arvo',
'fontSize' => '12px',
'textAlign' => 'right',
),
'link' =>
array (
'fontColor' => '#051137',
'textDecoration' => 'underline',
),
),
'type' => 'footer',
),
'posts' =>
array (
'amount' => '10',
'withLayout' => true,
'contentType' => 'post',
'postStatus' => 'publish',
'inclusionType' => 'include',
'displayType' => 'excerpt',
'titleFormat' => 'h1',
'titleAlignment' => 'left',
'titleIsLink' => false,
'imageFullWidth' => false,
'featuredImagePosition' => 'alternate',
'showAuthor' => 'no',
'authorPrecededBy' => 'Author:',
'showCategories' => 'no',
'categoriesPrecededBy' => 'Categories:',
'readMoreType' => 'link',
'readMoreText' => 'Read more',
'readMoreButton' =>
array (
'text' => 'Read more',
'url' => '[postLink]',
'context' => 'posts.readMoreButton',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#2ea1cd',
'borderColor' => '#0074a2',
'borderWidth' => '1px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '180px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Verdana',
'fontSize' => '18px',
'fontWeight' => 'normal',
'textAlign' => 'center',
),
),
),
'sortBy' => 'newest',
'showDivider' => true,
'divider' =>
array (
'context' => 'posts.divider',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'padding' => '13px',
'borderStyle' => 'solid',
'borderWidth' => '3px',
'borderColor' => '#aaaaaa',
),
),
),
'backgroundColor' => '#ffffff',
'backgroundColorAlternate' => '#eeeeee',
),
'social' =>
array (
'iconSet' => 'full-symbol-grey',
'icons' =>
array (
0 =>
array (
'type' => 'socialIcon',
'iconType' => 'facebook',
'link' => 'http://www.facebook.com',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png',
'height' => '32px',
'width' => '32px',
'text' => 'Facebook',
),
1 =>
array (
'type' => 'socialIcon',
'iconType' => 'twitter',
'link' => 'http://www.twitter.com',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png',
'height' => '32px',
'width' => '32px',
'text' => 'Twitter',
),
2 =>
array (
'type' => 'socialIcon',
'iconType' => 'website',
'link' => '',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Website.png',
'height' => '32px',
'width' => '32px',
'text' => 'Website',
),
3 =>
array (
'type' => 'socialIcon',
'iconType' => 'email',
'link' => '',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Email.png',
'height' => '32px',
'width' => '32px',
'text' => 'Email',
),
),
'type' => 'social',
),
'spacer' =>
array (
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '20px',
),
),
'type' => 'spacer',
),
'header' =>
array (
'text' => 'Display problems?&nbsp;<a href="[link:newsletter_view_in_browser_url]">Open this email in your web browser.</a>',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
'text' =>
array (
'fontColor' => '#222222',
'fontFamily' => 'Arvo',
'fontSize' => '12px',
'textAlign' => 'center',
),
'link' =>
array (
'fontColor' => '#222222',
'textDecoration' => 'none',
),
),
'type' => 'header',
),
),
);
}
}