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' => '
Open this email in your web browser >
', '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' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin placerat feugiat est, malesuada varius sem finibus a. Nunc feugiat sollicitudin gravida.
', ), 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' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin placerat feugiat est, malesuada varius sem finibus a. Nunc feugiat sollicitudin gravida.
', ), 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' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin placerat feugiat est, malesuada varius sem finibus a. Nunc feugiat sollicitudin gravida.
', ), ), ), 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' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin placerat feugiat est, malesuada varius sem finibus a. Nunc feugiat sollicitudin gravida.
', ), ), ), ), ), 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' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.
', ), ), ), 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.
', ), ), ), 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.
', ), ), ), ), ), 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' => 'Unsubscribe | Manage subscription
Add your postal address here!
Unsubscribe | Manage subscription
Add your postal address here!