Update template data
[MAILPOET-1558]
This commit is contained in:
@ -31,6 +31,7 @@ class ModularStyleStories {
|
|||||||
'content' =>
|
'content' =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -49,6 +50,7 @@ class ModularStyleStories {
|
|||||||
0 =>
|
0 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -67,6 +69,7 @@ class ModularStyleStories {
|
|||||||
0 =>
|
0 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -101,6 +104,7 @@ class ModularStyleStories {
|
|||||||
1 =>
|
1 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -119,6 +123,7 @@ class ModularStyleStories {
|
|||||||
0 =>
|
0 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -150,7 +155,7 @@ class ModularStyleStories {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'src' => $this->template_image_url . '/Modular-Logo.png',
|
'src' => 'http://mailpoet.info/wp-content/uploads/2017/08/Modular-Logo.png',
|
||||||
'alt' => 'Modular-Logo',
|
'alt' => 'Modular-Logo',
|
||||||
'fullWidth' => false,
|
'fullWidth' => false,
|
||||||
'width' => '271px',
|
'width' => '271px',
|
||||||
@ -168,6 +173,7 @@ class ModularStyleStories {
|
|||||||
1 =>
|
1 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -206,7 +212,7 @@ class ModularStyleStories {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'facebook',
|
'iconType' => 'facebook',
|
||||||
'link' => 'http://www.facebook.com',
|
'link' => 'http://www.facebook.com',
|
||||||
'image' => $this->social_icon_url . '/06-full-symbol-color/Facebook.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/06-full-symbol-color/Facebook.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Facebook',
|
'text' => 'Facebook',
|
||||||
@ -216,7 +222,7 @@ class ModularStyleStories {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'twitter',
|
'iconType' => 'twitter',
|
||||||
'link' => 'http://www.twitter.com',
|
'link' => 'http://www.twitter.com',
|
||||||
'image' => $this->social_icon_url . '/06-full-symbol-color/Twitter.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/06-full-symbol-color/Twitter.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Twitter',
|
'text' => 'Twitter',
|
||||||
@ -226,7 +232,7 @@ class ModularStyleStories {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'instagram',
|
'iconType' => 'instagram',
|
||||||
'link' => 'http://instagram.com',
|
'link' => 'http://instagram.com',
|
||||||
'image' => $this->social_icon_url . '/06-full-symbol-color/Instagram.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/06-full-symbol-color/Instagram.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Instagram',
|
'text' => 'Instagram',
|
||||||
@ -236,7 +242,7 @@ class ModularStyleStories {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'pinterest',
|
'iconType' => 'pinterest',
|
||||||
'link' => 'http://www.pinterest.com',
|
'link' => 'http://www.pinterest.com',
|
||||||
'image' => $this->social_icon_url . '/06-full-symbol-color/Pinterest.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/06-full-symbol-color/Pinterest.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Pinterest',
|
'text' => 'Pinterest',
|
||||||
@ -250,6 +256,7 @@ class ModularStyleStories {
|
|||||||
2 =>
|
2 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -260,7 +267,7 @@ class ModularStyleStories {
|
|||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
array (
|
array (
|
||||||
'backgroundColor' => '#b956c5',
|
'backgroundColor' => 'transparent',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'blocks' =>
|
'blocks' =>
|
||||||
@ -268,6 +275,7 @@ class ModularStyleStories {
|
|||||||
0 =>
|
0 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -291,97 +299,86 @@ class ModularStyleStories {
|
|||||||
'block' =>
|
'block' =>
|
||||||
array (
|
array (
|
||||||
'backgroundColor' => '#efe7f0',
|
'backgroundColor' => '#efe7f0',
|
||||||
'height' => '20px',
|
'height' => '40px',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
1 =>
|
|
||||||
array (
|
|
||||||
'type' => 'spacer',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
'height' => '20px',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
2 =>
|
|
||||||
array (
|
|
||||||
'type' => 'automatedLatestContent',
|
|
||||||
'withLayout' => false,
|
|
||||||
'amount' => '1',
|
|
||||||
'contentType' => 'post',
|
|
||||||
'terms' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'inclusionType' => 'include',
|
|
||||||
'displayType' => 'excerpt',
|
|
||||||
'titleFormat' => 'h3',
|
|
||||||
'titleAlignment' => 'left',
|
|
||||||
'titleIsLink' => false,
|
|
||||||
'imageFullWidth' => true,
|
|
||||||
'featuredImagePosition' => 'aboveTitle',
|
|
||||||
'showAuthor' => 'no',
|
|
||||||
'authorPrecededBy' => 'Author:',
|
|
||||||
'showCategories' => 'no',
|
|
||||||
'categoriesPrecededBy' => 'Categories:',
|
|
||||||
'readMoreType' => 'button',
|
|
||||||
'readMoreText' => 'Read more',
|
|
||||||
'readMoreButton' =>
|
|
||||||
array (
|
|
||||||
'type' => 'button',
|
|
||||||
'text' => 'Read more',
|
|
||||||
'url' => '[postLink]',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => '#ffffff',
|
|
||||||
'borderColor' => '#0074a2',
|
|
||||||
'borderWidth' => '0px',
|
|
||||||
'borderRadius' => '0px',
|
|
||||||
'borderStyle' => 'solid',
|
|
||||||
'width' => '116px',
|
|
||||||
'lineHeight' => '40px',
|
|
||||||
'fontColor' => '#b956c5',
|
|
||||||
'fontFamily' => 'Arial',
|
|
||||||
'fontSize' => '18px',
|
|
||||||
'fontWeight' => 'normal',
|
|
||||||
'textAlign' => 'center',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'context' => 'automatedLatestContent.readMoreButton',
|
|
||||||
),
|
|
||||||
'sortBy' => 'newest',
|
|
||||||
'showDivider' => true,
|
|
||||||
'divider' =>
|
|
||||||
array (
|
|
||||||
'type' => 'divider',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
'padding' => '13px',
|
|
||||||
'borderStyle' => 'solid',
|
|
||||||
'borderWidth' => '3px',
|
|
||||||
'borderColor' => '#aaaaaa',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'context' => 'automatedLatestContent.divider',
|
|
||||||
),
|
|
||||||
'backgroundColor' => '#ffffff',
|
|
||||||
'backgroundColorAlternate' => '#eeeeee',
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
3 =>
|
3 =>
|
||||||
|
array (
|
||||||
|
'type' => 'automatedLatestContentLayout',
|
||||||
|
'withLayout' => true,
|
||||||
|
'amount' => '3',
|
||||||
|
'contentType' => 'post',
|
||||||
|
'terms' =>
|
||||||
|
array (
|
||||||
|
),
|
||||||
|
'inclusionType' => 'include',
|
||||||
|
'displayType' => 'excerpt',
|
||||||
|
'titleFormat' => 'h3',
|
||||||
|
'titleAlignment' => 'left',
|
||||||
|
'titleIsLink' => false,
|
||||||
|
'imageFullWidth' => false,
|
||||||
|
'featuredImagePosition' => 'alternate',
|
||||||
|
'showAuthor' => 'no',
|
||||||
|
'authorPrecededBy' => 'Author:',
|
||||||
|
'showCategories' => 'no',
|
||||||
|
'categoriesPrecededBy' => 'Categories:',
|
||||||
|
'readMoreType' => 'button',
|
||||||
|
'readMoreText' => 'Read more',
|
||||||
|
'readMoreButton' =>
|
||||||
|
array (
|
||||||
|
'type' => 'button',
|
||||||
|
'text' => 'Read more',
|
||||||
|
'url' => '[postLink]',
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => '#ffffff',
|
||||||
|
'borderColor' => '#ffffff',
|
||||||
|
'borderWidth' => '1px',
|
||||||
|
'borderRadius' => '0px',
|
||||||
|
'borderStyle' => 'solid',
|
||||||
|
'width' => '120px',
|
||||||
|
'lineHeight' => '40px',
|
||||||
|
'fontColor' => '#b956c5',
|
||||||
|
'fontFamily' => 'Verdana',
|
||||||
|
'fontSize' => '18px',
|
||||||
|
'fontWeight' => 'normal',
|
||||||
|
'textAlign' => 'center',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'context' => 'automatedLatestContentLayout.readMoreButton',
|
||||||
|
),
|
||||||
|
'sortBy' => 'newest',
|
||||||
|
'showDivider' => true,
|
||||||
|
'divider' =>
|
||||||
|
array (
|
||||||
|
'type' => 'divider',
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => 'transparent',
|
||||||
|
'padding' => '13px',
|
||||||
|
'borderStyle' => 'dashed',
|
||||||
|
'borderWidth' => '3px',
|
||||||
|
'borderColor' => '#efe7f0',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'context' => 'automatedLatestContentLayout.divider',
|
||||||
|
),
|
||||||
|
'backgroundColor' => '#ffffff',
|
||||||
|
'backgroundColorAlternate' => '#eeeeee',
|
||||||
|
),
|
||||||
|
4 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -400,6 +397,7 @@ class ModularStyleStories {
|
|||||||
0 =>
|
0 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -422,7 +420,7 @@ class ModularStyleStories {
|
|||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
array (
|
array (
|
||||||
'backgroundColor' => 'transparent',
|
'backgroundColor' => '#efe7f0',
|
||||||
'height' => '40px',
|
'height' => '40px',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -431,9 +429,10 @@ class ModularStyleStories {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
4 =>
|
5 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -452,6 +451,7 @@ class ModularStyleStories {
|
|||||||
0 =>
|
0 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -471,7 +471,7 @@ class ModularStyleStories {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => 'http://mailpoet.info/ladybirds-transparent-shell-reveals-how-it-folds-its-wings/',
|
'link' => 'http://mailpoet.info/ladybirds-transparent-shell-reveals-how-it-folds-its-wings/',
|
||||||
'src' => $this->template_image_url . '/gettyimages-578313682-800x533.jpg',
|
'src' => 'http://mailpoet.info/wp-content/uploads/2017/05/gettyimages-578313682-800x533.jpg',
|
||||||
'alt' => 'Ladybird’s transparent shell reveals how it folds its wings',
|
'alt' => 'Ladybird’s transparent shell reveals how it folds its wings',
|
||||||
'fullWidth' => false,
|
'fullWidth' => false,
|
||||||
'width' => 660,
|
'width' => 660,
|
||||||
@ -519,6 +519,7 @@ class ModularStyleStories {
|
|||||||
1 =>
|
1 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -538,7 +539,7 @@ class ModularStyleStories {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => 'http://mailpoet.info/plasma-jet-engines-that-could-take-you-from-the-ground-to-space/',
|
'link' => 'http://mailpoet.info/plasma-jet-engines-that-could-take-you-from-the-ground-to-space/',
|
||||||
'src' => $this->template_image_url . '/plasma-stingray111-800x533.jpg',
|
'src' => 'http://mailpoet.info/wp-content/uploads/2017/05/plasma-stingray111-800x533.jpg',
|
||||||
'alt' => 'Plasma jet engines that could take you from the ground to space',
|
'alt' => 'Plasma jet engines that could take you from the ground to space',
|
||||||
'fullWidth' => false,
|
'fullWidth' => false,
|
||||||
'width' => 660,
|
'width' => 660,
|
||||||
@ -585,9 +586,10 @@ class ModularStyleStories {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
5 =>
|
6 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -598,7 +600,7 @@ class ModularStyleStories {
|
|||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
array (
|
array (
|
||||||
'backgroundColor' => 'transparent',
|
'backgroundColor' => '#efe7f0',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'blocks' =>
|
'blocks' =>
|
||||||
@ -606,6 +608,7 @@ class ModularStyleStories {
|
|||||||
0 =>
|
0 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -637,9 +640,10 @@ class ModularStyleStories {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
6 =>
|
7 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -650,7 +654,7 @@ class ModularStyleStories {
|
|||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
array (
|
array (
|
||||||
'backgroundColor' => 'transparent',
|
'backgroundColor' => '#efe7f0',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'blocks' =>
|
'blocks' =>
|
||||||
@ -658,6 +662,7 @@ class ModularStyleStories {
|
|||||||
0 =>
|
0 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -677,7 +682,7 @@ class ModularStyleStories {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => 'http://mailpoet.info/cutting-through-the-smog-what-to-do-to-fight-air-pollution/',
|
'link' => 'http://mailpoet.info/cutting-through-the-smog-what-to-do-to-fight-air-pollution/',
|
||||||
'src' => $this->template_image_url . '/5_what_to_do_p352m1141746-800x533.jpg',
|
'src' => 'http://mailpoet.info/wp-content/uploads/2017/05/5_what_to_do_p352m1141746-800x533.jpg',
|
||||||
'alt' => 'Cutting through the smog: What to do to fight air pollution',
|
'alt' => 'Cutting through the smog: What to do to fight air pollution',
|
||||||
'fullWidth' => false,
|
'fullWidth' => false,
|
||||||
'width' => 660,
|
'width' => 660,
|
||||||
@ -724,6 +729,7 @@ class ModularStyleStories {
|
|||||||
1 =>
|
1 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -743,7 +749,7 @@ class ModularStyleStories {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => 'http://mailpoet.info/ladybirds-transparent-shell-reveals-how-it-folds-its-wings/',
|
'link' => 'http://mailpoet.info/ladybirds-transparent-shell-reveals-how-it-folds-its-wings/',
|
||||||
'src' => $this->template_image_url . '/gettyimages-578313682-800x533.jpg',
|
'src' => 'http://mailpoet.info/wp-content/uploads/2017/05/gettyimages-578313682-800x533.jpg',
|
||||||
'alt' => 'Ladybird’s transparent shell reveals how it folds its wings',
|
'alt' => 'Ladybird’s transparent shell reveals how it folds its wings',
|
||||||
'fullWidth' => false,
|
'fullWidth' => false,
|
||||||
'width' => 660,
|
'width' => 660,
|
||||||
@ -790,6 +796,7 @@ class ModularStyleStories {
|
|||||||
2 =>
|
2 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -809,7 +816,7 @@ class ModularStyleStories {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => 'http://mailpoet.info/plasma-jet-engines-that-could-take-you-from-the-ground-to-space/',
|
'link' => 'http://mailpoet.info/plasma-jet-engines-that-could-take-you-from-the-ground-to-space/',
|
||||||
'src' => $this->template_image_url . '/plasma-stingray111-800x533.jpg',
|
'src' => 'http://mailpoet.info/wp-content/uploads/2017/05/plasma-stingray111-800x533.jpg',
|
||||||
'alt' => 'Plasma jet engines that could take you from the ground to space',
|
'alt' => 'Plasma jet engines that could take you from the ground to space',
|
||||||
'fullWidth' => false,
|
'fullWidth' => false,
|
||||||
'width' => 660,
|
'width' => 660,
|
||||||
@ -855,9 +862,10 @@ class ModularStyleStories {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
7 =>
|
8 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -868,7 +876,7 @@ class ModularStyleStories {
|
|||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
array (
|
array (
|
||||||
'backgroundColor' => 'transparent',
|
'backgroundColor' => '#efe7f0',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'blocks' =>
|
'blocks' =>
|
||||||
@ -876,6 +884,7 @@ class ModularStyleStories {
|
|||||||
0 =>
|
0 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -907,9 +916,10 @@ class ModularStyleStories {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
8 =>
|
9 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -928,6 +938,7 @@ class ModularStyleStories {
|
|||||||
0 =>
|
0 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -966,7 +977,7 @@ class ModularStyleStories {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'facebook',
|
'iconType' => 'facebook',
|
||||||
'link' => 'http://www.facebook.com',
|
'link' => 'http://www.facebook.com',
|
||||||
'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/08-full-symbol-grey/Facebook.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Facebook',
|
'text' => 'Facebook',
|
||||||
@ -976,7 +987,7 @@ class ModularStyleStories {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'twitter',
|
'iconType' => 'twitter',
|
||||||
'link' => 'http://www.twitter.com',
|
'link' => 'http://www.twitter.com',
|
||||||
'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/08-full-symbol-grey/Twitter.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Twitter',
|
'text' => 'Twitter',
|
||||||
@ -986,7 +997,7 @@ class ModularStyleStories {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'website',
|
'iconType' => 'website',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'image' => $this->social_icon_url . '/08-full-symbol-grey/Website.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/08-full-symbol-grey/Website.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Website',
|
'text' => 'Website',
|
||||||
@ -996,7 +1007,7 @@ class ModularStyleStories {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'instagram',
|
'iconType' => 'instagram',
|
||||||
'link' => 'http://instagram.com',
|
'link' => 'http://instagram.com',
|
||||||
'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/08-full-symbol-grey/Instagram.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Instagram',
|
'text' => 'Instagram',
|
||||||
@ -1055,15 +1066,15 @@ class ModularStyleStories {
|
|||||||
),
|
),
|
||||||
'h1' =>
|
'h1' =>
|
||||||
array (
|
array (
|
||||||
'fontColor' => '#111111',
|
'fontColor' => '#ffffff',
|
||||||
'fontFamily' => 'Arial',
|
'fontFamily' => 'Arial',
|
||||||
'fontSize' => '26px',
|
'fontSize' => '30px',
|
||||||
),
|
),
|
||||||
'h2' =>
|
'h2' =>
|
||||||
array (
|
array (
|
||||||
'fontColor' => '#222222',
|
'fontColor' => '#ffffff',
|
||||||
'fontFamily' => 'Arial',
|
'fontFamily' => 'Arial',
|
||||||
'fontSize' => '22px',
|
'fontSize' => '26px',
|
||||||
),
|
),
|
||||||
'h3' =>
|
'h3' =>
|
||||||
array (
|
array (
|
||||||
@ -1078,7 +1089,7 @@ class ModularStyleStories {
|
|||||||
),
|
),
|
||||||
'wrapper' =>
|
'wrapper' =>
|
||||||
array (
|
array (
|
||||||
'backgroundColor' => '#efe7f0',
|
'backgroundColor' => '#b956c5',
|
||||||
),
|
),
|
||||||
'body' =>
|
'body' =>
|
||||||
array (
|
array (
|
||||||
@ -1089,11 +1100,11 @@ class ModularStyleStories {
|
|||||||
array (
|
array (
|
||||||
'automatedLatestContent' =>
|
'automatedLatestContent' =>
|
||||||
array (
|
array (
|
||||||
'amount' => '1',
|
'amount' => '2',
|
||||||
'contentType' => 'post',
|
'contentType' => 'post',
|
||||||
'inclusionType' => 'include',
|
'inclusionType' => 'include',
|
||||||
'displayType' => 'excerpt',
|
'displayType' => 'excerpt',
|
||||||
'titleFormat' => 'h3',
|
'titleFormat' => 'h2',
|
||||||
'titleAlignment' => 'left',
|
'titleAlignment' => 'left',
|
||||||
'titleIsLink' => false,
|
'titleIsLink' => false,
|
||||||
'imageFullWidth' => true,
|
'imageFullWidth' => true,
|
||||||
@ -1140,9 +1151,9 @@ class ModularStyleStories {
|
|||||||
array (
|
array (
|
||||||
'backgroundColor' => 'transparent',
|
'backgroundColor' => 'transparent',
|
||||||
'padding' => '13px',
|
'padding' => '13px',
|
||||||
'borderStyle' => 'solid',
|
'borderStyle' => 'dashed',
|
||||||
'borderWidth' => '3px',
|
'borderWidth' => '3px',
|
||||||
'borderColor' => '#aaaaaa',
|
'borderColor' => '#ffffff',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'type' => 'divider',
|
'type' => 'divider',
|
||||||
@ -1153,15 +1164,16 @@ class ModularStyleStories {
|
|||||||
'terms' =>
|
'terms' =>
|
||||||
array (
|
array (
|
||||||
),
|
),
|
||||||
|
'withLayout' => false,
|
||||||
),
|
),
|
||||||
'automatedLatestContentLayout' =>
|
'automatedLatestContentLayout' =>
|
||||||
array (
|
array (
|
||||||
'amount' => '5',
|
'amount' => '3',
|
||||||
'withLayout' => true,
|
'withLayout' => true,
|
||||||
'contentType' => 'post',
|
'contentType' => 'post',
|
||||||
'inclusionType' => 'include',
|
'inclusionType' => 'include',
|
||||||
'displayType' => 'excerpt',
|
'displayType' => 'excerpt',
|
||||||
'titleFormat' => 'h1',
|
'titleFormat' => 'h3',
|
||||||
'titleAlignment' => 'left',
|
'titleAlignment' => 'left',
|
||||||
'titleIsLink' => false,
|
'titleIsLink' => false,
|
||||||
'imageFullWidth' => false,
|
'imageFullWidth' => false,
|
||||||
@ -1181,20 +1193,21 @@ class ModularStyleStories {
|
|||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
array (
|
array (
|
||||||
'backgroundColor' => '#2ea1cd',
|
'backgroundColor' => '#ffffff',
|
||||||
'borderColor' => '#0074a2',
|
'borderColor' => '#ffffff',
|
||||||
'borderWidth' => '1px',
|
'borderWidth' => '1px',
|
||||||
'borderRadius' => '5px',
|
'borderRadius' => '0px',
|
||||||
'borderStyle' => 'solid',
|
'borderStyle' => 'solid',
|
||||||
'width' => '180px',
|
'width' => '120px',
|
||||||
'lineHeight' => '40px',
|
'lineHeight' => '40px',
|
||||||
'fontColor' => '#ffffff',
|
'fontColor' => '#b956c5',
|
||||||
'fontFamily' => 'Verdana',
|
'fontFamily' => 'Verdana',
|
||||||
'fontSize' => '18px',
|
'fontSize' => '18px',
|
||||||
'fontWeight' => 'normal',
|
'fontWeight' => 'normal',
|
||||||
'textAlign' => 'center',
|
'textAlign' => 'center',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'type' => 'button',
|
||||||
),
|
),
|
||||||
'sortBy' => 'newest',
|
'sortBy' => 'newest',
|
||||||
'showDivider' => true,
|
'showDivider' => true,
|
||||||
@ -1207,14 +1220,19 @@ class ModularStyleStories {
|
|||||||
array (
|
array (
|
||||||
'backgroundColor' => 'transparent',
|
'backgroundColor' => 'transparent',
|
||||||
'padding' => '13px',
|
'padding' => '13px',
|
||||||
'borderStyle' => 'solid',
|
'borderStyle' => 'dashed',
|
||||||
'borderWidth' => '3px',
|
'borderWidth' => '3px',
|
||||||
'borderColor' => '#aaaaaa',
|
'borderColor' => '#efe7f0',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'type' => 'divider',
|
||||||
),
|
),
|
||||||
'backgroundColor' => '#ffffff',
|
'backgroundColor' => '#ffffff',
|
||||||
'backgroundColorAlternate' => '#eeeeee',
|
'backgroundColorAlternate' => '#eeeeee',
|
||||||
|
'type' => 'automatedLatestContentLayout',
|
||||||
|
'terms' =>
|
||||||
|
array (
|
||||||
|
),
|
||||||
),
|
),
|
||||||
'button' =>
|
'button' =>
|
||||||
array (
|
array (
|
||||||
@ -1240,6 +1258,16 @@ class ModularStyleStories {
|
|||||||
),
|
),
|
||||||
'type' => 'button',
|
'type' => 'button',
|
||||||
),
|
),
|
||||||
|
'container' =>
|
||||||
|
array (
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => 'transparent',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
'divider' =>
|
'divider' =>
|
||||||
array (
|
array (
|
||||||
'styles' =>
|
'styles' =>
|
||||||
@ -1358,7 +1386,7 @@ class ModularStyleStories {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'facebook',
|
'iconType' => 'facebook',
|
||||||
'link' => 'http://www.facebook.com',
|
'link' => 'http://www.facebook.com',
|
||||||
'image' => $this->social_icon_url . '/01-social/Facebook.png?mailpoet_version=3.7.1',
|
'image' => 'https://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/01-social/Facebook.png?mailpoet_version=3.7.1',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Facebook',
|
'text' => 'Facebook',
|
||||||
@ -1368,7 +1396,7 @@ class ModularStyleStories {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'twitter',
|
'iconType' => 'twitter',
|
||||||
'link' => 'http://www.twitter.com',
|
'link' => 'http://www.twitter.com',
|
||||||
'image' => $this->social_icon_url . '/01-social/Twitter.png?mailpoet_version=3.7.1',
|
'image' => 'https://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/01-social/Twitter.png?mailpoet_version=3.7.1',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Twitter',
|
'text' => 'Twitter',
|
||||||
@ -1381,10 +1409,11 @@ class ModularStyleStories {
|
|||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
array (
|
array (
|
||||||
'backgroundColor' => 'transparent',
|
'backgroundColor' => '#efe7f0',
|
||||||
'height' => '40px',
|
'height' => '40px',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'type' => 'spacer',
|
||||||
),
|
),
|
||||||
'header' =>
|
'header' =>
|
||||||
array (
|
array (
|
||||||
|
@ -31,6 +31,7 @@ class NotSoMedium {
|
|||||||
'content' =>
|
'content' =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -49,6 +50,7 @@ class NotSoMedium {
|
|||||||
0 =>
|
0 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -67,6 +69,7 @@ class NotSoMedium {
|
|||||||
0 =>
|
0 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -101,6 +104,7 @@ class NotSoMedium {
|
|||||||
1 =>
|
1 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -119,6 +123,7 @@ class NotSoMedium {
|
|||||||
0 =>
|
0 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -138,7 +143,7 @@ class NotSoMedium {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'src' => $this->template_image_url . '/Not-So-Medium-Logo.png',
|
'src' => 'http://mailpoet.info/wp-content/uploads/2017/08/Not-So-Medium-Logo.png',
|
||||||
'alt' => 'Not-So-Medium-Logo',
|
'alt' => 'Not-So-Medium-Logo',
|
||||||
'fullWidth' => false,
|
'fullWidth' => false,
|
||||||
'width' => '210px',
|
'width' => '210px',
|
||||||
@ -156,6 +161,7 @@ class NotSoMedium {
|
|||||||
1 =>
|
1 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -188,6 +194,7 @@ class NotSoMedium {
|
|||||||
2 =>
|
2 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -226,7 +233,7 @@ class NotSoMedium {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'facebook',
|
'iconType' => 'facebook',
|
||||||
'link' => 'http://www.facebook.com',
|
'link' => 'http://www.facebook.com',
|
||||||
'image' => $this->social_icon_url . '/07-full-symbol-black/Facebook.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Facebook.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Facebook',
|
'text' => 'Facebook',
|
||||||
@ -236,7 +243,7 @@ class NotSoMedium {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'twitter',
|
'iconType' => 'twitter',
|
||||||
'link' => 'http://www.twitter.com',
|
'link' => 'http://www.twitter.com',
|
||||||
'image' => $this->social_icon_url . '/07-full-symbol-black/Twitter.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Twitter.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Twitter',
|
'text' => 'Twitter',
|
||||||
@ -246,7 +253,7 @@ class NotSoMedium {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'website',
|
'iconType' => 'website',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'image' => $this->social_icon_url . '/07-full-symbol-black/Website.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Website.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Website',
|
'text' => 'Website',
|
||||||
@ -260,6 +267,7 @@ class NotSoMedium {
|
|||||||
2 =>
|
2 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -278,6 +286,7 @@ class NotSoMedium {
|
|||||||
0 =>
|
0 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -323,172 +332,94 @@ class NotSoMedium {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
3 =>
|
||||||
|
array (
|
||||||
|
'type' => 'spacer',
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => '#ffffff',
|
||||||
|
'height' => '63px',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
3 =>
|
3 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'automatedLatestContentLayout',
|
||||||
'orientation' => 'horizontal',
|
'withLayout' => true,
|
||||||
'image' =>
|
'amount' => '1',
|
||||||
|
'contentType' => 'post',
|
||||||
|
'terms' =>
|
||||||
array (
|
array (
|
||||||
'src' => NULL,
|
|
||||||
'display' => 'scale',
|
|
||||||
),
|
),
|
||||||
'styles' =>
|
'inclusionType' => 'include',
|
||||||
|
'displayType' => 'full',
|
||||||
|
'titleFormat' => 'h1',
|
||||||
|
'titleAlignment' => 'center',
|
||||||
|
'titleIsLink' => true,
|
||||||
|
'imageFullWidth' => false,
|
||||||
|
'featuredImagePosition' => 'alternate',
|
||||||
|
'showAuthor' => 'aboveText',
|
||||||
|
'authorPrecededBy' => 'Author:',
|
||||||
|
'showCategories' => 'aboveText',
|
||||||
|
'categoriesPrecededBy' => 'Categories:',
|
||||||
|
'readMoreType' => 'link',
|
||||||
|
'readMoreText' => 'View this post online & share!',
|
||||||
|
'readMoreButton' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'type' => 'button',
|
||||||
|
'text' => 'Read more',
|
||||||
|
'url' => '[postLink]',
|
||||||
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'backgroundColor' => 'transparent',
|
'block' =>
|
||||||
),
|
|
||||||
),
|
|
||||||
'blocks' =>
|
|
||||||
array (
|
|
||||||
0 =>
|
|
||||||
array (
|
|
||||||
'type' => 'container',
|
|
||||||
'orientation' => 'vertical',
|
|
||||||
'image' =>
|
|
||||||
array (
|
array (
|
||||||
'src' => NULL,
|
'backgroundColor' => '#2ea1cd',
|
||||||
'display' => 'scale',
|
'borderColor' => '#0074a2',
|
||||||
),
|
'borderWidth' => '1px',
|
||||||
'styles' =>
|
'borderRadius' => '5px',
|
||||||
array (
|
'borderStyle' => 'solid',
|
||||||
'block' =>
|
'width' => '180px',
|
||||||
array (
|
'lineHeight' => '40px',
|
||||||
'backgroundColor' => 'transparent',
|
'fontColor' => '#ffffff',
|
||||||
),
|
'fontFamily' => 'Verdana',
|
||||||
),
|
'fontSize' => '18px',
|
||||||
'blocks' =>
|
'fontWeight' => 'normal',
|
||||||
array (
|
'textAlign' => 'center',
|
||||||
0 =>
|
|
||||||
array (
|
|
||||||
'type' => 'spacer',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
'height' => '35px',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
1 =>
|
|
||||||
array (
|
|
||||||
'type' => 'text',
|
|
||||||
'text' => '<h1 style="text-align: left; line-height: 34px;" data-post-id="2130"><span style="color: #333333;"><strong>Science busts the biggest myth ever about why bridges collapse</strong></span></h1>
|
|
||||||
<blockquote class="graf graf--blockquote graf--startsWithDoubleQuote graf--leading">
|
|
||||||
<p class="mailpoet_wp_post"><span style="color: #808080;"><em class="markup--em markup--blockquote-em">“At least six lamp posts were snapped off while I watched. A few minutes later, I saw a side girder bulge out. But, though the bridge was bucking up at an angle of 45 degrees, I thought she would be able to fight it out. But, that wasn’t to be.” -</em>Bert Farquharson</span></p>
|
|
||||||
</blockquote>
|
|
||||||
<p class="graf graf--p graf-after--blockquote"><span style="color: #333333;">The collapse of the Tacoma Narrows Bridge on the morning of November 7, 1940, is the most iconic example of a spectacular bridge failure in modern times. As the third largest suspension bridge in the world, behind only the George Washington and Golden Gate bridges, it connected Tacoma to the entire Kitsap Peninsula in Puget Sound, and opened to the public on July 1st, 1940. Just four months later, under the right wind conditions, the bridge was driven at its resonant frequency, causing it to oscillate and twist uncontrollably. After undulating for over an hour, the middle section collapsed, and the bridge was destroyed. It was a testimony to the power of resonance, and has been used as a classic example in physics and engineering classes across the country ever since. Unfortunately, the story is a complete myth.</span></p>
|
|
||||||
<p class="mailpoet_wp_post"><span style="color: #333333;">Every physical system or object has a frequency that’s naturally inherent to it: its resonant frequency. A swing, for example, has a certain frequency you can drive it at; as a child you learn to pump yourself in time with the swing. Pump too slowly or too quickly, and you’ll never build up speed, but if you pump at just the right rate, you can swing as high as your muscles will take you. Resonant frequencies can also be disastrous if you build up too much vibrational energy in a system that can’t handle it, which is how sound alone at just the right pitch is capable of causing a wine glass to shatter.</span></p>',
|
|
||||||
),
|
|
||||||
2 =>
|
|
||||||
array (
|
|
||||||
'type' => 'image',
|
|
||||||
'link' => $this->template_image_url . '/0-w9nQeKIWx4fZbwPD.gif',
|
|
||||||
'src' => $this->template_image_url . '/0-w9nQeKIWx4fZbwPD.gif',
|
|
||||||
'alt' => '',
|
|
||||||
'fullWidth' => true,
|
|
||||||
'width' => '400',
|
|
||||||
'height' => '225',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'textAlign' => 'center',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
3 =>
|
|
||||||
array (
|
|
||||||
'type' => 'text',
|
|
||||||
'text' => '<p><span style="color: #808080; font-size: 12px; line-height: 12px;">A wine glass, stimulated by a continued sound at just the right pitch/frequency, will vibrate at such a frequency that the internal stresses will destroy it. Image credit: Marty33 of YouTube.</span></p>',
|
|
||||||
),
|
|
||||||
4 =>
|
|
||||||
array (
|
|
||||||
'type' => 'text',
|
|
||||||
'text' => '<p class="mailpoet_wp_post"><span style="color: #333333;">It makes sense, looking at what happened to the bridge, that resonance would be the culprit. <span class="markup--quote markup--p-quote is-other" data-creator-ids="anon">And that’s the easiest pitfall in science: when you come up with an explanation that’s simple, compelling, and appears obvious. Because in this case, it’s completely wrong.</span> You can calculate what the resonant frequency of the bridge would be, and there was nothing driving at that frequency. All you had was a sustained, strong wind. In fact, the bridge itself wasn’t undulating at its resonant frequency at all!</span></p>
|
|
||||||
<p class="graf graf--p graf-after--p"><span style="color: #333333;">But the story of what was actually happening was fascinating, and holds lessons — lessons we haven’t necessarily heeded — for all the bridges we’ve built ever since.</span></p>',
|
|
||||||
),
|
|
||||||
5 =>
|
|
||||||
array (
|
|
||||||
'type' => 'image',
|
|
||||||
'link' => $this->template_image_url . '/0-PpT1Hf-4dqFdvSxR.jpeg',
|
|
||||||
'src' => $this->template_image_url . '/0-PpT1Hf-4dqFdvSxR.jpeg',
|
|
||||||
'alt' => '',
|
|
||||||
'fullWidth' => true,
|
|
||||||
'width' => '800',
|
|
||||||
'height' => '488',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'textAlign' => 'center',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
6 =>
|
|
||||||
array (
|
|
||||||
'type' => 'text',
|
|
||||||
'text' => '<p><span style="color: #808080; font-size: 12px; line-height: 12px;"><span>Capilano bridge in Vancouver, Canada, is one of the world’s largest pedestrian suspension bridges. If you walk across it, you’ll leave disoriented from the undulations. Image credit: Leonard G. of English Wikipedia.</span></span></p>',
|
|
||||||
),
|
|
||||||
7 =>
|
|
||||||
array (
|
|
||||||
'type' => 'text',
|
|
||||||
'text' => '<p class="mailpoet_wp_post"><span style="color: #333333;">Whenever you have an object suspended between two points, it’s free to move, vibrate, oscillate, etc. It has its own response to outside stimuli, just like a guitar string vibrates in response to outside excitations. That’s what the bridge did most of the time: simply vibrated up-and-down as cars passed over it, as the wind blew, etc. It did what any suspension bridge would do, only slightly more severely due to the cost-saving measures implemented in its construction. Structures like bridges are particularly good at shedding this kind of energy, so that, on its own, posed no danger of collapse.</span></p>
|
|
||||||
<p class="graf graf--p graf-after--figure"><span style="color: #333333;">But as the wind passed over the bridge on November 7th, a stronger, more sustained wind than it had ever experienced before, causing vortices to form as the steady wind passed over the bridge. In small doses, this wouldn’t pose much of a problem, but take a look at the effects of these vortices on a structure in the video below.</span></p>
|
|
||||||
<p class="mailpoet_wp_post"><span style="color: #333333;">Over time, they cause a aerodynamic phenomenon known as “flutter,” where the extremities in the direction of the wind get an extra rocking motion to them. This causes the outer portions to move perpendicular to the wind direction, but out-of-phase from the overall up-and-down motion of the bridge. This phenomenon of flutter has been <a href="http://www.iitk.ac.in/infocell/Archive/dirjan1/flutter.html" class="markup--anchor markup--p-anchor" target="_blank" style="color: #333333;" data-href="http://www.iitk.ac.in/infocell/Archive/dirjan1/flutter.html" rel="noopener noreferrer">known to be disastrous for aircraft</a>, but it was never seen in a bridge before. At least, not to this extent.</span></p>',
|
|
||||||
),
|
|
||||||
8 =>
|
|
||||||
array (
|
|
||||||
'type' => 'image',
|
|
||||||
'link' => $this->template_image_url . '/0-IM2va2_e6Mzg1Et-.jpeg',
|
|
||||||
'src' => $this->template_image_url . '/0-IM2va2_e6Mzg1Et-.jpeg',
|
|
||||||
'alt' => '',
|
|
||||||
'fullWidth' => true,
|
|
||||||
'width' => '960',
|
|
||||||
'height' => '517',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'textAlign' => 'center',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
9 =>
|
|
||||||
array (
|
|
||||||
'type' => 'text',
|
|
||||||
'text' => '<p><span style="color: #808080; font-size: 12px; line-height: 12px;"><span>Under the effects of flutter, aircraft wings can bend or even break off entirely. This has let to the demise of a number of pilots and numerous plane crashes over the years. Image credit: Netherlands Aerospace Center / NLR.</span></span></p>',
|
|
||||||
),
|
|
||||||
10 =>
|
|
||||||
array (
|
|
||||||
'type' => 'text',
|
|
||||||
'text' => '<p class="mailpoet_wp_post"><span style="color: #333333;">When the flutter effect began, one of the steel suspension cables supporting the bridge snapped, removing the last major obstacle to this fluttering motion. That was when the additional undulations, where the two sides of the bridge rocked back-and-forth in harmony with one another, began in earnest. With the sustained, strong winds, the continued vortices, and no ability to dissipate those forces, the bridge’s rocking continued unabated, and even intensified. The last humans on the bridge, the photographers, fled the scene.</span></p>
|
|
||||||
<p class="mailpoet_wp_post"><span style="color: #333333;">Don’t blame resonance for the most famous bridge-collapse of all. The true cause is much scarier, and could affect hundreds of bridges across the world if we ever forget to account for, and mitigate, the fluttering effects that brought this one down.</span></p>',
|
|
||||||
),
|
|
||||||
11 =>
|
|
||||||
array (
|
|
||||||
'type' => 'spacer',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
'height' => '20px',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'context' => 'automatedLatestContentLayout.readMoreButton',
|
||||||
),
|
),
|
||||||
|
'sortBy' => 'newest',
|
||||||
|
'showDivider' => true,
|
||||||
|
'divider' =>
|
||||||
|
array (
|
||||||
|
'type' => 'divider',
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => 'transparent',
|
||||||
|
'padding' => '13px',
|
||||||
|
'borderStyle' => 'solid',
|
||||||
|
'borderWidth' => '1px',
|
||||||
|
'borderColor' => '#aaaaaa',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'context' => 'automatedLatestContentLayout.divider',
|
||||||
|
),
|
||||||
|
'backgroundColor' => '#ffffff',
|
||||||
|
'backgroundColorAlternate' => '#eeeeee',
|
||||||
),
|
),
|
||||||
4 =>
|
4 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -507,6 +438,7 @@ class NotSoMedium {
|
|||||||
0 =>
|
0 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -551,7 +483,7 @@ class NotSoMedium {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'facebook',
|
'iconType' => 'facebook',
|
||||||
'link' => 'http://www.facebook.com',
|
'link' => 'http://www.facebook.com',
|
||||||
'image' => $this->social_icon_url . '/03-circles/Facebook.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/03-circles/Facebook.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Facebook',
|
'text' => 'Facebook',
|
||||||
@ -561,7 +493,7 @@ class NotSoMedium {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'twitter',
|
'iconType' => 'twitter',
|
||||||
'link' => 'http://www.twitter.com',
|
'link' => 'http://www.twitter.com',
|
||||||
'image' => $this->social_icon_url . '/03-circles/Twitter.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/03-circles/Twitter.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Twitter',
|
'text' => 'Twitter',
|
||||||
@ -571,7 +503,7 @@ class NotSoMedium {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'google-plus',
|
'iconType' => 'google-plus',
|
||||||
'link' => 'http://plus.google.com',
|
'link' => 'http://plus.google.com',
|
||||||
'image' => $this->social_icon_url . '/03-circles/Google-Plus.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/03-circles/Google-Plus.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Google Plus',
|
'text' => 'Google Plus',
|
||||||
@ -581,7 +513,7 @@ class NotSoMedium {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'linkedin',
|
'iconType' => 'linkedin',
|
||||||
'link' => 'http://www.linkedin.com',
|
'link' => 'http://www.linkedin.com',
|
||||||
'image' => $this->social_icon_url . '/03-circles/LinkedIn.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/03-circles/LinkedIn.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'LinkedIn',
|
'text' => 'LinkedIn',
|
||||||
@ -591,7 +523,7 @@ class NotSoMedium {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'email',
|
'iconType' => 'email',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'image' => $this->social_icon_url . '/03-circles/Email.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/03-circles/Email.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Email',
|
'text' => 'Email',
|
||||||
@ -617,6 +549,7 @@ class NotSoMedium {
|
|||||||
5 =>
|
5 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -635,6 +568,7 @@ class NotSoMedium {
|
|||||||
0 =>
|
0 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
|
'columnLayout' => false,
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'image' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
@ -798,22 +732,22 @@ class NotSoMedium {
|
|||||||
),
|
),
|
||||||
'automatedLatestContentLayout' =>
|
'automatedLatestContentLayout' =>
|
||||||
array (
|
array (
|
||||||
'amount' => '5',
|
'amount' => '1',
|
||||||
'withLayout' => true,
|
'withLayout' => true,
|
||||||
'contentType' => 'post',
|
'contentType' => 'post',
|
||||||
'inclusionType' => 'include',
|
'inclusionType' => 'include',
|
||||||
'displayType' => 'excerpt',
|
'displayType' => 'full',
|
||||||
'titleFormat' => 'h1',
|
'titleFormat' => 'h1',
|
||||||
'titleAlignment' => 'left',
|
'titleAlignment' => 'center',
|
||||||
'titleIsLink' => false,
|
'titleIsLink' => true,
|
||||||
'imageFullWidth' => false,
|
'imageFullWidth' => false,
|
||||||
'featuredImagePosition' => 'alternate',
|
'featuredImagePosition' => 'alternate',
|
||||||
'showAuthor' => 'no',
|
'showAuthor' => 'aboveText',
|
||||||
'authorPrecededBy' => 'Author:',
|
'authorPrecededBy' => 'Author:',
|
||||||
'showCategories' => 'no',
|
'showCategories' => 'aboveText',
|
||||||
'categoriesPrecededBy' => 'Categories:',
|
'categoriesPrecededBy' => 'Categories:',
|
||||||
'readMoreType' => 'button',
|
'readMoreType' => 'link',
|
||||||
'readMoreText' => 'Read more',
|
'readMoreText' => 'View this post online & share!',
|
||||||
'readMoreButton' =>
|
'readMoreButton' =>
|
||||||
array (
|
array (
|
||||||
'text' => 'Read more',
|
'text' => 'Read more',
|
||||||
@ -837,6 +771,7 @@ class NotSoMedium {
|
|||||||
'textAlign' => 'center',
|
'textAlign' => 'center',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'type' => 'button',
|
||||||
),
|
),
|
||||||
'sortBy' => 'newest',
|
'sortBy' => 'newest',
|
||||||
'showDivider' => true,
|
'showDivider' => true,
|
||||||
@ -850,18 +785,23 @@ class NotSoMedium {
|
|||||||
'backgroundColor' => 'transparent',
|
'backgroundColor' => 'transparent',
|
||||||
'padding' => '13px',
|
'padding' => '13px',
|
||||||
'borderStyle' => 'solid',
|
'borderStyle' => 'solid',
|
||||||
'borderWidth' => '3px',
|
'borderWidth' => '1px',
|
||||||
'borderColor' => '#aaaaaa',
|
'borderColor' => '#aaaaaa',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'type' => 'divider',
|
||||||
),
|
),
|
||||||
'backgroundColor' => '#ffffff',
|
'backgroundColor' => '#ffffff',
|
||||||
'backgroundColorAlternate' => '#eeeeee',
|
'backgroundColorAlternate' => '#eeeeee',
|
||||||
|
'type' => 'automatedLatestContentLayout',
|
||||||
|
'terms' =>
|
||||||
|
array (
|
||||||
|
),
|
||||||
),
|
),
|
||||||
'button' =>
|
'button' =>
|
||||||
array (
|
array (
|
||||||
'text' => 'Button',
|
'text' => 'Read more',
|
||||||
'url' => '',
|
'url' => '[postLink]',
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -880,6 +820,22 @@ class NotSoMedium {
|
|||||||
'textAlign' => 'center',
|
'textAlign' => 'center',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'type' => 'button',
|
||||||
|
),
|
||||||
|
'container' =>
|
||||||
|
array (
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => 'transparent',
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
'divider' =>
|
'divider' =>
|
||||||
array (
|
array (
|
||||||
@ -894,6 +850,7 @@ class NotSoMedium {
|
|||||||
'borderColor' => '#aaaaaa',
|
'borderColor' => '#aaaaaa',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'type' => 'divider',
|
||||||
),
|
),
|
||||||
'footer' =>
|
'footer' =>
|
||||||
array (
|
array (
|
||||||
@ -960,6 +917,7 @@ class NotSoMedium {
|
|||||||
'textAlign' => 'center',
|
'textAlign' => 'center',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'type' => 'button',
|
||||||
),
|
),
|
||||||
'sortBy' => 'newest',
|
'sortBy' => 'newest',
|
||||||
'showDivider' => true,
|
'showDivider' => true,
|
||||||
@ -977,6 +935,7 @@ class NotSoMedium {
|
|||||||
'borderColor' => '#aaaaaa',
|
'borderColor' => '#aaaaaa',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'type' => 'divider',
|
||||||
),
|
),
|
||||||
'backgroundColor' => '#ffffff',
|
'backgroundColor' => '#ffffff',
|
||||||
'backgroundColorAlternate' => '#eeeeee',
|
'backgroundColorAlternate' => '#eeeeee',
|
||||||
@ -991,7 +950,7 @@ class NotSoMedium {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'facebook',
|
'iconType' => 'facebook',
|
||||||
'link' => 'http://www.facebook.com',
|
'link' => 'http://www.facebook.com',
|
||||||
'image' => $this->social_icon_url . '/01-social/Facebook.png?mailpoet_version=3.9.1',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/01-social/Facebook.png?mailpoet_version=3.9.1',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Facebook',
|
'text' => 'Facebook',
|
||||||
@ -1001,7 +960,7 @@ class NotSoMedium {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'twitter',
|
'iconType' => 'twitter',
|
||||||
'link' => 'http://www.twitter.com',
|
'link' => 'http://www.twitter.com',
|
||||||
'image' => $this->social_icon_url . '/01-social/Twitter.png?mailpoet_version=3.9.1',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/01-social/Twitter.png?mailpoet_version=3.9.1',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Twitter',
|
'text' => 'Twitter',
|
||||||
@ -1014,10 +973,11 @@ class NotSoMedium {
|
|||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
array (
|
array (
|
||||||
'backgroundColor' => 'transparent',
|
'backgroundColor' => '#ffffff',
|
||||||
'height' => '40px',
|
'height' => '63px',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'type' => 'spacer',
|
||||||
),
|
),
|
||||||
'header' =>
|
'header' =>
|
||||||
array (
|
array (
|
||||||
|
@ -32,6 +32,11 @@ class RssSimpleNews {
|
|||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -45,6 +50,11 @@ class RssSimpleNews {
|
|||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -58,6 +68,11 @@ class RssSimpleNews {
|
|||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -87,6 +102,11 @@ class RssSimpleNews {
|
|||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -100,6 +120,11 @@ class RssSimpleNews {
|
|||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -113,7 +138,7 @@ class RssSimpleNews {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'src' => $this->template_image_url . '/RSS-Logo-2.png',
|
'src' => 'http://mailpoet.info/wp-content/uploads/2017/08/RSS-Logo-2.png',
|
||||||
'alt' => 'RSS-Logo-2',
|
'alt' => 'RSS-Logo-2',
|
||||||
'fullWidth' => true,
|
'fullWidth' => true,
|
||||||
'width' => '210px',
|
'width' => '210px',
|
||||||
@ -132,6 +157,11 @@ class RssSimpleNews {
|
|||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -159,6 +189,11 @@ class RssSimpleNews {
|
|||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -191,7 +226,7 @@ class RssSimpleNews {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'facebook',
|
'iconType' => 'facebook',
|
||||||
'link' => 'http://www.facebook.com',
|
'link' => 'http://www.facebook.com',
|
||||||
'image' => $this->social_icon_url . '/06-full-symbol-color/Facebook.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/06-full-symbol-color/Facebook.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Facebook',
|
'text' => 'Facebook',
|
||||||
@ -201,7 +236,7 @@ class RssSimpleNews {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'twitter',
|
'iconType' => 'twitter',
|
||||||
'link' => 'http://www.twitter.com',
|
'link' => 'http://www.twitter.com',
|
||||||
'image' => $this->social_icon_url . '/06-full-symbol-color/Twitter.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/06-full-symbol-color/Twitter.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Twitter',
|
'text' => 'Twitter',
|
||||||
@ -211,7 +246,7 @@ class RssSimpleNews {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'website',
|
'iconType' => 'website',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'image' => $this->social_icon_url . '/06-full-symbol-color/Website.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/06-full-symbol-color/Website.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Website',
|
'text' => 'Website',
|
||||||
@ -226,6 +261,11 @@ class RssSimpleNews {
|
|||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -239,6 +279,11 @@ class RssSimpleNews {
|
|||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -267,73 +312,6 @@ class RssSimpleNews {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
2 =>
|
2 =>
|
||||||
array (
|
|
||||||
'type' => 'automatedLatestContent',
|
|
||||||
'amount' => '3',
|
|
||||||
'contentType' => 'post',
|
|
||||||
'terms' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'inclusionType' => 'include',
|
|
||||||
'displayType' => 'excerpt',
|
|
||||||
'titleFormat' => 'h3',
|
|
||||||
'titleAlignment' => 'left',
|
|
||||||
'titleIsLink' => true,
|
|
||||||
'imageFullWidth' => false,
|
|
||||||
'featuredImagePosition' => 'belowTitle',
|
|
||||||
'showAuthor' => 'no',
|
|
||||||
'authorPrecededBy' => 'Author:',
|
|
||||||
'showCategories' => 'no',
|
|
||||||
'categoriesPrecededBy' => 'Categories:',
|
|
||||||
'readMoreType' => 'link',
|
|
||||||
'readMoreText' => 'Read more',
|
|
||||||
'readMoreButton' =>
|
|
||||||
array (
|
|
||||||
'type' => 'button',
|
|
||||||
'text' => 'Read more',
|
|
||||||
'url' => '[postLink]',
|
|
||||||
'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',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'context' => 'automatedLatestContent.readMoreButton',
|
|
||||||
),
|
|
||||||
'sortBy' => 'newest',
|
|
||||||
'showDivider' => true,
|
|
||||||
'divider' =>
|
|
||||||
array (
|
|
||||||
'type' => 'divider',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
'padding' => '13px',
|
|
||||||
'borderStyle' => 'solid',
|
|
||||||
'borderWidth' => '1px',
|
|
||||||
'borderColor' => '#efe7f0',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'context' => 'automatedLatestContent.divider',
|
|
||||||
),
|
|
||||||
'backgroundColor' => '#ffffff',
|
|
||||||
'backgroundColorAlternate' => '#eeeeee',
|
|
||||||
),
|
|
||||||
3 =>
|
|
||||||
array (
|
array (
|
||||||
'type' => 'spacer',
|
'type' => 'spacer',
|
||||||
'styles' =>
|
'styles' =>
|
||||||
@ -350,9 +328,82 @@ class RssSimpleNews {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
3 =>
|
3 =>
|
||||||
|
array (
|
||||||
|
'type' => 'automatedLatestContentLayout',
|
||||||
|
'withLayout' => true,
|
||||||
|
'amount' => '5',
|
||||||
|
'contentType' => 'post',
|
||||||
|
'terms' =>
|
||||||
|
array (
|
||||||
|
),
|
||||||
|
'inclusionType' => 'include',
|
||||||
|
'displayType' => 'excerpt',
|
||||||
|
'titleFormat' => 'h3',
|
||||||
|
'titleAlignment' => 'left',
|
||||||
|
'titleIsLink' => true,
|
||||||
|
'imageFullWidth' => false,
|
||||||
|
'featuredImagePosition' => 'alternate',
|
||||||
|
'showAuthor' => 'no',
|
||||||
|
'authorPrecededBy' => 'Author:',
|
||||||
|
'showCategories' => 'no',
|
||||||
|
'categoriesPrecededBy' => 'Categories:',
|
||||||
|
'readMoreType' => 'link',
|
||||||
|
'readMoreText' => 'Read more.',
|
||||||
|
'readMoreButton' =>
|
||||||
|
array (
|
||||||
|
'type' => 'button',
|
||||||
|
'text' => 'Read more',
|
||||||
|
'url' => '[postLink]',
|
||||||
|
'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',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'context' => 'automatedLatestContentLayout.readMoreButton',
|
||||||
|
),
|
||||||
|
'sortBy' => 'newest',
|
||||||
|
'showDivider' => true,
|
||||||
|
'divider' =>
|
||||||
|
array (
|
||||||
|
'type' => 'divider',
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => 'transparent',
|
||||||
|
'padding' => '13px',
|
||||||
|
'borderStyle' => 'solid',
|
||||||
|
'borderWidth' => '1px',
|
||||||
|
'borderColor' => '#ececec',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'context' => 'automatedLatestContentLayout.divider',
|
||||||
|
),
|
||||||
|
'backgroundColor' => '#ffffff',
|
||||||
|
'backgroundColorAlternate' => '#eeeeee',
|
||||||
|
),
|
||||||
|
4 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -366,6 +417,11 @@ class RssSimpleNews {
|
|||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -508,6 +564,75 @@ class RssSimpleNews {
|
|||||||
'terms' =>
|
'terms' =>
|
||||||
array (
|
array (
|
||||||
),
|
),
|
||||||
|
'withLayout' => false,
|
||||||
|
),
|
||||||
|
'automatedLatestContentLayout' =>
|
||||||
|
array (
|
||||||
|
'amount' => '5',
|
||||||
|
'withLayout' => true,
|
||||||
|
'contentType' => 'post',
|
||||||
|
'inclusionType' => 'include',
|
||||||
|
'displayType' => 'excerpt',
|
||||||
|
'titleFormat' => 'h3',
|
||||||
|
'titleAlignment' => 'left',
|
||||||
|
'titleIsLink' => true,
|
||||||
|
'imageFullWidth' => false,
|
||||||
|
'featuredImagePosition' => 'alternate',
|
||||||
|
'showAuthor' => 'no',
|
||||||
|
'authorPrecededBy' => 'Author:',
|
||||||
|
'showCategories' => 'no',
|
||||||
|
'categoriesPrecededBy' => 'Categories:',
|
||||||
|
'readMoreType' => 'link',
|
||||||
|
'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',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'type' => 'button',
|
||||||
|
),
|
||||||
|
'sortBy' => 'newest',
|
||||||
|
'showDivider' => true,
|
||||||
|
'divider' =>
|
||||||
|
array (
|
||||||
|
'context' => 'automatedLatestContentLayout.divider',
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => 'transparent',
|
||||||
|
'padding' => '13px',
|
||||||
|
'borderStyle' => 'solid',
|
||||||
|
'borderWidth' => '1px',
|
||||||
|
'borderColor' => '#ececec',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'type' => 'divider',
|
||||||
|
),
|
||||||
|
'backgroundColor' => '#ffffff',
|
||||||
|
'backgroundColorAlternate' => '#eeeeee',
|
||||||
|
'type' => 'automatedLatestContentLayout',
|
||||||
|
'terms' =>
|
||||||
|
array (
|
||||||
|
),
|
||||||
),
|
),
|
||||||
'button' =>
|
'button' =>
|
||||||
array (
|
array (
|
||||||
@ -533,6 +658,16 @@ class RssSimpleNews {
|
|||||||
),
|
),
|
||||||
'type' => 'button',
|
'type' => 'button',
|
||||||
),
|
),
|
||||||
|
'container' =>
|
||||||
|
array (
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => 'transparent',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
'divider' =>
|
'divider' =>
|
||||||
array (
|
array (
|
||||||
'styles' =>
|
'styles' =>
|
||||||
@ -546,6 +681,7 @@ class RssSimpleNews {
|
|||||||
'borderColor' => '#aaaaaa',
|
'borderColor' => '#aaaaaa',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'type' => 'divider',
|
||||||
),
|
),
|
||||||
'footer' =>
|
'footer' =>
|
||||||
array (
|
array (
|
||||||
@ -642,7 +778,7 @@ class RssSimpleNews {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'facebook',
|
'iconType' => 'facebook',
|
||||||
'link' => 'http://www.facebook.com',
|
'link' => 'http://www.facebook.com',
|
||||||
'image' => $this->social_icon_url . '/01-social/Facebook.png?mailpoet_version=3.7.1',
|
'image' => 'https://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/01-social/Facebook.png?mailpoet_version=3.7.1',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Facebook',
|
'text' => 'Facebook',
|
||||||
@ -652,7 +788,7 @@ class RssSimpleNews {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'twitter',
|
'iconType' => 'twitter',
|
||||||
'link' => 'http://www.twitter.com',
|
'link' => 'http://www.twitter.com',
|
||||||
'image' => $this->social_icon_url . '/01-social/Twitter.png?mailpoet_version=3.7.1',
|
'image' => 'https://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/01-social/Twitter.png?mailpoet_version=3.7.1',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Twitter',
|
'text' => 'Twitter',
|
||||||
|
@ -82,7 +82,7 @@ class ScienceWeekly {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'src' => $this->template_image_url . '/Science-Logo.png',
|
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/science_weekly/Science-Logo.png',
|
||||||
'alt' => 'Science-Logo',
|
'alt' => 'Science-Logo',
|
||||||
'fullWidth' => true,
|
'fullWidth' => true,
|
||||||
'width' => '1280px',
|
'width' => '1280px',
|
||||||
@ -99,7 +99,7 @@ class ScienceWeekly {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'src' => $this->template_image_url . '/Health-Mag-Title-22.png',
|
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/science_weekly/Health-Mag-Title-22.png',
|
||||||
'alt' => 'Health-Mag-Title-2',
|
'alt' => 'Health-Mag-Title-2',
|
||||||
'fullWidth' => true,
|
'fullWidth' => true,
|
||||||
'width' => '1280px',
|
'width' => '1280px',
|
||||||
@ -157,128 +157,90 @@ class ScienceWeekly {
|
|||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'text' => '<h1 style="text-align: center;"><span style="color: #ffffff;"><strong>The latest news from the world of science</strong></span></h1>',
|
'text' => '<h1 style="text-align: center;"><span style="color: #ffffff;"><strong>The latest news from the world of science</strong></span></h1>',
|
||||||
),
|
),
|
||||||
),
|
1 =>
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
2 =>
|
|
||||||
array (
|
|
||||||
'type' => 'container',
|
|
||||||
'orientation' => 'horizontal',
|
|
||||||
'image' =>
|
|
||||||
array (
|
|
||||||
'src' => NULL,
|
|
||||||
'display' => 'scale',
|
|
||||||
),
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => '#ffffff',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'blocks' =>
|
|
||||||
array (
|
|
||||||
0 =>
|
|
||||||
array (
|
|
||||||
'type' => 'container',
|
|
||||||
'orientation' => 'vertical',
|
|
||||||
'image' =>
|
|
||||||
array (
|
|
||||||
'src' => NULL,
|
|
||||||
'display' => 'scale',
|
|
||||||
),
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'blocks' =>
|
|
||||||
array (
|
|
||||||
0 =>
|
|
||||||
array (
|
array (
|
||||||
'type' => 'spacer',
|
'type' => 'spacer',
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
array (
|
array (
|
||||||
'backgroundColor' => 'transparent',
|
'backgroundColor' => '#ffffff',
|
||||||
'height' => '20px',
|
'height' => '40px',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
1 =>
|
|
||||||
array (
|
|
||||||
'type' => 'automatedLatestContent',
|
|
||||||
'withLayout' => false,
|
|
||||||
'amount' => '2',
|
|
||||||
'contentType' => 'post',
|
|
||||||
'terms' =>
|
|
||||||
array (
|
|
||||||
),
|
|
||||||
'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 (
|
|
||||||
'type' => 'button',
|
|
||||||
'text' => 'Read more',
|
|
||||||
'url' => '[postLink]',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => '#2b2d37',
|
|
||||||
'borderColor' => '#112d31',
|
|
||||||
'borderWidth' => '1px',
|
|
||||||
'borderRadius' => '21px',
|
|
||||||
'borderStyle' => 'solid',
|
|
||||||
'width' => '114px',
|
|
||||||
'lineHeight' => '33px',
|
|
||||||
'fontColor' => '#ffffff',
|
|
||||||
'fontFamily' => 'Arial',
|
|
||||||
'fontSize' => '16px',
|
|
||||||
'fontWeight' => 'normal',
|
|
||||||
'textAlign' => 'left',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'sortBy' => 'newest',
|
|
||||||
'showDivider' => true,
|
|
||||||
'divider' =>
|
|
||||||
array (
|
|
||||||
'type' => 'divider',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
'padding' => '13px',
|
|
||||||
'borderStyle' => 'solid',
|
|
||||||
'borderWidth' => '3px',
|
|
||||||
'borderColor' => '#aaaaaa',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'backgroundColor' => '#ffffff',
|
|
||||||
'backgroundColorAlternate' => '#eeeeee',
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
2 =>
|
||||||
|
array (
|
||||||
|
'type' => 'automatedLatestContentLayout',
|
||||||
|
'withLayout' => true,
|
||||||
|
'amount' => '2',
|
||||||
|
'contentType' => 'post',
|
||||||
|
'terms' =>
|
||||||
|
array (
|
||||||
|
),
|
||||||
|
'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 (
|
||||||
|
'type' => 'button',
|
||||||
|
'text' => 'Read more',
|
||||||
|
'url' => '[postLink]',
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => '#2b2d37',
|
||||||
|
'borderColor' => '#2b2d37',
|
||||||
|
'borderWidth' => '1px',
|
||||||
|
'borderRadius' => '21px',
|
||||||
|
'borderStyle' => 'solid',
|
||||||
|
'width' => '114px',
|
||||||
|
'lineHeight' => '33px',
|
||||||
|
'fontColor' => '#ffffff',
|
||||||
|
'fontFamily' => 'Verdana',
|
||||||
|
'fontSize' => '14px',
|
||||||
|
'fontWeight' => 'normal',
|
||||||
|
'textAlign' => 'left',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'context' => 'automatedLatestContentLayout.readMoreButton',
|
||||||
|
),
|
||||||
|
'sortBy' => 'newest',
|
||||||
|
'showDivider' => true,
|
||||||
|
'divider' =>
|
||||||
|
array (
|
||||||
|
'type' => 'divider',
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => 'transparent',
|
||||||
|
'padding' => '13px',
|
||||||
|
'borderStyle' => 'solid',
|
||||||
|
'borderWidth' => '3px',
|
||||||
|
'borderColor' => '#aaaaaa',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'context' => 'automatedLatestContentLayout.divider',
|
||||||
|
),
|
||||||
|
'backgroundColor' => '#ffffff',
|
||||||
|
'backgroundColorAlternate' => '#eeeeee',
|
||||||
|
),
|
||||||
3 =>
|
3 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
@ -331,7 +293,7 @@ class ScienceWeekly {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'src' => $this->template_image_url . '/Health-Mag-End-1.png',
|
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/science_weekly/Health-Mag-End-1.png',
|
||||||
'alt' => 'Health-Mag-End',
|
'alt' => 'Health-Mag-End',
|
||||||
'fullWidth' => true,
|
'fullWidth' => true,
|
||||||
'width' => '1280px',
|
'width' => '1280px',
|
||||||
@ -400,7 +362,7 @@ class ScienceWeekly {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'src' => $this->template_image_url . '/Health-Mag-Promo-Start.png',
|
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/science_weekly/Health-Mag-Promo-Start.png',
|
||||||
'alt' => 'Health-Mag-Promo-Start',
|
'alt' => 'Health-Mag-Promo-Start',
|
||||||
'fullWidth' => true,
|
'fullWidth' => true,
|
||||||
'width' => '1280px',
|
'width' => '1280px',
|
||||||
@ -522,7 +484,7 @@ class ScienceWeekly {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'src' => $this->template_image_url . '/Health-Mag-Phone.png',
|
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/science_weekly/Health-Mag-Phone.png',
|
||||||
'alt' => 'Health-Mag-Phone',
|
'alt' => 'Health-Mag-Phone',
|
||||||
'fullWidth' => false,
|
'fullWidth' => false,
|
||||||
'width' => '400px',
|
'width' => '400px',
|
||||||
@ -579,7 +541,7 @@ class ScienceWeekly {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'src' => $this->template_image_url . '/Health-Mag-Promo-End.png',
|
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/science_weekly/Health-Mag-Promo-End.png',
|
||||||
'alt' => 'Health-Mag-Promo-End',
|
'alt' => 'Health-Mag-Promo-End',
|
||||||
'fullWidth' => true,
|
'fullWidth' => true,
|
||||||
'width' => '1280px',
|
'width' => '1280px',
|
||||||
@ -648,7 +610,7 @@ class ScienceWeekly {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'src' => $this->template_image_url . '/Health-Mag-Promo-Start.png',
|
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/science_weekly/Health-Mag-Promo-Start.png',
|
||||||
'alt' => 'Health-Mag-Promo-Start',
|
'alt' => 'Health-Mag-Promo-Start',
|
||||||
'fullWidth' => true,
|
'fullWidth' => true,
|
||||||
'width' => '1280px',
|
'width' => '1280px',
|
||||||
@ -709,7 +671,7 @@ class ScienceWeekly {
|
|||||||
1 =>
|
1 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'social',
|
'type' => 'social',
|
||||||
'iconSet' => 'circles',
|
'iconSet' => 'full-symbol-black',
|
||||||
'icons' =>
|
'icons' =>
|
||||||
array (
|
array (
|
||||||
0 =>
|
0 =>
|
||||||
@ -717,7 +679,7 @@ class ScienceWeekly {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'facebook',
|
'iconType' => 'facebook',
|
||||||
'link' => 'http://www.facebook.com',
|
'link' => 'http://www.facebook.com',
|
||||||
'image' => $this->social_icon_url . '/03-circles/Facebook.png',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Facebook.png?mailpoet_version=3.11.1',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Facebook',
|
'text' => 'Facebook',
|
||||||
@ -727,31 +689,11 @@ class ScienceWeekly {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'twitter',
|
'iconType' => 'twitter',
|
||||||
'link' => 'http://www.twitter.com',
|
'link' => 'http://www.twitter.com',
|
||||||
'image' => $this->social_icon_url . '/03-circles/Twitter.png',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Twitter.png?mailpoet_version=3.11.1',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Twitter',
|
'text' => 'Twitter',
|
||||||
),
|
),
|
||||||
2 =>
|
|
||||||
array (
|
|
||||||
'type' => 'socialIcon',
|
|
||||||
'iconType' => 'youtube',
|
|
||||||
'link' => 'http://www.youtube.com',
|
|
||||||
'image' => $this->social_icon_url . '/03-circles/Youtube.png',
|
|
||||||
'height' => '32px',
|
|
||||||
'width' => '32px',
|
|
||||||
'text' => 'Youtube',
|
|
||||||
),
|
|
||||||
3 =>
|
|
||||||
array (
|
|
||||||
'type' => 'socialIcon',
|
|
||||||
'iconType' => 'instagram',
|
|
||||||
'link' => 'http://instagram.com',
|
|
||||||
'image' => $this->social_icon_url . '/03-circles/Instagram.png',
|
|
||||||
'height' => '32px',
|
|
||||||
'width' => '32px',
|
|
||||||
'text' => 'Instagram',
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -798,7 +740,7 @@ class ScienceWeekly {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'src' => $this->template_image_url . '/Health-Mag-Promo-End.png',
|
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/science_weekly/Health-Mag-Promo-End.png',
|
||||||
'alt' => 'Health-Mag-Promo-End',
|
'alt' => 'Health-Mag-Promo-End',
|
||||||
'fullWidth' => true,
|
'fullWidth' => true,
|
||||||
'width' => '1280px',
|
'width' => '1280px',
|
||||||
@ -971,7 +913,7 @@ class ScienceWeekly {
|
|||||||
),
|
),
|
||||||
'automatedLatestContentLayout' =>
|
'automatedLatestContentLayout' =>
|
||||||
array (
|
array (
|
||||||
'amount' => '5',
|
'amount' => '2',
|
||||||
'withLayout' => true,
|
'withLayout' => true,
|
||||||
'contentType' => 'post',
|
'contentType' => 'post',
|
||||||
'inclusionType' => 'include',
|
'inclusionType' => 'include',
|
||||||
@ -996,20 +938,21 @@ class ScienceWeekly {
|
|||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
array (
|
array (
|
||||||
'backgroundColor' => '#2ea1cd',
|
'backgroundColor' => '#2b2d37',
|
||||||
'borderColor' => '#0074a2',
|
'borderColor' => '#2b2d37',
|
||||||
'borderWidth' => '1px',
|
'borderWidth' => '1px',
|
||||||
'borderRadius' => '5px',
|
'borderRadius' => '21px',
|
||||||
'borderStyle' => 'solid',
|
'borderStyle' => 'solid',
|
||||||
'width' => '180px',
|
'width' => '114px',
|
||||||
'lineHeight' => '40px',
|
'lineHeight' => '33px',
|
||||||
'fontColor' => '#ffffff',
|
'fontColor' => '#ffffff',
|
||||||
'fontFamily' => 'Verdana',
|
'fontFamily' => 'Verdana',
|
||||||
'fontSize' => '18px',
|
'fontSize' => '14px',
|
||||||
'fontWeight' => 'normal',
|
'fontWeight' => 'normal',
|
||||||
'textAlign' => 'center',
|
'textAlign' => 'left',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'type' => 'button',
|
||||||
),
|
),
|
||||||
'sortBy' => 'newest',
|
'sortBy' => 'newest',
|
||||||
'showDivider' => true,
|
'showDivider' => true,
|
||||||
@ -1027,9 +970,14 @@ class ScienceWeekly {
|
|||||||
'borderColor' => '#aaaaaa',
|
'borderColor' => '#aaaaaa',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'type' => 'divider',
|
||||||
),
|
),
|
||||||
'backgroundColor' => '#ffffff',
|
'backgroundColor' => '#ffffff',
|
||||||
'backgroundColorAlternate' => '#eeeeee',
|
'backgroundColorAlternate' => '#eeeeee',
|
||||||
|
'type' => 'automatedLatestContentLayout',
|
||||||
|
'terms' =>
|
||||||
|
array (
|
||||||
|
),
|
||||||
),
|
),
|
||||||
'button' =>
|
'button' =>
|
||||||
array (
|
array (
|
||||||
@ -1055,6 +1003,21 @@ class ScienceWeekly {
|
|||||||
),
|
),
|
||||||
'type' => 'button',
|
'type' => 'button',
|
||||||
),
|
),
|
||||||
|
'container' =>
|
||||||
|
array (
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => 'transparent',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
'divider' =>
|
'divider' =>
|
||||||
array (
|
array (
|
||||||
'styles' =>
|
'styles' =>
|
||||||
@ -1158,7 +1121,7 @@ class ScienceWeekly {
|
|||||||
),
|
),
|
||||||
'social' =>
|
'social' =>
|
||||||
array (
|
array (
|
||||||
'iconSet' => 'default',
|
'iconSet' => 'full-symbol-black',
|
||||||
'icons' =>
|
'icons' =>
|
||||||
array (
|
array (
|
||||||
0 =>
|
0 =>
|
||||||
@ -1166,7 +1129,7 @@ class ScienceWeekly {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'facebook',
|
'iconType' => 'facebook',
|
||||||
'link' => 'http://www.facebook.com',
|
'link' => 'http://www.facebook.com',
|
||||||
'image' => $this->social_icon_url . '/01-social/Facebook.png?mailpoet_version=3.8.1',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Facebook.png?mailpoet_version=3.11.1',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Facebook',
|
'text' => 'Facebook',
|
||||||
@ -1176,12 +1139,13 @@ class ScienceWeekly {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'twitter',
|
'iconType' => 'twitter',
|
||||||
'link' => 'http://www.twitter.com',
|
'link' => 'http://www.twitter.com',
|
||||||
'image' => $this->social_icon_url . '/01-social/Twitter.png?mailpoet_version=3.8.1',
|
'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Twitter.png?mailpoet_version=3.11.1',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Twitter',
|
'text' => 'Twitter',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'type' => 'social',
|
||||||
),
|
),
|
||||||
'spacer' =>
|
'spacer' =>
|
||||||
array (
|
array (
|
||||||
@ -1189,10 +1153,11 @@ class ScienceWeekly {
|
|||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
array (
|
array (
|
||||||
'backgroundColor' => 'transparent',
|
'backgroundColor' => '#ffffff',
|
||||||
'height' => '40px',
|
'height' => '40px',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'type' => 'spacer',
|
||||||
),
|
),
|
||||||
'header' =>
|
'header' =>
|
||||||
array (
|
array (
|
||||||
|
@ -32,6 +32,11 @@ class WideStoryLayout {
|
|||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -45,6 +50,11 @@ class WideStoryLayout {
|
|||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -58,6 +68,11 @@ class WideStoryLayout {
|
|||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -83,7 +98,7 @@ class WideStoryLayout {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'src' => $this->template_image_url . '/Wide-Logo.png',
|
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/wide-story-layout/Wide-Logo.png',
|
||||||
'alt' => 'Wide-Logo',
|
'alt' => 'Wide-Logo',
|
||||||
'fullWidth' => false,
|
'fullWidth' => false,
|
||||||
'width' => '200px',
|
'width' => '200px',
|
||||||
@ -119,109 +134,81 @@ class WideStoryLayout {
|
|||||||
),
|
),
|
||||||
1 =>
|
1 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'automatedLatestContentLayout',
|
||||||
'orientation' => 'horizontal',
|
'withLayout' => true,
|
||||||
'styles' =>
|
'amount' => '3',
|
||||||
|
'contentType' => 'post',
|
||||||
|
'terms' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
'blocks' =>
|
'inclusionType' => 'include',
|
||||||
|
'displayType' => 'excerpt',
|
||||||
|
'titleFormat' => 'h3',
|
||||||
|
'titleAlignment' => 'left',
|
||||||
|
'titleIsLink' => false,
|
||||||
|
'imageFullWidth' => false,
|
||||||
|
'featuredImagePosition' => 'alternate',
|
||||||
|
'showAuthor' => 'no',
|
||||||
|
'authorPrecededBy' => 'Author:',
|
||||||
|
'showCategories' => 'no',
|
||||||
|
'categoriesPrecededBy' => 'Categories:',
|
||||||
|
'readMoreType' => 'button',
|
||||||
|
'readMoreText' => 'Read more',
|
||||||
|
'readMoreButton' =>
|
||||||
array (
|
array (
|
||||||
0 =>
|
'type' => 'button',
|
||||||
|
'text' => 'Read The Post',
|
||||||
|
'url' => '[postLink]',
|
||||||
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'block' =>
|
||||||
'orientation' => 'vertical',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'backgroundColor' => '#5ecd39',
|
||||||
array (
|
'borderColor' => '#000000',
|
||||||
'backgroundColor' => 'transparent',
|
'borderWidth' => '0px',
|
||||||
),
|
'borderRadius' => '5px',
|
||||||
),
|
'borderStyle' => 'solid',
|
||||||
'blocks' =>
|
'width' => '288px',
|
||||||
array (
|
'lineHeight' => '36px',
|
||||||
0 =>
|
'fontColor' => '#ffffff',
|
||||||
array (
|
'fontFamily' => 'Lucida',
|
||||||
'type' => 'image',
|
'fontSize' => '16px',
|
||||||
'link' => 'http://mailpoet.info/cutting-through-the-smog-what-to-do-to-fight-air-pollution/',
|
'fontWeight' => 'normal',
|
||||||
'src' => $this->template_image_url . '/5_what_to_do_p352m1141746-800x533.jpg',
|
'textAlign' => 'center',
|
||||||
'alt' => 'Cutting through the smog: What to do to fight air pollution',
|
|
||||||
'fullWidth' => true,
|
|
||||||
'width' => 660,
|
|
||||||
'height' => 440,
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'textAlign' => 'center',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
1 =>
|
|
||||||
array (
|
|
||||||
'type' => 'spacer',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
'height' => '30px',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
2 =>
|
|
||||||
array (
|
|
||||||
'type' => 'text',
|
|
||||||
'text' => '<h3 style="text-align: center;" data-post-id="1997">Cutting through the smog: What to do to fight air pollution</h3>
|
|
||||||
<p class="mailpoet_wp_post" style="text-align: center;">Tackling our air problems starts with traffic control, but individual action to reduce energy use and intensive farming would also help clean our air.</p>',
|
|
||||||
),
|
|
||||||
3 =>
|
|
||||||
array (
|
|
||||||
'type' => 'button',
|
|
||||||
'text' => 'Read The Post',
|
|
||||||
'url' => 'http://mailpoet.info/cutting-through-the-smog-what-to-do-to-fight-air-pollution/',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => '#5ecd39',
|
|
||||||
'borderColor' => '#000000',
|
|
||||||
'borderWidth' => '0px',
|
|
||||||
'borderRadius' => '5px',
|
|
||||||
'borderStyle' => 'solid',
|
|
||||||
'width' => '288px',
|
|
||||||
'lineHeight' => '36px',
|
|
||||||
'fontColor' => '#ffffff',
|
|
||||||
'fontFamily' => 'Lucida',
|
|
||||||
'fontSize' => '16px',
|
|
||||||
'fontWeight' => 'normal',
|
|
||||||
'textAlign' => 'center',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
4 =>
|
|
||||||
array (
|
|
||||||
'type' => 'spacer',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
'height' => '20px',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'context' => 'automatedLatestContentLayout.readMoreButton',
|
||||||
),
|
),
|
||||||
|
'sortBy' => 'newest',
|
||||||
|
'showDivider' => true,
|
||||||
|
'divider' =>
|
||||||
|
array (
|
||||||
|
'type' => 'divider',
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => '#f0f0f0',
|
||||||
|
'padding' => '13px',
|
||||||
|
'borderStyle' => 'solid',
|
||||||
|
'borderWidth' => '30px',
|
||||||
|
'borderColor' => '#f0f0f0',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'context' => 'automatedLatestContentLayout.divider',
|
||||||
|
),
|
||||||
|
'backgroundColor' => '#ffffff',
|
||||||
|
'backgroundColorAlternate' => '#eeeeee',
|
||||||
),
|
),
|
||||||
2 =>
|
2 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -235,244 +222,11 @@ class WideStoryLayout {
|
|||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
'styles' =>
|
'image' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'src' => NULL,
|
||||||
array (
|
'display' => 'scale',
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
'blocks' =>
|
|
||||||
array (
|
|
||||||
0 =>
|
|
||||||
array (
|
|
||||||
'type' => 'spacer',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => '#f0f0f0',
|
|
||||||
'height' => '40px',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
1 =>
|
|
||||||
array (
|
|
||||||
'type' => 'image',
|
|
||||||
'link' => 'http://mailpoet.info/cutting-through-the-smog-what-to-do-to-fight-air-pollution/',
|
|
||||||
'src' => $this->template_image_url . '/gettyimages-578313682-800x533.jpg',
|
|
||||||
'alt' => 'gettyimages-578313682-800x533',
|
|
||||||
'fullWidth' => true,
|
|
||||||
'width' => '800px',
|
|
||||||
'height' => '533px',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'textAlign' => 'center',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
2 =>
|
|
||||||
array (
|
|
||||||
'type' => 'spacer',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
'height' => '30px',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
3 =>
|
|
||||||
array (
|
|
||||||
'type' => 'text',
|
|
||||||
'text' => '<h3 style="text-align: center;" data-post-id="1997">Ladybird’s transparent shell reveals how it folds its wings</h3>
|
|
||||||
<p class="mailpoet_wp_post" style="text-align: center;">They certainly know how to fold. A see-through artificial wing case has been used to watch for the first time as ladybirds put away their wings after flight.</p>',
|
|
||||||
),
|
|
||||||
4 =>
|
|
||||||
array (
|
|
||||||
'type' => 'button',
|
|
||||||
'text' => 'Read The Post',
|
|
||||||
'url' => '',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => '#5ecd39',
|
|
||||||
'borderColor' => '#000000',
|
|
||||||
'borderWidth' => '0px',
|
|
||||||
'borderRadius' => '5px',
|
|
||||||
'borderStyle' => 'solid',
|
|
||||||
'width' => '288px',
|
|
||||||
'lineHeight' => '36px',
|
|
||||||
'fontColor' => '#ffffff',
|
|
||||||
'fontFamily' => 'Lucida',
|
|
||||||
'fontSize' => '16px',
|
|
||||||
'fontWeight' => 'normal',
|
|
||||||
'textAlign' => 'center',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
5 =>
|
|
||||||
array (
|
|
||||||
'type' => 'spacer',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
'height' => '20px',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
6 =>
|
|
||||||
array (
|
|
||||||
'type' => 'spacer',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => '#f0f0f0',
|
|
||||||
'height' => '40px',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
3 =>
|
|
||||||
array (
|
|
||||||
'type' => 'container',
|
|
||||||
'orientation' => 'horizontal',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'blocks' =>
|
|
||||||
array (
|
|
||||||
0 =>
|
|
||||||
array (
|
|
||||||
'type' => 'container',
|
|
||||||
'orientation' => 'vertical',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'blocks' =>
|
|
||||||
array (
|
|
||||||
0 =>
|
|
||||||
array (
|
|
||||||
'type' => 'image',
|
|
||||||
'link' => 'http://mailpoet.info/cutting-through-the-smog-what-to-do-to-fight-air-pollution/',
|
|
||||||
'src' => $this->template_image_url . '/plasma-stingray111-800x533.jpg',
|
|
||||||
'alt' => 'plasma-stingray111-800x533',
|
|
||||||
'fullWidth' => true,
|
|
||||||
'width' => '800px',
|
|
||||||
'height' => '533px',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'textAlign' => 'center',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
1 =>
|
|
||||||
array (
|
|
||||||
'type' => 'spacer',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
'height' => '30px',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
2 =>
|
|
||||||
array (
|
|
||||||
'type' => 'text',
|
|
||||||
'text' => '<h3 style="text-align: center;" data-post-id="1997">Plasma jet engines that could take you from the ground to space</h3>
|
|
||||||
<p class="mailpoet_wp_post" style="text-align: center;">Forget fuel-powered jet engines. We’re on the verge of having aircraft that can fly from the ground up to the edge of space using air and electricity alone.</p>',
|
|
||||||
),
|
|
||||||
3 =>
|
|
||||||
array (
|
|
||||||
'type' => 'button',
|
|
||||||
'text' => 'Read The Post',
|
|
||||||
'url' => '',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => '#5ecd39',
|
|
||||||
'borderColor' => '#000000',
|
|
||||||
'borderWidth' => '0px',
|
|
||||||
'borderRadius' => '5px',
|
|
||||||
'borderStyle' => 'solid',
|
|
||||||
'width' => '288px',
|
|
||||||
'lineHeight' => '36px',
|
|
||||||
'fontColor' => '#ffffff',
|
|
||||||
'fontFamily' => 'Lucida',
|
|
||||||
'fontSize' => '16px',
|
|
||||||
'fontWeight' => 'normal',
|
|
||||||
'textAlign' => 'center',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
4 =>
|
|
||||||
array (
|
|
||||||
'type' => 'spacer',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
'height' => '20px',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
5 =>
|
|
||||||
array (
|
|
||||||
'type' => 'spacer',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => '#f0f0f0',
|
|
||||||
'height' => '40px',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
4 =>
|
|
||||||
array (
|
|
||||||
'type' => 'container',
|
|
||||||
'orientation' => 'horizontal',
|
|
||||||
'styles' =>
|
|
||||||
array (
|
|
||||||
'block' =>
|
|
||||||
array (
|
|
||||||
'backgroundColor' => 'transparent',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'blocks' =>
|
|
||||||
array (
|
|
||||||
0 =>
|
|
||||||
array (
|
|
||||||
'type' => 'container',
|
|
||||||
'orientation' => 'vertical',
|
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -486,7 +240,7 @@ class WideStoryLayout {
|
|||||||
array (
|
array (
|
||||||
'type' => 'image',
|
'type' => 'image',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'src' => $this->template_image_url . '/Wide-Footer.jpg',
|
'src' => 'https://ps.w.org/mailpoet/assets/newsletter-templates/wide-story-layout/Wide-Footer.jpg',
|
||||||
'alt' => 'Wide-Footer',
|
'alt' => 'Wide-Footer',
|
||||||
'fullWidth' => true,
|
'fullWidth' => true,
|
||||||
'width' => '1280px',
|
'width' => '1280px',
|
||||||
@ -503,10 +257,15 @@ class WideStoryLayout {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
5 =>
|
3 =>
|
||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'horizontal',
|
'orientation' => 'horizontal',
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -520,6 +279,11 @@ class WideStoryLayout {
|
|||||||
array (
|
array (
|
||||||
'type' => 'container',
|
'type' => 'container',
|
||||||
'orientation' => 'vertical',
|
'orientation' => 'vertical',
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
'styles' =>
|
'styles' =>
|
||||||
array (
|
array (
|
||||||
'block' =>
|
'block' =>
|
||||||
@ -552,7 +316,7 @@ class WideStoryLayout {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'facebook',
|
'iconType' => 'facebook',
|
||||||
'link' => 'http://www.facebook.com',
|
'link' => 'http://www.facebook.com',
|
||||||
'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet-sg.com/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/08-full-symbol-grey/Facebook.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Facebook',
|
'text' => 'Facebook',
|
||||||
@ -562,7 +326,7 @@ class WideStoryLayout {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'twitter',
|
'iconType' => 'twitter',
|
||||||
'link' => 'http://www.twitter.com',
|
'link' => 'http://www.twitter.com',
|
||||||
'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet-sg.com/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/08-full-symbol-grey/Twitter.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Twitter',
|
'text' => 'Twitter',
|
||||||
@ -572,7 +336,7 @@ class WideStoryLayout {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'website',
|
'iconType' => 'website',
|
||||||
'link' => '',
|
'link' => '',
|
||||||
'image' => $this->social_icon_url . '/08-full-symbol-grey/Website.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet-sg.com/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/08-full-symbol-grey/Website.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Website',
|
'text' => 'Website',
|
||||||
@ -582,7 +346,7 @@ class WideStoryLayout {
|
|||||||
'type' => 'socialIcon',
|
'type' => 'socialIcon',
|
||||||
'iconType' => 'instagram',
|
'iconType' => 'instagram',
|
||||||
'link' => 'http://instagram.com',
|
'link' => 'http://instagram.com',
|
||||||
'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png?mailpoet_version=3.0.0-rc.2.0.0',
|
'image' => 'http://mailpoet-sg.com/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/08-full-symbol-grey/Instagram.png?mailpoet_version=3.0.0-rc.2.0.0',
|
||||||
'height' => '32px',
|
'height' => '32px',
|
||||||
'width' => '32px',
|
'width' => '32px',
|
||||||
'text' => 'Instagram',
|
'text' => 'Instagram',
|
||||||
@ -671,7 +435,341 @@ class WideStoryLayout {
|
|||||||
'backgroundColor' => '#f0f0f0',
|
'backgroundColor' => '#f0f0f0',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'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' => '3',
|
||||||
|
'withLayout' => true,
|
||||||
|
'contentType' => 'post',
|
||||||
|
'inclusionType' => 'include',
|
||||||
|
'displayType' => 'excerpt',
|
||||||
|
'titleFormat' => 'h3',
|
||||||
|
'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 The Post',
|
||||||
|
'url' => '[postLink]',
|
||||||
|
'context' => 'automatedLatestContentLayout.readMoreButton',
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => '#5ecd39',
|
||||||
|
'borderColor' => '#000000',
|
||||||
|
'borderWidth' => '0px',
|
||||||
|
'borderRadius' => '5px',
|
||||||
|
'borderStyle' => 'solid',
|
||||||
|
'width' => '288px',
|
||||||
|
'lineHeight' => '36px',
|
||||||
|
'fontColor' => '#ffffff',
|
||||||
|
'fontFamily' => 'Lucida',
|
||||||
|
'fontSize' => '16px',
|
||||||
|
'fontWeight' => 'normal',
|
||||||
|
'textAlign' => 'center',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'type' => 'button',
|
||||||
|
),
|
||||||
|
'sortBy' => 'newest',
|
||||||
|
'showDivider' => true,
|
||||||
|
'divider' =>
|
||||||
|
array (
|
||||||
|
'context' => 'automatedLatestContentLayout.divider',
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => '#f0f0f0',
|
||||||
|
'padding' => '13px',
|
||||||
|
'borderStyle' => 'solid',
|
||||||
|
'borderWidth' => '30px',
|
||||||
|
'borderColor' => '#f0f0f0',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'type' => 'divider',
|
||||||
|
),
|
||||||
|
'backgroundColor' => '#ffffff',
|
||||||
|
'backgroundColorAlternate' => '#eeeeee',
|
||||||
|
'type' => 'automatedLatestContentLayout',
|
||||||
|
'terms' =>
|
||||||
|
array (
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'button' =>
|
||||||
|
array (
|
||||||
|
'text' => 'Read The Post',
|
||||||
|
'url' => '[postLink]',
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => '#5ecd39',
|
||||||
|
'borderColor' => '#000000',
|
||||||
|
'borderWidth' => '0px',
|
||||||
|
'borderRadius' => '5px',
|
||||||
|
'borderStyle' => 'solid',
|
||||||
|
'width' => '288px',
|
||||||
|
'lineHeight' => '36px',
|
||||||
|
'fontColor' => '#ffffff',
|
||||||
|
'fontFamily' => 'Lucida',
|
||||||
|
'fontSize' => '16px',
|
||||||
|
'fontWeight' => 'normal',
|
||||||
|
'textAlign' => 'center',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'type' => 'button',
|
||||||
|
),
|
||||||
|
'container' =>
|
||||||
|
array (
|
||||||
|
'image' =>
|
||||||
|
array (
|
||||||
|
'src' => NULL,
|
||||||
|
'display' => 'scale',
|
||||||
|
),
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => 'transparent',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'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' => '#6cb7d4',
|
||||||
|
'textDecoration' => 'none',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'posts' =>
|
||||||
|
array (
|
||||||
|
'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' =>
|
||||||
|
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',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'sortBy' => 'newest',
|
||||||
|
'showDivider' => true,
|
||||||
|
'divider' =>
|
||||||
|
array (
|
||||||
|
'context' => 'posts.divider',
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => 'transparent',
|
||||||
|
'padding' => '13px',
|
||||||
|
'borderStyle' => 'solid',
|
||||||
|
'borderWidth' => '3px',
|
||||||
|
'borderColor' => '#aaaaaa',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'backgroundColor' => '#ffffff',
|
||||||
|
'backgroundColorAlternate' => '#eeeeee',
|
||||||
|
),
|
||||||
|
'social' =>
|
||||||
|
array (
|
||||||
|
'iconSet' => 'default',
|
||||||
|
'icons' =>
|
||||||
|
array (
|
||||||
|
0 =>
|
||||||
|
array (
|
||||||
|
'type' => 'socialIcon',
|
||||||
|
'iconType' => 'facebook',
|
||||||
|
'link' => 'http://www.facebook.com',
|
||||||
|
'image' => 'http://mailpoet-sg.com/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/01-social/Facebook.png?mailpoet_version=3.11.1',
|
||||||
|
'height' => '32px',
|
||||||
|
'width' => '32px',
|
||||||
|
'text' => 'Facebook',
|
||||||
|
),
|
||||||
|
1 =>
|
||||||
|
array (
|
||||||
|
'type' => 'socialIcon',
|
||||||
|
'iconType' => 'twitter',
|
||||||
|
'link' => 'http://www.twitter.com',
|
||||||
|
'image' => 'http://mailpoet-sg.com/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/01-social/Twitter.png?mailpoet_version=3.11.1',
|
||||||
|
'height' => '32px',
|
||||||
|
'width' => '32px',
|
||||||
|
'text' => 'Twitter',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'spacer' =>
|
||||||
|
array (
|
||||||
|
'styles' =>
|
||||||
|
array (
|
||||||
|
'block' =>
|
||||||
|
array (
|
||||||
|
'backgroundColor' => '#ffffff',
|
||||||
|
'height' => '40px',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'type' => 'spacer',
|
||||||
|
),
|
||||||
|
'header' =>
|
||||||
|
array (
|
||||||
|
'text' => 'Display problems? <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',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user