OwlCyberSecurity - MANAGER
Edit File: IndustryConference.php
<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing namespace MailPoet\Config\PopulatorData\Templates; if (!defined('ABSPATH')) exit; class IndustryConference { private $template_image_url; private $social_icon_url; public function __construct( $assets_url ) { $this->template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/industry-conference'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; } public function get() { return [ 'name' => __("Industry Conference", 'mailpoet'), 'categories' => json_encode(['notification', '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 [ 'content' => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'vertical', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'horizontal', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => '#222222', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'vertical', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '50px', ], ], ], 1 => [ 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/Conf-Logo.png', 'alt' => 'Conf-Logo', 'fullWidth' => false, 'width' => '150px', 'height' => '150px', 'styles' => [ 'block' => [ 'textAlign' => 'center', ], ], ], ], ], ], ], 1 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'horizontal', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => '#222222', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'vertical', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'text', 'text' => '<p style="text-align: center;"><span style="color: #ffffff; font-size: 11px; text-transform: uppercase; opacity: 0.5; letter-spacing: 3px;">Get ready for the biggest email conference of the year</span></p>', ], ], ], ], ], 2 => [ 'type' => 'container', 'columnLayout' => '2_1', 'orientation' => 'horizontal', 'image' => [ 'src' => $this->template_image_url . '/Conf-Header-2.jpg', 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'vertical', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '56px', ], ], ], 1 => [ 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/Conf-Ticket.png', 'alt' => 'Conf-Ticket', 'fullWidth' => false, 'width' => '339px', 'height' => '177px', 'styles' => [ 'block' => [ 'textAlign' => 'left', ], ], ], 2 => [ 'type' => 'text', 'text' => '<h3><span style="font-size: 42px;"><strong><span style="color: #ffffff; line-height: 1.2; position: relative; top: -5px;">Email Boston 2018</span></strong></span></h3>', ], 3 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '20px', ], ], ], ], ], 1 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'vertical', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '133px', ], ], ], ], ], ], ], 3 => [ 'type' => 'automatedLatestContentLayout', 'withLayout' => true, 'amount' => '3', 'contentType' => 'post', 'terms' => [ ], 'inclusionType' => 'include', 'displayType' => 'excerpt', 'titleFormat' => 'h2', 'titleAlignment' => 'left', 'titleIsLink' => false, 'imageFullWidth' => false, 'featuredImagePosition' => 'right', 'showAuthor' => 'no', 'authorPrecededBy' => 'Author:', 'showCategories' => 'no', 'categoriesPrecededBy' => 'Categories:', 'readMoreType' => 'button', 'readMoreText' => 'Read more', 'readMoreButton' => [ 'type' => 'button', 'text' => 'Read the post', 'url' => '[postLink]', 'styles' => [ 'block' => [ 'backgroundColor' => '#b8291e', 'borderColor' => '#0074a2', 'borderWidth' => '0px', 'borderRadius' => '0px', 'borderStyle' => 'solid', 'width' => '147px', 'lineHeight' => '40px', 'fontColor' => '#ffffff', 'fontFamily' => 'Georgia', 'fontSize' => '16px', 'fontWeight' => 'normal', 'textAlign' => 'left', ], ], 'context' => 'automatedLatestContentLayout.readMoreButton', ], 'sortBy' => 'oldest', 'showDivider' => true, 'divider' => [ 'type' => 'divider', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'padding' => '13px', 'borderStyle' => 'dotted', 'borderWidth' => '4px', 'borderColor' => '#dddddd', ], ], 'context' => 'automatedLatestContentLayout.divider', ], 'backgroundColor' => '#ffffff', 'backgroundColorAlternate' => '#eeeeee', ], 4 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'horizontal', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => '#222222', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'vertical', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/Conf-Bottom-2.png', 'alt' => 'Conf-Bottom', 'fullWidth' => true, 'width' => '1280px', 'height' => '50px', 'styles' => [ 'block' => [ 'textAlign' => 'center', ], ], ], ], ], ], ], 5 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'horizontal', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'vertical', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => '#222222', 'height' => '34px', ], ], ], ], ], ], ], 6 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'horizontal', 'image' => [ 'src' => $this->template_image_url . '/Industry-Coupon.png', 'display' => 'fit', ], 'styles' => [ 'block' => [ 'backgroundColor' => '#222222', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'vertical', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '75px', ], ], ], 1 => [ 'type' => 'text', 'text' => '<h3 style="text-align: center;"><span style="color: #ffffff;">---</span></h3> <h3 style="text-align: center;"><span style="color: #ffffff;">Grab 20% off your tickets right now</span></h3> <p style="text-align: center;"><span style="color: #ffffff;">We\'re offering an exclusive 20% off tickets with this coupon code!</span></p>', ], 2 => [ 'type' => 'button', 'text' => 'CouPon_Code', 'url' => '[postLink]', 'styles' => [ 'block' => [ 'backgroundColor' => '#b8291e', 'borderColor' => '#ffffff', 'borderWidth' => '3px', 'borderRadius' => '14px', 'borderStyle' => 'solid', 'width' => '229px', 'lineHeight' => '40px', 'fontColor' => '#ffffff', 'fontFamily' => 'Courier New', 'fontSize' => '26px', 'fontWeight' => 'normal', 'textAlign' => 'center', ], ], ], 3 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '33px', ], ], ], 4 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '45px', ], ], ], ], ], ], ], 7 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'horizontal', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'vertical', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => '#222222', 'height' => '20px', ], ], ], ], ], ], ], 8 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'horizontal', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => '#222222', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'vertical', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/Conf-Top.png', 'alt' => 'Conf-Top', 'fullWidth' => true, 'width' => '1280px', 'height' => '12px', 'styles' => [ 'block' => [ 'textAlign' => 'center', ], ], ], 1 => [ 'type' => 'divider', 'styles' => [ 'block' => [ 'backgroundColor' => '#ffffff', 'padding' => '14px', 'borderStyle' => 'dotted', 'borderWidth' => '7px', 'borderColor' => '#e1e1e1', ], ], ], ], ], ], ], 9 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'horizontal', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'vertical', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => '#ffffff', 'height' => '30px', ], ], ], 1 => [ 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/Conf-Holding.jpg', 'alt' => 'Conf-Holding', 'fullWidth' => false, 'width' => '1000px', 'height' => '667px', 'styles' => [ 'block' => [ 'textAlign' => 'center', ], ], ], ], ], 1 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'vertical', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => '#ffffff', 'height' => '46px', ], ], ], 1 => [ 'type' => 'text', 'text' => '<h3><strong>Check out this year\'s event</strong></h3> <p>We\'ve ramped up everything this year for our conference, including amazing new speakers and guests, and a few surprises for everyone.</p>', ], 2 => [ 'type' => 'button', 'text' => 'Buy a ticket here', 'url' => '[postLink]', 'styles' => [ 'block' => [ 'backgroundColor' => '#b8291e', 'borderColor' => '#0074a2', 'borderWidth' => '0px', 'borderRadius' => '0px', 'borderStyle' => 'solid', 'width' => '147px', 'lineHeight' => '40px', 'fontColor' => '#ffffff', 'fontFamily' => 'Georgia', 'fontSize' => '16px', 'fontWeight' => 'normal', 'textAlign' => 'left', ], ], ], ], ], ], ], 10 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'horizontal', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => '#222222', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'vertical', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => '#ffffff', 'height' => '20px', ], ], ], 1 => [ 'type' => 'divider', 'styles' => [ 'block' => [ 'backgroundColor' => '#ffffff', 'padding' => '1.5px', 'borderStyle' => 'dotted', 'borderWidth' => '7px', 'borderColor' => '#e1e1e1', ], ], ], 2 => [ 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/Conf-Bottom-2.png', 'alt' => 'Conf-Bottom', 'fullWidth' => true, 'width' => '1280px', 'height' => '50px', 'styles' => [ 'block' => [ 'textAlign' => 'center', ], ], ], ], ], ], ], 11 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'horizontal', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => '#222222', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'vertical', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => '#222222', 'height' => '30px', ], ], ], 1 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => '#222222', 'height' => '20px', ], ], ], 2 => [ 'type' => 'social', 'iconSet' => 'full-symbol-grey', 'icons' => [ 0 => [ '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 => [ '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 => [ 'type' => 'socialIcon', 'iconType' => 'email', 'link' => '', 'image' => $this->social_icon_url . '/08-full-symbol-grey/Email.png', 'height' => '32px', 'width' => '32px', 'text' => 'Email', ], 3 => [ 'type' => 'socialIcon', 'iconType' => 'instagram', 'link' => 'http://instagram.com', 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', 'height' => '32px', 'width' => '32px', 'text' => 'Instagram', ], ], ], 3 => [ 'type' => 'header', 'text' => '<p> <a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a></p>', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], 'text' => [ 'fontColor' => '#8d8d8d', 'fontFamily' => 'Arial', 'fontSize' => '12px', 'textAlign' => 'center', ], 'link' => [ 'fontColor' => '#ffffff', 'textDecoration' => 'underline', ], ], ], 4 => [ 'type' => 'footer', 'text' => '<p><span style="color: #b8291e;"><a href="[link:subscription_unsubscribe_url]" style="color: #b8291e;">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]" style="color: #b8291e;">' . __("Manage your subscription", 'mailpoet') . '</a></span><br />' . __("Add your postal address here!", 'mailpoet') . '</p>', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], 'text' => [ 'fontColor' => '#222222', 'fontFamily' => 'Arial', 'fontSize' => '12px', 'textAlign' => 'center', ], 'link' => [ 'fontColor' => '#6cb7d4', 'textDecoration' => 'none', ], ], ], ], ], ], ], ], ], 'globalStyles' => [ 'text' => [ 'fontColor' => '#000000', 'fontFamily' => 'Merriweather Sans', 'fontSize' => '14px', ], 'h1' => [ 'fontColor' => '#111111', 'fontFamily' => 'Arvo', 'fontSize' => '40px', ], 'h2' => [ 'fontColor' => '#222222', 'fontFamily' => 'Arvo', 'fontSize' => '26px', ], 'h3' => [ 'fontColor' => '#333333', 'fontFamily' => 'Arvo', 'fontSize' => '18px', ], 'link' => [ 'fontColor' => '#b8291e', 'textDecoration' => 'underline', ], 'wrapper' => [ 'backgroundColor' => '#ffffff', ], 'body' => [ 'backgroundColor' => '#222222', ], ], 'blockDefaults' => [ 'automatedLatestContent' => [ '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' => [ 'text' => 'Read more', 'url' => '[postLink]', 'context' => 'automatedLatestContent.readMoreButton', 'styles' => [ 'block' => [ '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' => [ 'context' => 'automatedLatestContent.divider', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'padding' => '13px', 'borderStyle' => 'solid', 'borderWidth' => '3px', 'borderColor' => '#aaaaaa', ], ], ], 'backgroundColor' => '#ffffff', 'backgroundColorAlternate' => '#eeeeee', ], 'automatedLatestContentLayout' => [ 'amount' => '3', 'withLayout' => true, 'contentType' => 'post', 'inclusionType' => 'include', 'displayType' => 'excerpt', 'titleFormat' => 'h2', 'titleAlignment' => 'left', 'titleIsLink' => false, 'imageFullWidth' => false, 'featuredImagePosition' => 'right', 'showAuthor' => 'no', 'authorPrecededBy' => 'Author:', 'showCategories' => 'no', 'categoriesPrecededBy' => 'Categories:', 'readMoreType' => 'button', 'readMoreText' => 'Read more', 'readMoreButton' => [ 'text' => 'Read the post', 'url' => '[postLink]', 'context' => 'automatedLatestContentLayout.readMoreButton', 'styles' => [ 'block' => [ 'backgroundColor' => '#b8291e', 'borderColor' => '#0074a2', 'borderWidth' => '0px', 'borderRadius' => '0px', 'borderStyle' => 'solid', 'width' => '147px', 'lineHeight' => '40px', 'fontColor' => '#ffffff', 'fontFamily' => 'Georgia', 'fontSize' => '16px', 'fontWeight' => 'normal', 'textAlign' => 'left', ], ], 'type' => 'button', ], 'sortBy' => 'oldest', 'showDivider' => true, 'divider' => [ 'context' => 'automatedLatestContentLayout.divider', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'padding' => '13px', 'borderStyle' => 'dotted', 'borderWidth' => '4px', 'borderColor' => '#dddddd', ], ], 'type' => 'divider', ], 'backgroundColor' => '#ffffff', 'backgroundColorAlternate' => '#eeeeee', 'type' => 'automatedLatestContentLayout', 'terms' => [ ], ], 'button' => [ 'text' => 'Read the post', 'url' => '[postLink]', 'styles' => [ 'block' => [ 'backgroundColor' => '#b8291e', 'borderColor' => '#ffffff', 'borderWidth' => '3px', 'borderRadius' => '14px', 'borderStyle' => 'solid', 'width' => '229px', 'lineHeight' => '40px', 'fontColor' => '#ffffff', 'fontFamily' => 'Courier New', 'fontSize' => '26px', 'fontWeight' => 'normal', 'textAlign' => 'center', ], ], 'type' => 'button', ], 'divider' => [ 'styles' => [ 'block' => [ 'backgroundColor' => '#222222', 'padding' => '1.5px', 'borderStyle' => 'dotted', 'borderWidth' => '7px', 'borderColor' => '#515151', ], ], 'type' => 'divider', ], 'footer' => [ '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>', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], 'text' => [ 'fontColor' => '#222222', 'fontFamily' => 'Arial', 'fontSize' => '12px', 'textAlign' => 'center', ], 'link' => [ 'fontColor' => '#6cb7d4', 'textDecoration' => 'none', ], ], 'type' => 'footer', ], 'posts' => [ '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' => [ 'text' => 'Read more', 'url' => '[postLink]', 'context' => 'posts.readMoreButton', 'styles' => [ 'block' => [ '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' => [ 'context' => 'posts.divider', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'padding' => '13px', 'borderStyle' => 'solid', 'borderWidth' => '3px', 'borderColor' => '#aaaaaa', ], ], ], 'backgroundColor' => '#ffffff', 'backgroundColorAlternate' => '#eeeeee', ], 'social' => [ 'iconSet' => 'full-symbol-grey', 'icons' => [ 0 => [ '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 => [ '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 => [ 'type' => 'socialIcon', 'iconType' => 'email', 'link' => '', 'image' => $this->social_icon_url . '/08-full-symbol-grey/Email.png', 'height' => '32px', 'width' => '32px', 'text' => 'Email', ], 3 => [ 'type' => 'socialIcon', 'iconType' => 'instagram', 'link' => 'http://instagram.com', 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png', 'height' => '32px', 'width' => '32px', 'text' => 'Instagram', ], ], 'type' => 'social', ], 'spacer' => [ 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '75px', ], ], 'type' => 'spacer', ], 'header' => [ 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], 'text' => [ 'fontColor' => '#8d8d8d', 'fontFamily' => 'Arial', 'fontSize' => '12px', 'textAlign' => 'center', ], 'link' => [ 'fontColor' => '#ffffff', 'textDecoration' => 'underline', ], ], 'type' => 'header', ], ], ]; } }