template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/lifestyle-blog-b'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; } function get() { return array( 'name' => WPFunctions::get()->__("Lifestyle Blog", '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' => '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' => '30px', ), ), ), 1 => array ( 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/WomensLifestyle-Logo-1.png', 'alt' => 'WomensLifestyle-Logo', 'fullWidth' => true, 'width' => '160px', 'height' => '57px', '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' => '20px', ), ), ), 1 => array ( 'type' => 'header', 'text' => '
', 'styles' => array ( 'block' => array ( 'backgroundColor' => 'transparent', ), 'text' => array ( 'fontColor' => '#222222', 'fontFamily' => 'Arial', 'fontSize' => '12px', 'textAlign' => 'right', ), 'link' => array ( 'fontColor' => '#6cb7d4', 'textDecoration' => 'underline', ), ), ), ), ), ), ), 1 => 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' => '30px', ), ), ), ), ), ), ), 2 => array ( 'type' => 'container', 'columnLayout' => false, 'orientation' => 'horizontal', 'image' => array ( 'src' => $this->template_image_url . '/WomensLifestyle-Header.jpg', 'display' => 'scale', ), 'styles' => array ( 'block' => array ( 'backgroundColor' => '#b25187', ), ), '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' => '440px', ), ), ), 1 => array ( 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/WomensLifestyle-HeaderDrop.jpg', 'alt' => 'WomensLifestyle-HeaderDrop', 'fullWidth' => true, 'width' => '900px', 'height' => '61px', 'styles' => array ( 'block' => array ( 'textAlign' => 'center', ), ), ), ), ), ), ), 3 => 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' => 'text', 'text' => 'FEATURED ARTICLE THIS MONTH
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam non est sed tellus pharetra facilisis quis vel lacus.
', ), ), ), 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' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam non est sed tellus pharetra facilisis quis vel lacus.
', ), ), ), 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' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam non est sed tellus pharetra facilisis quis vel lacus.
', ), ), ), ), ), 5 => 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' => '23px', ), ), ), 1 => array ( 'type' => 'button', 'text' => 'Read the article', 'url' => '', 'styles' => array ( 'block' => array ( 'backgroundColor' => '#b25088', 'borderColor' => '#0074a2', 'borderWidth' => '0px', 'borderRadius' => '0px', 'borderStyle' => 'solid', 'width' => '180px', 'lineHeight' => '50px', 'fontColor' => '#ffffff', 'fontFamily' => 'Arial', 'fontSize' => '16px', 'fontWeight' => 'bold', 'textAlign' => 'center', ), ), ), 2 => array ( 'type' => 'spacer', 'styles' => array ( 'block' => array ( 'backgroundColor' => 'transparent', 'height' => '21px', ), ), ), ), ), ), ), 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' => 'image', 'link' => '', 'src' => $this->template_image_url . '/WomensLifestyle-Image-1.jpg', 'alt' => 'WomensLifestyle-Image-1', 'fullWidth' => true, 'width' => '400px', 'height' => '400px', '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' => '71px', ), ), ), 1 => array ( 'type' => 'text', 'text' => 'PODCASTS
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam non est sed tellus pharetra facilisis quis vel lacus.
', ), ), ), ), ), 7 => 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' => '30px', ), ), ), ), ), ), ), 8 => 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' => '71px', ), ), ), 1 => array ( 'type' => 'text', 'text' => 'PSYCHOLOGY
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam non est sed tellus pharetra facilisis quis vel lacus.
', ), ), ), 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 . '/WomensLifestyle-Image-2.jpg', 'alt' => 'WomensLifestyle-Image-2', 'fullWidth' => true, 'width' => '400px', 'height' => '400px', 'styles' => array ( 'block' => array ( 'textAlign' => 'center', ), ), ), ), ), ), ), 9 => 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' => '30px', ), ), ), ), ), ), ), 10 => 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' => 'image', 'link' => '', 'src' => $this->template_image_url . '/WomensLifestyle-Image-3.jpg', 'alt' => 'WomensLifestyle-Image-3', 'fullWidth' => true, 'width' => '400px', 'height' => '400px', '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' => '71px', ), ), ), 1 => array ( 'type' => 'text', 'text' => 'TECHNOLOGY
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam non est sed tellus pharetra facilisis quis vel lacus.
', ), ), ), ), ), 11 => 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' => '50px', ), ), ), ), ), ), ), 12 => 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' => 'image', 'link' => '', 'src' => $this->template_image_url . '/WomensLifestyle-Logo-1.png', 'alt' => 'WomensLifestyle-Logo', 'fullWidth' => false, 'width' => '112px', 'height' => '57px', 'styles' => array ( 'block' => array ( 'textAlign' => 'center', ), ), ), 1 => array ( 'type' => 'social', 'iconSet' => 'circles', 'icons' => array ( 0 => array ( 'type' => 'socialIcon', 'iconType' => 'facebook', 'link' => 'http://www.facebook.com', 'image' => $this->social_icon_url.'/03-circles/Facebook.png', 'height' => '32px', 'width' => '32px', 'text' => 'Facebook', ), 1 => array ( 'type' => 'socialIcon', 'iconType' => 'twitter', 'link' => 'http://www.twitter.com', 'image' => $this->social_icon_url.'/03-circles/Twitter.png', 'height' => '32px', 'width' => '32px', 'text' => 'Twitter', ), 2 => array ( 'type' => 'socialIcon', 'iconType' => 'website', 'link' => '', 'image' => $this->social_icon_url.'/03-circles/Website.png', 'height' => '32px', 'width' => '32px', 'text' => 'Website', ), 3 => array ( 'type' => 'socialIcon', 'iconType' => 'pinterest', 'link' => 'http://www.pinterest.com', 'image' => $this->social_icon_url.'/03-circles/Pinterest.png', 'height' => '32px', 'width' => '32px', 'text' => 'Pinterest', ), ), ), 2 => array ( 'type' => 'footer', 'text' => 'Unsubscribe | Manage subscription
Add your postal address here!
Unsubscribe | Manage subscription
Add your postal address here!