PATH:
home
/
lab2454c
/
caimegroup.com
/
wp-content
/
plugins
/
mailpoet
/
lib
/
Config
/
PopulatorData
/
Templates
<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing namespace MailPoet\Config\PopulatorData\Templates; if (!defined('ABSPATH')) exit; class TakeAHike { 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/take_a_hike'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; } public function get() { return [ 'name' => __("Take a Hike", 'mailpoet'), 'categories' => json_encode(['standard', 'all']), 'readonly' => 1, 'thumbnail' => $this->getThumbnail(), 'body' => json_encode($this->getBody()), ]; } private function getBody() { return [ 'content' => [ 'type' => 'container', 'orientation' => 'vertical', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'orientation' => 'horizontal', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'orientation' => 'vertical', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/header.jpg', 'alt' => 'header', 'fullWidth' => true, 'width' => '1320px', 'height' => '483px', 'styles' => [ 'block' => [ 'textAlign' => 'center', ], ], ], 1 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '20px', ], ], ], 2 => [ 'type' => 'text', 'text' => '<p>Hi [subscriber:firstname | default:explorer]</p> <p></p> <p>Aliquam feugiat nisl eget eleifend congue. Nullam neque tellus, elementum vel elit dictum, tempus sagittis nunc. Phasellus quis commodo odio. Vestibulum vitae mi vel quam rhoncus egestas eget vitae eros. </p>', ], 3 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '20px', ], ], ], 4 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => '#843c15', 'height' => '40px', ], ], ], 5 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '20px', ], ], ], ], ], ], ], 1 => [ 'type' => 'container', 'orientation' => 'horizontal', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'orientation' => 'vertical', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'text', 'text' => '<h1><strong>How to plan your hiking route</strong></h1> <p>Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Aliquam dictum urna ac lacus dapibus rhoncus.</p>', ], 1 => [ 'type' => 'button', 'text' => 'Read More', 'url' => 'https://www.google.co.uk', 'styles' => [ 'block' => [ 'backgroundColor' => '#64a1af', 'borderColor' => '#0074a2', 'borderWidth' => '0px', 'borderRadius' => '5px', 'borderStyle' => 'solid', 'width' => '150px', 'lineHeight' => '34px', 'fontColor' => '#ffffff', 'fontFamily' => 'Courier New', 'fontSize' => '18px', 'fontWeight' => 'bold', 'textAlign' => 'left', ], ], ], ], ], 1 => [ 'type' => 'container', 'orientation' => 'vertical', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/map.jpg', 'alt' => 'map', 'fullWidth' => false, 'width' => '330px', 'height' => '227px', 'styles' => [ 'block' => [ 'textAlign' => 'center', ], ], ], ], ], ], ], 2 => [ 'type' => 'container', 'orientation' => 'horizontal', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'orientation' => 'vertical', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '20px', ], ], ], 1 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => '#843c15', 'height' => '40px', ], ], ], 2 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '20px', ], ], ], ], ], ], ], 3 => [ 'type' => 'container', 'orientation' => 'horizontal', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'orientation' => 'vertical', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/boots.jpg', 'alt' => 'boots', 'fullWidth' => false, 'width' => '600px', 'height' => '400px', 'styles' => [ 'block' => [ 'textAlign' => 'center', ], ], ], ], ], 1 => [ 'type' => 'container', 'orientation' => 'vertical', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'text', 'text' => '<h2><strong>Tried & tested: Our favourite walking boots</strong></h2> <p>Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. </p>', ], 1 => [ 'type' => 'button', 'text' => 'See Reviews', 'url' => '', 'styles' => [ 'block' => [ 'backgroundColor' => '#64a1af', 'borderColor' => '#0074a2', 'borderWidth' => '0px', 'borderRadius' => '5px', 'borderStyle' => 'solid', 'width' => '150px', 'lineHeight' => '34px', 'fontColor' => '#ffffff', 'fontFamily' => 'Courier New', 'fontSize' => '18px', 'fontWeight' => 'bold', 'textAlign' => 'left', ], ], ], ], ], ], ], 4 => [ 'type' => 'container', 'orientation' => 'horizontal', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'orientation' => 'vertical', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '20px', ], ], ], 1 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => '#843c15', 'height' => '40px', ], ], ], 2 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '20px', ], ], ], 3 => [ 'type' => 'text', 'text' => '<h3 style="text-align: center;"><strong>Hikers Gallery</strong></h3>', ], ], ], ], ], 5 => [ 'type' => 'container', 'orientation' => 'horizontal', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'orientation' => 'vertical', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/gallery3.jpg', 'alt' => 'gallery3', 'fullWidth' => true, 'width' => '1000px', 'height' => '750px', 'styles' => [ 'block' => [ 'textAlign' => 'center', ], ], ], ], ], 1 => [ 'type' => 'container', 'orientation' => 'vertical', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/gallery1-300x225.jpg', 'alt' => 'gallery1', 'fullWidth' => true, 'width' => '300px', 'height' => '225px', 'styles' => [ 'block' => [ 'textAlign' => 'center', ], ], ], ], ], 2 => [ 'type' => 'container', 'orientation' => 'vertical', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/gallery2-1.jpg', 'alt' => 'gallery2', 'fullWidth' => true, 'width' => '1000px', 'height' => '750px', 'styles' => [ 'block' => [ 'textAlign' => 'center', ], ], ], ], ], ], ], 6 => [ 'type' => 'container', 'orientation' => 'horizontal', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'orientation' => 'vertical', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '20px', ], ], ], 1 => [ 'type' => 'text', 'text' => '<p style="text-align: center;">Edit this to insert text</p>', ], 2 => [ 'type' => 'button', 'text' => 'View More Photos', 'url' => '', 'styles' => [ 'block' => [ 'backgroundColor' => '#64a1af', 'borderColor' => '#0074a2', 'borderWidth' => '0px', 'borderRadius' => '5px', 'borderStyle' => 'solid', 'width' => '214px', 'lineHeight' => '34px', 'fontColor' => '#ffffff', 'fontFamily' => 'Courier New', 'fontSize' => '18px', 'fontWeight' => 'bold', 'textAlign' => 'center', ], ], ], 3 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => '#843c15', 'height' => '40px', ], ], ], 4 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '20px', ], ], ], 5 => [ 'type' => 'text', 'text' => '<h3 style="text-align: center;"><strong>Hiking goes social...</strong></h3>', ], 6 => [ 'type' => 'social', 'iconSet' => 'circles', 'icons' => [ 0 => [ '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 => [ '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 => [ 'type' => 'socialIcon', 'iconType' => 'instagram', 'link' => 'http://instagram.com', 'image' => $this->social_icon_url . '/03-circles/Instagram.png', 'height' => '32px', 'width' => '32px', 'text' => 'Instagram', ], 3 => [ 'type' => 'socialIcon', 'iconType' => 'google-plus', 'link' => 'http://plus.google.com', 'image' => $this->social_icon_url . '/03-circles/Google-Plus.png', 'height' => '32px', 'width' => '32px', 'text' => 'Google Plus', ], 4 => [ 'type' => 'socialIcon', 'iconType' => 'youtube', 'link' => 'http://www.youtube.com', 'image' => $this->social_icon_url . '/03-circles/Youtube.png', 'height' => '32px', 'width' => '32px', 'text' => 'Youtube', ], ], ], 7 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '20px', ], ], ], 8 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => '#843c15', 'height' => '40px', ], ], ], ], ], ], ], 7 => [ 'type' => 'container', 'orientation' => 'horizontal', 'styles' => [ 'block' => [ 'backgroundColor' => '#64a1af', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'orientation' => 'vertical', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '20px', ], ], ], ], ], ], ], 8 => [ 'type' => 'container', 'orientation' => 'horizontal', 'styles' => [ 'block' => [ 'backgroundColor' => '#64a1af', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'orientation' => 'vertical', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'footer', 'text' => '<p><a href="[link:subscription_unsubscribe_url]">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]">' . __("Manage your subscription", 'mailpoet') . '</a></p>', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], 'text' => [ 'fontColor' => '#ffffff', 'fontFamily' => 'Arial', 'fontSize' => '13px', 'textAlign' => 'left', ], 'link' => [ 'fontColor' => '#ffffff', 'textDecoration' => 'underline', ], ], ], ], ], 1 => [ 'type' => 'container', 'orientation' => 'vertical', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'footer', 'text' => '<p>' . __("Add your postal address here!", 'mailpoet') . '</p>', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], 'text' => [ 'fontColor' => '#ffffff', 'fontFamily' => 'Arial', 'fontSize' => '13px', 'textAlign' => 'right', ], 'link' => [ 'fontColor' => '#ffffff', 'textDecoration' => 'underline', ], ], ], ], ], ], ], 9 => [ 'type' => 'container', 'orientation' => 'horizontal', 'styles' => [ 'block' => [ 'backgroundColor' => '#64a1af', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'orientation' => 'vertical', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '20px', ], ], ], ], ], ], ], ], ], 'globalStyles' => [ 'text' => [ 'fontColor' => '#4f230c', 'fontFamily' => 'Arial', 'fontSize' => '16px', ], 'h1' => [ 'fontColor' => '#423c39', 'fontFamily' => 'Courier New', 'fontSize' => '24px', ], 'h2' => [ 'fontColor' => '#265f6d', 'fontFamily' => 'Courier New', 'fontSize' => '24px', ], 'h3' => [ 'fontColor' => '#423c39', 'fontFamily' => 'Courier New', 'fontSize' => '20px', ], 'link' => [ 'fontColor' => '#843c15', 'textDecoration' => 'underline', ], 'wrapper' => [ 'backgroundColor' => '#ffffff', ], 'body' => [ 'backgroundColor' => '#843c15', ], ], ]; } private function getThumbnail() { return $this->template_image_url . '/thumbnail.20190411-1500.jpg'; } }
[-] NewsletterBlank1Column.php
[edit]
[-] Minimal.php
[edit]
[-] PostNotificationsBlank1Column.php
[edit]
[-] WineCity.php
[edit]
[-] AppWelcome.php
[edit]
[-] YogaStudio.php
[edit]
[-] Synagogue.php
[edit]
[-] Poet.php
[edit]
[-] FashionShop.php
[edit]
[-] Fitness.php
[edit]
[-] FoodBox.php
[edit]
[-] Avocado.php
[edit]
[-] ModularStyleStories.php
[edit]
[-] WordPressTheme.php
[edit]
[-] index.php
[edit]
[-] Vlogger.php
[edit]
[-] NewsletterBlank121Column.php
[edit]
[-] Birds.php
[edit]
[+]
..
[-] WideStoryLayout.php
[edit]
[-] ComputerRepair.php
[edit]
[-] College.php
[edit]
[-] GiftWelcome.php
[edit]
[-] WorldCup.php
[edit]
[-] KidsClothing.php
[edit]
[-] NewsDay.php
[edit]
[-] BuddhistTemple.php
[edit]
[-] WelcomeBlank12Column.php
[edit]
[-] TakeAHike.php
[edit]
[-] Painter.php
[edit]
[-] CityLocalNews.php
[edit]
[-] Retro.php
[edit]
[-] NewsletterBlank13Column.php
[edit]
[-] SimpleText.php
[edit]
[-] FlowersWithCoupon.php
[edit]
[-] Motor.php
[edit]
[-] RenewableEnergy.php
[edit]
[-] IndustryConference.php
[edit]
[-] BrandingAgencyNews.php
[edit]
[-] Drone.php
[edit]
[-] FestivalEvent.php
[edit]
[-] LifestyleBlogB.php
[edit]
[-] RetroComputingMagazine.php
[edit]
[-] ConfirmInterestBeforeDeactivation.php
[edit]
[-] Engineering.php
[edit]
[-] Phone.php
[edit]
[-] Guitarist.php
[edit]
[-] Sunglasses.php
[edit]
[-] JazzClub.php
[edit]
[-] DogFood.php
[edit]
[-] RockBand.php
[edit]
[-] ScienceWeekly.php
[edit]
[-] WelcomeBlank1Column.php
[edit]
[-] NewspaperTraditional.php
[edit]
[-] FarmersMarket.php
[edit]
[-] FashionBlogA.php
[edit]
[-] LifestyleBlogA.php
[edit]
[-] Mosque.php
[edit]
[-] RealEstate.php
[edit]
[-] PieceOfCake.php
[edit]
[-] HealthyFoodBlog.php
[edit]
[-] NewsletterBlank12Column.php
[edit]
[-] Charity.php
[edit]
[-] Coffee.php
[edit]
[-] NotSoMedium.php
[edit]
[-] Software.php
[edit]
[-] ClearNews.php
[edit]
[-] FashionStore.php
[edit]
[-] PrimarySchool.php
[edit]
[-] Hotels.php
[edit]
[-] ConfirmInterestOrUnsubscribe.php
[edit]
[-] Music.php
[edit]
[-] FashionBlog.php
[edit]
[-] Photography.php
[edit]
[-] Shoes.php
[edit]
[-] BookStoreWithCoupon.php
[edit]
[-] RssSimpleNews.php
[edit]
[-] Faith.php
[edit]