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

1452 lines
45 KiB
PHP

<?php
namespace MailPoet\Config\PopulatorData\Templates;
use MailPoet\WP\Functions as WPFunctions;
if (!defined('ABSPATH')) exit;
class FashionBlogA {
private $template_image_url;
private $social_icon_url;
function __construct($assets_url) {
$this->template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/fashion-blog-a';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
}
function get() {
return array(
'name' => WPFunctions::get()->__("Women Fashion Store", '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' => '#f5f5f5',
),
),
'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',
),
),
),
),
),
),
),
1 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#f5f5f5',
),
),
'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' => '<p style="font-size: 12px; text-align: left;">October 2018 Edition</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' => '<p style="text-align: right;"><a href="[link:newsletter_view_in_browser_url]" style="color: #b76e97; font-size: 12px;">View</a><a href="[link:newsletter_view_in_browser_url]" style="color: #b76e97; font-size: 12px;"> Online</a></p>',
),
),
),
),
),
2 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#f5f5f5',
),
),
'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 . '/Fashion-Logo.png',
'alt' => 'Fashion-Logo',
'fullWidth' => false,
'width' => '157px',
'height' => '48px',
'styles' =>
array (
'block' =>
array (
'textAlign' => 'left',
),
),
),
1 =>
array (
'type' => 'spacer',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '20px',
),
),
),
),
),
),
),
3 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => $this->template_image_url . '/Fashion-Header.jpg',
'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' => '90px',
),
),
),
1 =>
array (
'type' => 'text',
'text' => '<p style="text-align: center;"><span style="color: #ffffff;"><strong>October 2018</strong></span></p>
<h1 style="text-align: center;"><span style="color: #ffffff;"><strong>Autumn&nbsp;Season</strong></span></h1>',
),
2 =>
array (
'type' => 'spacer',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '60px',
),
),
),
),
),
),
),
4 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#ffffff',
),
),
'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',
),
),
),
1 =>
array (
'type' => 'text',
'text' => '<p style="text-align: left;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce mollis orci justo, commodo mattis nisi ullamcorper vitae. Sed aliquam, ex ac lacinia tempus, enim urna luctus odio, at consequat leo ante non tellus.</span></p>
<p style="text-align: left;"><span></span></p>
<p style="text-align: left;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce mollis orci justo, commodo mattis nisi ullamcorper vitae.&nbsp;</span></p>',
),
2 =>
array (
'type' => 'spacer',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '20px',
),
),
),
),
),
),
),
5 =>
array (
'type' => 'container',
'columnLayout' => '1_2',
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#f6e4e4',
),
),
'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 . '/Fashion-Image-1.jpg',
'alt' => 'Fashion-Image-1',
'fullWidth' => true,
'width' => '400px',
'height' => '600px',
'styles' =>
array (
'block' =>
array (
'textAlign' => 'center',
),
),
),
),
),
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' => '60px',
),
),
),
1 =>
array (
'type' => 'text',
'text' => '<h2><span style="color: #b76e97;"><strong>$59</strong></span></h2>
<h3><strong>New Outfit</strong></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce mollis orci justo, commodo mattis nisi ullamcorper vitae.&nbsp;<span>Lorem ipsum dolor sit amet.</span></p>',
),
2 =>
array (
'type' => 'button',
'text' => 'Read more',
'url' => '[postLink]',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#ae6ca1',
'borderColor' => '#0074a2',
'borderWidth' => '0px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '100px',
'lineHeight' => '35px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '14px',
'fontWeight' => 'bold',
'textAlign' => 'left',
),
),
),
),
),
),
),
6 =>
array (
'type' => 'container',
'columnLayout' => '2_1',
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#ebe8e8',
),
),
'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><span style="color: #b76e97;"><strong>$159</strong></span></h2>
<h3><strong>New Outfit</strong></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce mollis orci justo, commodo mattis nisi ullamcorper vitae.&nbsp;<span>Lorem ipsum dolor sit amet.</span></p>',
),
2 =>
array (
'type' => 'button',
'text' => 'Read more',
'url' => '[postLink]',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#ae6ca1',
'borderColor' => '#0074a2',
'borderWidth' => '0px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '100px',
'lineHeight' => '35px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '14px',
'fontWeight' => 'bold',
'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' => 'image',
'link' => '',
'src' => $this->template_image_url . '/Fashion-Image-2.jpg',
'alt' => 'Fashion-Image-2',
'fullWidth' => true,
'width' => '400px',
'height' => '600px',
'styles' =>
array (
'block' =>
array (
'textAlign' => 'center',
),
),
),
),
),
),
),
7 =>
array (
'type' => 'container',
'columnLayout' => '1_2',
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#f6e4e4',
),
),
'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 . '/Fashion-Image-3.jpg',
'alt' => 'Fashion-Image-3',
'fullWidth' => true,
'width' => '400px',
'height' => '600px',
'styles' =>
array (
'block' =>
array (
'textAlign' => 'center',
),
),
),
),
),
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' => '60px',
),
),
),
1 =>
array (
'type' => 'text',
'text' => '<h2><span style="color: #b76e97;"><strong>$25</strong></span></h2>
<h3><strong>New Outfit</strong></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce mollis orci justo, commodo mattis nisi ullamcorper vitae.&nbsp;<span>Lorem ipsum dolor sit amet.</span></p>',
),
2 =>
array (
'type' => 'button',
'text' => 'Read more',
'url' => '[postLink]',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#ae6ca1',
'borderColor' => '#0074a2',
'borderWidth' => '0px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '100px',
'lineHeight' => '35px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '14px',
'fontWeight' => 'bold',
'textAlign' => 'left',
),
),
),
),
),
),
),
8 =>
array (
'type' => 'container',
'columnLayout' => '2_1',
'orientation' => 'horizontal',
'image' =>
array (
'src' => $this->template_image_url . '/Fashion-Instagram.jpg',
'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' => '50px',
),
),
),
1 =>
array (
'type' => 'image',
'link' => '',
'src' => $this->template_image_url . '/glyph-logo_May2016.png',
'alt' => 'glyph-logo_May2016',
'fullWidth' => false,
'width' => '52px',
'height' => '504px',
'styles' =>
array (
'block' =>
array (
'textAlign' => 'left',
),
),
),
2 =>
array (
'type' => 'text',
'text' => '<h2><span style="color: #000000;"><strong>Our new Instagram Page</strong></span></h2>
<p><span style="color: #000000;">We have just released our brand new Instagram page.</span></p>
<p><span style="color: #000000;">We\'ll be keeping everyone up to date with the latest</span></p>
<p><span style="color: #000000;">fashion and style advice every day.</span></p>',
),
3 =>
array (
'type' => 'button',
'text' => 'Check it out',
'url' => '[postLink]',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#151515',
'borderColor' => '#0074a2',
'borderWidth' => '0px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '114px',
'lineHeight' => '35px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '14px',
'fontWeight' => 'bold',
'textAlign' => 'left',
),
),
),
4 =>
array (
'type' => 'spacer',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '35px',
),
),
),
),
),
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' => '20px',
),
),
),
),
),
),
),
9 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#f5f5f5',
),
),
'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' => 'social',
'iconSet' => 'full-symbol-black',
'icons' =>
array (
0 =>
array (
'type' => 'socialIcon',
'iconType' => 'facebook',
'link' => 'http://www.facebook.com',
'image' => $this->social_icon_url.'/07-full-symbol-black/Facebook.png',
'height' => '32px',
'width' => '32px',
'text' => 'Facebook',
),
1 =>
array (
'type' => 'socialIcon',
'iconType' => 'twitter',
'link' => 'http://www.twitter.com',
'image' => $this->social_icon_url.'/07-full-symbol-black/Twitter.png',
'height' => '32px',
'width' => '32px',
'text' => 'Twitter',
),
2 =>
array (
'type' => 'socialIcon',
'iconType' => 'instagram',
'link' => 'http://instagram.com',
'image' => $this->social_icon_url.'/07-full-symbol-black/Instagram.png',
'height' => '32px',
'width' => '32px',
'text' => 'Instagram',
),
),
),
),
),
),
),
10 =>
array (
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
array (
'src' => NULL,
'display' => 'scale',
),
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#f5f5f5',
),
),
'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' => 'footer',
'text' => '<p><a href="[link:subscription_unsubscribe_url]">Unsubscribe</a> | <a href="[link:subscription_manage_url]">Manage your subscription</a><br />Add your postal address here!</p>',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
),
'text' =>
array (
'fontColor' => '#222222',
'fontFamily' => 'Arial',
'fontSize' => '12px',
'textAlign' => 'center',
),
'link' =>
array (
'fontColor' => '#ae70ad',
'textDecoration' => 'none',
),
),
),
),
),
),
),
),
),
'globalStyles' =>
array (
'text' =>
array (
'fontColor' => '#626262',
'fontFamily' => 'Noticia Text',
'fontSize' => '14px',
),
'h1' =>
array (
'fontColor' => '#111111',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '30px',
),
'h2' =>
array (
'fontColor' => '#222222',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '22px',
),
'h3' =>
array (
'fontColor' => '#505050',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '20px',
),
'link' =>
array (
'fontColor' => '#21759b',
'textDecoration' => 'underline',
),
'wrapper' =>
array (
'backgroundColor' => '#ffffff',
),
'body' =>
array (
'backgroundColor' => '#f5f5f5',
),
),
'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' => 'Read more',
'url' => '[postLink]',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => '#ae6ca1',
'borderColor' => '#0074a2',
'borderWidth' => '0px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '100px',
'lineHeight' => '35px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '14px',
'fontWeight' => 'bold',
'textAlign' => 'left',
),
),
'type' => 'button',
),
'divider' =>
array (
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'padding' => '13px',
'borderStyle' => 'solid',
'borderWidth' => '3px',
'borderColor' => '#aaaaaa',
),
),
),
'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' => 'Arial',
'fontSize' => '12px',
'textAlign' => 'center',
),
'link' =>
array (
'fontColor' => '#ae70ad',
'textDecoration' => 'none',
),
),
'type' => 'footer',
),
'posts' =>
array (
'amount' => '10',
'withLayout' => true,
'contentType' => 'post',
'postStatus' => 'publish',
'inclusionType' => 'include',
'displayType' => 'excerpt',
'titleFormat' => 'h3',
'titleAlignment' => 'left',
'titleIsLink' => false,
'imageFullWidth' => true,
'featuredImagePosition' => 'right',
'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',
),
),
'type' => 'button',
),
'sortBy' => 'newest',
'showDivider' => true,
'divider' =>
array (
'context' => 'posts.divider',
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'padding' => '13px',
'borderStyle' => 'solid',
'borderWidth' => '3px',
'borderColor' => '#aaaaaa',
),
),
'type' => 'divider',
),
'backgroundColor' => '#ffffff',
'backgroundColorAlternate' => '#eeeeee',
'type' => 'posts',
'offset' => 0,
'terms' =>
array (
),
'search' => '',
),
'social' =>
array (
'iconSet' => 'full-symbol-black',
'icons' =>
array (
0 =>
array (
'type' => 'socialIcon',
'iconType' => 'facebook',
'link' => 'http://www.facebook.com',
'image' => $this->social_icon_url . '/07-full-symbol-black/Facebook.png',
'height' => '32px',
'width' => '32px',
'text' => 'Facebook',
),
1 =>
array (
'type' => 'socialIcon',
'iconType' => 'twitter',
'link' => 'http://www.twitter.com',
'image' => $this->social_icon_url . '/07-full-symbol-black/Twitter.png',
'height' => '32px',
'width' => '32px',
'text' => 'Twitter',
),
2 =>
array (
'type' => 'socialIcon',
'iconType' => 'instagram',
'link' => 'http://instagram.com',
'image' => $this->social_icon_url . '/07-full-symbol-black/Instagram.png',
'height' => '32px',
'width' => '32px',
'text' => 'Instagram',
),
),
'type' => 'social',
),
'spacer' =>
array (
'styles' =>
array (
'block' =>
array (
'backgroundColor' => 'transparent',
'height' => '40px',
),
),
'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' => 'Arial',
'fontSize' => '12px',
'textAlign' => 'center',
),
'link' =>
array (
'fontColor' => '#6cb7d4',
'textDecoration' => 'underline',
),
),
'type' => 'header',
),
),
);
}
}