AppWelcome.php
1 year ago
Avocado.php
1 year ago
Birds.php
1 year ago
BirthdayCelebration.php
2 months ago
BookStoreWithCoupon.php
1 year ago
BrandingAgencyNews.php
1 year ago
BuddhistTemple.php
1 year ago
Charity.php
1 year ago
CityLocalNews.php
1 year ago
ClearNews.php
1 year ago
Coffee.php
1 year ago
College.php
1 year ago
ComputerRepair.php
1 year ago
ConfirmInterestBeforeDeactivation.php
2 years ago
ConfirmInterestOrUnsubscribe.php
2 years ago
DogFood.php
1 year ago
Drone.php
1 year ago
Engineering.php
1 year ago
Faith.php
1 year ago
FarmersMarket.php
1 year ago
FashionBlog.php
1 year ago
FashionBlogA.php
1 year ago
FashionShop.php
1 year ago
FashionStore.php
1 year ago
FestivalEvent.php
1 year ago
Fitness.php
1 year ago
FlowersWithCoupon.php
1 year ago
FoodBox.php
1 year ago
GiftWelcome.php
1 year ago
Guitarist.php
1 year ago
HealthyFoodBlog.php
1 year ago
Hotels.php
1 year ago
IndustryConference.php
1 year ago
JazzClub.php
1 year ago
KidsClothing.php
1 year ago
LifestyleBlogA.php
1 year ago
LifestyleBlogB.php
1 year ago
Minimal.php
1 year ago
ModularStyleStories.php
1 year ago
Mosque.php
1 year ago
Motor.php
1 year ago
Music.php
1 year ago
NewsDay.php
1 year ago
NewsletterBlank121Column.php
1 year ago
NewsletterBlank12Column.php
1 year ago
NewsletterBlank13Column.php
1 year ago
NewsletterBlank1Column.php
1 year ago
NewspaperTraditional.php
1 year ago
NotSoMedium.php
1 year ago
Painter.php
1 year ago
Phone.php
1 year ago
Photography.php
1 year ago
PieceOfCake.php
1 year ago
Poet.php
1 year ago
PostNotificationsBlank1Column.php
1 year ago
PrimarySchool.php
1 year ago
RealEstate.php
1 year ago
RenewableEnergy.php
1 year ago
Retro.php
1 year ago
RetroComputingMagazine.php
1 year ago
RockBand.php
1 year ago
RssSimpleNews.php
1 year ago
ScienceWeekly.php
1 year ago
Shoes.php
1 year ago
SimpleText.php
2 years ago
Software.php
1 year ago
Sunglasses.php
1 year ago
Synagogue.php
1 year ago
TakeAHike.php
1 year ago
Vlogger.php
1 year ago
WelcomeBlank12Column.php
1 year ago
WelcomeBlank1Column.php
1 year ago
WideStoryLayout.php
1 year ago
WineCity.php
1 year ago
WordPressTheme.php
1 year ago
WorldCup.php
1 year ago
YogaStudio.php
1 year ago
index.php
3 years ago
ModularStyleStories.php
1450 lines
| 1 | <?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing |
| 2 | |
| 3 | namespace MailPoet\Config\PopulatorData\Templates; |
| 4 | |
| 5 | if (!defined('ABSPATH')) exit; |
| 6 | |
| 7 | |
| 8 | class ModularStyleStories { |
| 9 | |
| 10 | private $template_image_url; |
| 11 | private $social_icon_url; |
| 12 | |
| 13 | public function __construct( |
| 14 | $assets_url |
| 15 | ) { |
| 16 | $this->template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/modular-style-stories'; |
| 17 | $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; |
| 18 | } |
| 19 | |
| 20 | public function get() { |
| 21 | return [ |
| 22 | 'name' => __("Modular Style Stories", 'mailpoet'), |
| 23 | 'categories' => json_encode(['notification', 'all']), |
| 24 | 'readonly' => 1, |
| 25 | 'thumbnail' => $this->getThumbnail(), |
| 26 | 'body' => json_encode($this->getBody()), |
| 27 | ]; |
| 28 | } |
| 29 | |
| 30 | private function getThumbnail() { |
| 31 | return $this->template_image_url . '/thumbnail.20190411-1500.jpg'; |
| 32 | } |
| 33 | |
| 34 | private function getBody() { |
| 35 | return [ |
| 36 | 'content' => |
| 37 | [ |
| 38 | 'type' => 'container', |
| 39 | 'columnLayout' => false, |
| 40 | 'orientation' => 'vertical', |
| 41 | 'image' => |
| 42 | [ |
| 43 | 'src' => null, |
| 44 | 'display' => 'scale', |
| 45 | ], |
| 46 | 'styles' => |
| 47 | [ |
| 48 | 'block' => |
| 49 | [ |
| 50 | 'backgroundColor' => 'transparent', |
| 51 | ], |
| 52 | ], |
| 53 | 'blocks' => |
| 54 | [ |
| 55 | 0 => |
| 56 | [ |
| 57 | 'type' => 'container', |
| 58 | 'columnLayout' => false, |
| 59 | 'orientation' => 'horizontal', |
| 60 | 'image' => |
| 61 | [ |
| 62 | 'src' => null, |
| 63 | 'display' => 'scale', |
| 64 | ], |
| 65 | 'styles' => |
| 66 | [ |
| 67 | 'block' => |
| 68 | [ |
| 69 | 'backgroundColor' => '#efe7f0', |
| 70 | ], |
| 71 | ], |
| 72 | 'blocks' => |
| 73 | [ |
| 74 | 0 => |
| 75 | [ |
| 76 | 'type' => 'container', |
| 77 | 'columnLayout' => false, |
| 78 | 'orientation' => 'vertical', |
| 79 | 'image' => |
| 80 | [ |
| 81 | 'src' => null, |
| 82 | 'display' => 'scale', |
| 83 | ], |
| 84 | 'styles' => |
| 85 | [ |
| 86 | 'block' => |
| 87 | [ |
| 88 | 'backgroundColor' => 'transparent', |
| 89 | ], |
| 90 | ], |
| 91 | 'blocks' => |
| 92 | [ |
| 93 | 0 => |
| 94 | [ |
| 95 | 'type' => 'spacer', |
| 96 | 'styles' => |
| 97 | [ |
| 98 | 'block' => |
| 99 | [ |
| 100 | 'backgroundColor' => 'transparent', |
| 101 | 'height' => '20px', |
| 102 | ], |
| 103 | ], |
| 104 | ], |
| 105 | ], |
| 106 | ], |
| 107 | ], |
| 108 | ], |
| 109 | 1 => |
| 110 | [ |
| 111 | 'type' => 'container', |
| 112 | 'columnLayout' => false, |
| 113 | 'orientation' => 'horizontal', |
| 114 | 'image' => |
| 115 | [ |
| 116 | 'src' => null, |
| 117 | 'display' => 'scale', |
| 118 | ], |
| 119 | 'styles' => |
| 120 | [ |
| 121 | 'block' => |
| 122 | [ |
| 123 | 'backgroundColor' => '#efe7f0', |
| 124 | ], |
| 125 | ], |
| 126 | 'blocks' => |
| 127 | [ |
| 128 | 0 => |
| 129 | [ |
| 130 | 'type' => 'container', |
| 131 | 'columnLayout' => false, |
| 132 | 'orientation' => 'vertical', |
| 133 | 'image' => |
| 134 | [ |
| 135 | 'src' => null, |
| 136 | 'display' => 'scale', |
| 137 | ], |
| 138 | 'styles' => |
| 139 | [ |
| 140 | 'block' => |
| 141 | [ |
| 142 | 'backgroundColor' => 'transparent', |
| 143 | ], |
| 144 | ], |
| 145 | 'blocks' => |
| 146 | [ |
| 147 | 0 => |
| 148 | [ |
| 149 | 'type' => 'spacer', |
| 150 | 'styles' => |
| 151 | [ |
| 152 | 'block' => |
| 153 | [ |
| 154 | 'backgroundColor' => 'transparent', |
| 155 | 'height' => '20px', |
| 156 | ], |
| 157 | ], |
| 158 | ], |
| 159 | 1 => |
| 160 | [ |
| 161 | 'type' => 'image', |
| 162 | 'link' => '', |
| 163 | 'src' => $this->template_image_url . '/Modular-Logo.png', |
| 164 | 'alt' => 'Modular-Logo', |
| 165 | 'fullWidth' => false, |
| 166 | 'width' => '271px', |
| 167 | 'height' => '37px', |
| 168 | 'styles' => |
| 169 | [ |
| 170 | 'block' => |
| 171 | [ |
| 172 | 'textAlign' => 'center', |
| 173 | ], |
| 174 | ], |
| 175 | ], |
| 176 | ], |
| 177 | ], |
| 178 | 1 => |
| 179 | [ |
| 180 | 'type' => 'container', |
| 181 | 'columnLayout' => false, |
| 182 | 'orientation' => 'vertical', |
| 183 | 'image' => |
| 184 | [ |
| 185 | 'src' => null, |
| 186 | 'display' => 'scale', |
| 187 | ], |
| 188 | 'styles' => |
| 189 | [ |
| 190 | 'block' => |
| 191 | [ |
| 192 | 'backgroundColor' => 'transparent', |
| 193 | ], |
| 194 | ], |
| 195 | 'blocks' => |
| 196 | [ |
| 197 | 0 => |
| 198 | [ |
| 199 | 'type' => 'spacer', |
| 200 | 'styles' => |
| 201 | [ |
| 202 | 'block' => |
| 203 | [ |
| 204 | 'backgroundColor' => 'transparent', |
| 205 | 'height' => '26px', |
| 206 | ], |
| 207 | ], |
| 208 | ], |
| 209 | 1 => |
| 210 | [ |
| 211 | 'type' => 'social', |
| 212 | 'iconSet' => 'official', |
| 213 | 'icons' => |
| 214 | [ |
| 215 | 0 => |
| 216 | [ |
| 217 | 'type' => 'socialIcon', |
| 218 | 'iconType' => 'facebook', |
| 219 | 'link' => 'http://www.facebook.com', |
| 220 | 'image' => $this->social_icon_url . '/11-official/Facebook.png', |
| 221 | 'height' => '32px', |
| 222 | 'width' => '32px', |
| 223 | 'text' => 'Facebook', |
| 224 | ], |
| 225 | 1 => |
| 226 | [ |
| 227 | 'type' => 'socialIcon', |
| 228 | 'iconType' => 'twitter', |
| 229 | 'link' => 'http://www.twitter.com', |
| 230 | 'image' => $this->social_icon_url . '/11-official/X.png', |
| 231 | 'height' => '32px', |
| 232 | 'width' => '32px', |
| 233 | 'text' => 'Twitter', |
| 234 | ], |
| 235 | 2 => |
| 236 | [ |
| 237 | 'type' => 'socialIcon', |
| 238 | 'iconType' => 'instagram', |
| 239 | 'link' => 'http://instagram.com', |
| 240 | 'image' => $this->social_icon_url . '/11-official/Instagram.png', |
| 241 | 'height' => '32px', |
| 242 | 'width' => '32px', |
| 243 | 'text' => 'Instagram', |
| 244 | ], |
| 245 | 3 => |
| 246 | [ |
| 247 | 'type' => 'socialIcon', |
| 248 | 'iconType' => 'pinterest', |
| 249 | 'link' => 'http://www.pinterest.com', |
| 250 | 'image' => $this->social_icon_url . '/11-official/Pinterest.png', |
| 251 | 'height' => '32px', |
| 252 | 'width' => '32px', |
| 253 | 'text' => 'Pinterest', |
| 254 | ], |
| 255 | ], |
| 256 | ], |
| 257 | ], |
| 258 | ], |
| 259 | ], |
| 260 | ], |
| 261 | 2 => |
| 262 | [ |
| 263 | 'type' => 'container', |
| 264 | 'columnLayout' => false, |
| 265 | 'orientation' => 'horizontal', |
| 266 | 'image' => |
| 267 | [ |
| 268 | 'src' => null, |
| 269 | 'display' => 'scale', |
| 270 | ], |
| 271 | 'styles' => |
| 272 | [ |
| 273 | 'block' => |
| 274 | [ |
| 275 | 'backgroundColor' => 'transparent', |
| 276 | ], |
| 277 | ], |
| 278 | 'blocks' => |
| 279 | [ |
| 280 | 0 => |
| 281 | [ |
| 282 | 'type' => 'container', |
| 283 | 'columnLayout' => false, |
| 284 | 'orientation' => 'vertical', |
| 285 | 'image' => |
| 286 | [ |
| 287 | 'src' => null, |
| 288 | 'display' => 'scale', |
| 289 | ], |
| 290 | 'styles' => |
| 291 | [ |
| 292 | 'block' => |
| 293 | [ |
| 294 | 'backgroundColor' => 'transparent', |
| 295 | ], |
| 296 | ], |
| 297 | 'blocks' => |
| 298 | [ |
| 299 | 0 => |
| 300 | [ |
| 301 | 'type' => 'spacer', |
| 302 | 'styles' => |
| 303 | [ |
| 304 | 'block' => |
| 305 | [ |
| 306 | 'backgroundColor' => '#efe7f0', |
| 307 | 'height' => '40px', |
| 308 | ], |
| 309 | ], |
| 310 | ], |
| 311 | ], |
| 312 | ], |
| 313 | ], |
| 314 | ], |
| 315 | 3 => |
| 316 | [ |
| 317 | 'type' => 'automatedLatestContentLayout', |
| 318 | 'withLayout' => true, |
| 319 | 'amount' => '3', |
| 320 | 'contentType' => 'post', |
| 321 | 'terms' => |
| 322 | [ |
| 323 | ], |
| 324 | 'inclusionType' => 'include', |
| 325 | 'displayType' => 'excerpt', |
| 326 | 'titleFormat' => 'h3', |
| 327 | 'titleAlignment' => 'left', |
| 328 | 'titleIsLink' => false, |
| 329 | 'imageFullWidth' => false, |
| 330 | 'featuredImagePosition' => 'alternate', |
| 331 | 'showAuthor' => 'no', |
| 332 | 'authorPrecededBy' => 'Author:', |
| 333 | 'showCategories' => 'no', |
| 334 | 'categoriesPrecededBy' => 'Categories:', |
| 335 | 'readMoreType' => 'button', |
| 336 | 'readMoreText' => 'Read more', |
| 337 | 'readMoreButton' => |
| 338 | [ |
| 339 | 'type' => 'button', |
| 340 | 'text' => 'Read more', |
| 341 | 'url' => '[postLink]', |
| 342 | 'styles' => |
| 343 | [ |
| 344 | 'block' => |
| 345 | [ |
| 346 | 'backgroundColor' => '#ffffff', |
| 347 | 'borderColor' => '#ffffff', |
| 348 | 'borderWidth' => '1px', |
| 349 | 'borderRadius' => '0px', |
| 350 | 'borderStyle' => 'solid', |
| 351 | 'width' => '120px', |
| 352 | 'lineHeight' => '40px', |
| 353 | 'fontColor' => '#b956c5', |
| 354 | 'fontFamily' => 'Verdana', |
| 355 | 'fontSize' => '18px', |
| 356 | 'fontWeight' => 'normal', |
| 357 | 'textAlign' => 'center', |
| 358 | ], |
| 359 | ], |
| 360 | 'context' => 'automatedLatestContentLayout.readMoreButton', |
| 361 | ], |
| 362 | 'sortBy' => 'newest', |
| 363 | 'showDivider' => true, |
| 364 | 'divider' => |
| 365 | [ |
| 366 | 'type' => 'divider', |
| 367 | 'styles' => |
| 368 | [ |
| 369 | 'block' => |
| 370 | [ |
| 371 | 'backgroundColor' => 'transparent', |
| 372 | 'padding' => '13px', |
| 373 | 'borderStyle' => 'dashed', |
| 374 | 'borderWidth' => '3px', |
| 375 | 'borderColor' => '#efe7f0', |
| 376 | ], |
| 377 | ], |
| 378 | 'context' => 'automatedLatestContentLayout.divider', |
| 379 | ], |
| 380 | 'backgroundColor' => '#ffffff', |
| 381 | 'backgroundColorAlternate' => '#eeeeee', |
| 382 | ], |
| 383 | 4 => |
| 384 | [ |
| 385 | 'type' => 'container', |
| 386 | 'columnLayout' => false, |
| 387 | 'orientation' => 'horizontal', |
| 388 | 'image' => |
| 389 | [ |
| 390 | 'src' => null, |
| 391 | 'display' => 'scale', |
| 392 | ], |
| 393 | 'styles' => |
| 394 | [ |
| 395 | 'block' => |
| 396 | [ |
| 397 | 'backgroundColor' => 'transparent', |
| 398 | ], |
| 399 | ], |
| 400 | 'blocks' => |
| 401 | [ |
| 402 | 0 => |
| 403 | [ |
| 404 | 'type' => 'container', |
| 405 | 'columnLayout' => false, |
| 406 | 'orientation' => 'vertical', |
| 407 | 'image' => |
| 408 | [ |
| 409 | 'src' => null, |
| 410 | 'display' => 'scale', |
| 411 | ], |
| 412 | 'styles' => |
| 413 | [ |
| 414 | 'block' => |
| 415 | [ |
| 416 | 'backgroundColor' => 'transparent', |
| 417 | ], |
| 418 | ], |
| 419 | 'blocks' => |
| 420 | [ |
| 421 | 0 => |
| 422 | [ |
| 423 | 'type' => 'spacer', |
| 424 | 'styles' => |
| 425 | [ |
| 426 | 'block' => |
| 427 | [ |
| 428 | 'backgroundColor' => '#efe7f0', |
| 429 | 'height' => '40px', |
| 430 | ], |
| 431 | ], |
| 432 | ], |
| 433 | ], |
| 434 | ], |
| 435 | ], |
| 436 | ], |
| 437 | 5 => |
| 438 | [ |
| 439 | 'type' => 'container', |
| 440 | 'columnLayout' => false, |
| 441 | 'orientation' => 'horizontal', |
| 442 | 'image' => |
| 443 | [ |
| 444 | 'src' => null, |
| 445 | 'display' => 'scale', |
| 446 | ], |
| 447 | 'styles' => |
| 448 | [ |
| 449 | 'block' => |
| 450 | [ |
| 451 | 'backgroundColor' => '#b956c5', |
| 452 | ], |
| 453 | ], |
| 454 | 'blocks' => |
| 455 | [ |
| 456 | 0 => |
| 457 | [ |
| 458 | 'type' => 'container', |
| 459 | 'columnLayout' => false, |
| 460 | 'orientation' => 'vertical', |
| 461 | 'image' => |
| 462 | [ |
| 463 | 'src' => null, |
| 464 | 'display' => 'scale', |
| 465 | ], |
| 466 | 'styles' => |
| 467 | [ |
| 468 | 'block' => |
| 469 | [ |
| 470 | 'backgroundColor' => 'transparent', |
| 471 | ], |
| 472 | ], |
| 473 | 'blocks' => |
| 474 | [ |
| 475 | 0 => |
| 476 | [ |
| 477 | 'type' => 'image', |
| 478 | 'link' => 'http://mailpoet.info/ladybirds-transparent-shell-reveals-how-it-folds-its-wings/', |
| 479 | 'src' => $this->template_image_url . '/gettyimages-578313682-800x533.jpg', |
| 480 | 'alt' => 'Ladybird’s transparent shell reveals how it folds its wings', |
| 481 | 'fullWidth' => false, |
| 482 | 'width' => 660, |
| 483 | 'height' => 440, |
| 484 | 'styles' => |
| 485 | [ |
| 486 | 'block' => |
| 487 | [ |
| 488 | 'textAlign' => 'center', |
| 489 | ], |
| 490 | ], |
| 491 | ], |
| 492 | 1 => |
| 493 | [ |
| 494 | 'type' => 'text', |
| 495 | 'text' => '<h3 style="text-align: left;"><strong>Ladybird’s transparent shell reveals how it folds its wings</strong></h3> |
| 496 | <p class="mailpoet_wp_post">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>', |
| 497 | ], |
| 498 | 2 => |
| 499 | [ |
| 500 | 'type' => 'button', |
| 501 | 'text' => 'Read More', |
| 502 | 'url' => 'http://mailpoet.info/ladybirds-transparent-shell-reveals-how-it-folds-its-wings/', |
| 503 | 'styles' => |
| 504 | [ |
| 505 | 'block' => |
| 506 | [ |
| 507 | 'backgroundColor' => '#b956c5', |
| 508 | 'borderColor' => '#000000', |
| 509 | 'borderWidth' => '0px', |
| 510 | 'borderRadius' => '0px', |
| 511 | 'borderStyle' => 'solid', |
| 512 | 'width' => '103px', |
| 513 | 'lineHeight' => '34px', |
| 514 | 'fontColor' => '#ffffff', |
| 515 | 'fontFamily' => 'Arial', |
| 516 | 'fontSize' => '16px', |
| 517 | 'fontWeight' => 'normal', |
| 518 | 'textAlign' => 'left', |
| 519 | ], |
| 520 | ], |
| 521 | ], |
| 522 | ], |
| 523 | ], |
| 524 | 1 => |
| 525 | [ |
| 526 | 'type' => 'container', |
| 527 | 'columnLayout' => false, |
| 528 | 'orientation' => 'vertical', |
| 529 | 'image' => |
| 530 | [ |
| 531 | 'src' => null, |
| 532 | 'display' => 'scale', |
| 533 | ], |
| 534 | 'styles' => |
| 535 | [ |
| 536 | 'block' => |
| 537 | [ |
| 538 | 'backgroundColor' => 'transparent', |
| 539 | ], |
| 540 | ], |
| 541 | 'blocks' => |
| 542 | [ |
| 543 | 0 => |
| 544 | [ |
| 545 | 'type' => 'image', |
| 546 | 'link' => 'http://mailpoet.info/plasma-jet-engines-that-could-take-you-from-the-ground-to-space/', |
| 547 | 'src' => $this->template_image_url . '/plasma-stingray111-800x533.jpg', |
| 548 | 'alt' => 'Plasma jet engines that could take you from the ground to space', |
| 549 | 'fullWidth' => false, |
| 550 | 'width' => 660, |
| 551 | 'height' => 440, |
| 552 | 'styles' => |
| 553 | [ |
| 554 | 'block' => |
| 555 | [ |
| 556 | 'textAlign' => 'center', |
| 557 | ], |
| 558 | ], |
| 559 | ], |
| 560 | 1 => |
| 561 | [ |
| 562 | 'type' => 'text', |
| 563 | 'text' => '<h3 style="text-align: left;"><strong>Plasma jet engines that could take you from ground to space</strong></h3> |
| 564 | <p class="mailpoet_wp_post">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>', |
| 565 | ], |
| 566 | 2 => |
| 567 | [ |
| 568 | 'type' => 'button', |
| 569 | 'text' => 'Read More', |
| 570 | 'url' => 'http://mailpoet.info/plasma-jet-engines-that-could-take-you-from-the-ground-to-space/', |
| 571 | 'styles' => |
| 572 | [ |
| 573 | 'block' => |
| 574 | [ |
| 575 | 'backgroundColor' => '#b956c5', |
| 576 | 'borderColor' => '#000000', |
| 577 | 'borderWidth' => '0px', |
| 578 | 'borderRadius' => '0px', |
| 579 | 'borderStyle' => 'solid', |
| 580 | 'width' => '103px', |
| 581 | 'lineHeight' => '34px', |
| 582 | 'fontColor' => '#ffffff', |
| 583 | 'fontFamily' => 'Arial', |
| 584 | 'fontSize' => '16px', |
| 585 | 'fontWeight' => 'normal', |
| 586 | 'textAlign' => 'left', |
| 587 | ], |
| 588 | ], |
| 589 | ], |
| 590 | ], |
| 591 | ], |
| 592 | ], |
| 593 | ], |
| 594 | 6 => |
| 595 | [ |
| 596 | 'type' => 'container', |
| 597 | 'columnLayout' => false, |
| 598 | 'orientation' => 'horizontal', |
| 599 | 'image' => |
| 600 | [ |
| 601 | 'src' => null, |
| 602 | 'display' => 'scale', |
| 603 | ], |
| 604 | 'styles' => |
| 605 | [ |
| 606 | 'block' => |
| 607 | [ |
| 608 | 'backgroundColor' => '#efe7f0', |
| 609 | ], |
| 610 | ], |
| 611 | 'blocks' => |
| 612 | [ |
| 613 | 0 => |
| 614 | [ |
| 615 | 'type' => 'container', |
| 616 | 'columnLayout' => false, |
| 617 | 'orientation' => 'vertical', |
| 618 | 'image' => |
| 619 | [ |
| 620 | 'src' => null, |
| 621 | 'display' => 'scale', |
| 622 | ], |
| 623 | 'styles' => |
| 624 | [ |
| 625 | 'block' => |
| 626 | [ |
| 627 | 'backgroundColor' => 'transparent', |
| 628 | ], |
| 629 | ], |
| 630 | 'blocks' => |
| 631 | [ |
| 632 | 0 => |
| 633 | [ |
| 634 | 'type' => 'spacer', |
| 635 | 'styles' => |
| 636 | [ |
| 637 | 'block' => |
| 638 | [ |
| 639 | 'backgroundColor' => 'transparent', |
| 640 | 'height' => '30px', |
| 641 | ], |
| 642 | ], |
| 643 | ], |
| 644 | ], |
| 645 | ], |
| 646 | ], |
| 647 | ], |
| 648 | 7 => |
| 649 | [ |
| 650 | 'type' => 'container', |
| 651 | 'columnLayout' => false, |
| 652 | 'orientation' => 'horizontal', |
| 653 | 'image' => |
| 654 | [ |
| 655 | 'src' => null, |
| 656 | 'display' => 'scale', |
| 657 | ], |
| 658 | 'styles' => |
| 659 | [ |
| 660 | 'block' => |
| 661 | [ |
| 662 | 'backgroundColor' => '#efe7f0', |
| 663 | ], |
| 664 | ], |
| 665 | 'blocks' => |
| 666 | [ |
| 667 | 0 => |
| 668 | [ |
| 669 | 'type' => 'container', |
| 670 | 'columnLayout' => false, |
| 671 | 'orientation' => 'vertical', |
| 672 | 'image' => |
| 673 | [ |
| 674 | 'src' => null, |
| 675 | 'display' => 'scale', |
| 676 | ], |
| 677 | 'styles' => |
| 678 | [ |
| 679 | 'block' => |
| 680 | [ |
| 681 | 'backgroundColor' => 'transparent', |
| 682 | ], |
| 683 | ], |
| 684 | 'blocks' => |
| 685 | [ |
| 686 | 0 => |
| 687 | [ |
| 688 | 'type' => 'image', |
| 689 | 'link' => 'http://mailpoet.info/cutting-through-the-smog-what-to-do-to-fight-air-pollution/', |
| 690 | 'src' => $this->template_image_url . '/5_what_to_do_p352m1141746-800x533.jpg', |
| 691 | 'alt' => 'Cutting through the smog: What to do to fight air pollution', |
| 692 | 'fullWidth' => false, |
| 693 | 'width' => 660, |
| 694 | 'height' => 440, |
| 695 | 'styles' => |
| 696 | [ |
| 697 | 'block' => |
| 698 | [ |
| 699 | 'textAlign' => 'center', |
| 700 | ], |
| 701 | ], |
| 702 | ], |
| 703 | 1 => |
| 704 | [ |
| 705 | 'type' => 'text', |
| 706 | 'text' => '<h3 style="text-align: left;"><span style="color: #333333;"><strong>Cutting through the smog: What to do to fight air pollution</strong></span></h3>', |
| 707 | ], |
| 708 | 2 => |
| 709 | [ |
| 710 | 'type' => 'button', |
| 711 | 'text' => 'Read More', |
| 712 | 'url' => 'http://mailpoet.info/cutting-through-the-smog-what-to-do-to-fight-air-pollution/', |
| 713 | 'styles' => |
| 714 | [ |
| 715 | 'block' => |
| 716 | [ |
| 717 | 'backgroundColor' => '#b956c5', |
| 718 | 'borderColor' => '#000000', |
| 719 | 'borderWidth' => '0px', |
| 720 | 'borderRadius' => '0px', |
| 721 | 'borderStyle' => 'solid', |
| 722 | 'width' => '103px', |
| 723 | 'lineHeight' => '34px', |
| 724 | 'fontColor' => '#ffffff', |
| 725 | 'fontFamily' => 'Arial', |
| 726 | 'fontSize' => '16px', |
| 727 | 'fontWeight' => 'normal', |
| 728 | 'textAlign' => 'left', |
| 729 | ], |
| 730 | ], |
| 731 | ], |
| 732 | ], |
| 733 | ], |
| 734 | 1 => |
| 735 | [ |
| 736 | 'type' => 'container', |
| 737 | 'columnLayout' => false, |
| 738 | 'orientation' => 'vertical', |
| 739 | 'image' => |
| 740 | [ |
| 741 | 'src' => null, |
| 742 | 'display' => 'scale', |
| 743 | ], |
| 744 | 'styles' => |
| 745 | [ |
| 746 | 'block' => |
| 747 | [ |
| 748 | 'backgroundColor' => 'transparent', |
| 749 | ], |
| 750 | ], |
| 751 | 'blocks' => |
| 752 | [ |
| 753 | 0 => |
| 754 | [ |
| 755 | 'type' => 'image', |
| 756 | 'link' => 'http://mailpoet.info/ladybirds-transparent-shell-reveals-how-it-folds-its-wings/', |
| 757 | 'src' => $this->template_image_url . '/gettyimages-578313682-800x533.jpg', |
| 758 | 'alt' => 'Ladybird’s transparent shell reveals how it folds its wings', |
| 759 | 'fullWidth' => false, |
| 760 | 'width' => 660, |
| 761 | 'height' => 440, |
| 762 | 'styles' => |
| 763 | [ |
| 764 | 'block' => |
| 765 | [ |
| 766 | 'textAlign' => 'center', |
| 767 | ], |
| 768 | ], |
| 769 | ], |
| 770 | 1 => |
| 771 | [ |
| 772 | 'type' => 'text', |
| 773 | 'text' => '<h3 style="text-align: left;"><span style="color: #333333;"><strong>Ladybird’s transparent shell reveals how it folds its wings</strong></span></h3>', |
| 774 | ], |
| 775 | 2 => |
| 776 | [ |
| 777 | 'type' => 'button', |
| 778 | 'text' => 'Read More', |
| 779 | 'url' => 'http://mailpoet.info/ladybirds-transparent-shell-reveals-how-it-folds-its-wings/', |
| 780 | 'styles' => |
| 781 | [ |
| 782 | 'block' => |
| 783 | [ |
| 784 | 'backgroundColor' => '#b956c5', |
| 785 | 'borderColor' => '#000000', |
| 786 | 'borderWidth' => '0px', |
| 787 | 'borderRadius' => '0px', |
| 788 | 'borderStyle' => 'solid', |
| 789 | 'width' => '103px', |
| 790 | 'lineHeight' => '34px', |
| 791 | 'fontColor' => '#ffffff', |
| 792 | 'fontFamily' => 'Arial', |
| 793 | 'fontSize' => '16px', |
| 794 | 'fontWeight' => 'normal', |
| 795 | 'textAlign' => 'left', |
| 796 | ], |
| 797 | ], |
| 798 | ], |
| 799 | ], |
| 800 | ], |
| 801 | 2 => |
| 802 | [ |
| 803 | 'type' => 'container', |
| 804 | 'columnLayout' => false, |
| 805 | 'orientation' => 'vertical', |
| 806 | 'image' => |
| 807 | [ |
| 808 | 'src' => null, |
| 809 | 'display' => 'scale', |
| 810 | ], |
| 811 | 'styles' => |
| 812 | [ |
| 813 | 'block' => |
| 814 | [ |
| 815 | 'backgroundColor' => 'transparent', |
| 816 | ], |
| 817 | ], |
| 818 | 'blocks' => |
| 819 | [ |
| 820 | 0 => |
| 821 | [ |
| 822 | 'type' => 'image', |
| 823 | 'link' => 'http://mailpoet.info/plasma-jet-engines-that-could-take-you-from-the-ground-to-space/', |
| 824 | 'src' => $this->template_image_url . '/plasma-stingray111-800x533.jpg', |
| 825 | 'alt' => 'Plasma jet engines that could take you from the ground to space', |
| 826 | 'fullWidth' => false, |
| 827 | 'width' => 660, |
| 828 | 'height' => 440, |
| 829 | 'styles' => |
| 830 | [ |
| 831 | 'block' => |
| 832 | [ |
| 833 | 'textAlign' => 'center', |
| 834 | ], |
| 835 | ], |
| 836 | ], |
| 837 | 1 => |
| 838 | [ |
| 839 | 'type' => 'text', |
| 840 | 'text' => '<h3 style="text-align: left;"><span style="color: #333333;"><strong>Plasma jet engines that could take you from the ground to space</strong></span></h3>', |
| 841 | ], |
| 842 | 2 => |
| 843 | [ |
| 844 | 'type' => 'button', |
| 845 | 'text' => 'Read More', |
| 846 | 'url' => 'http://mailpoet.info/plasma-jet-engines-that-could-take-you-from-the-ground-to-space/', |
| 847 | 'styles' => |
| 848 | [ |
| 849 | 'block' => |
| 850 | [ |
| 851 | 'backgroundColor' => '#b956c5', |
| 852 | 'borderColor' => '#000000', |
| 853 | 'borderWidth' => '0px', |
| 854 | 'borderRadius' => '0px', |
| 855 | 'borderStyle' => 'solid', |
| 856 | 'width' => '103px', |
| 857 | 'lineHeight' => '34px', |
| 858 | 'fontColor' => '#ffffff', |
| 859 | 'fontFamily' => 'Arial', |
| 860 | 'fontSize' => '16px', |
| 861 | 'fontWeight' => 'normal', |
| 862 | 'textAlign' => 'left', |
| 863 | ], |
| 864 | ], |
| 865 | ], |
| 866 | ], |
| 867 | ], |
| 868 | ], |
| 869 | ], |
| 870 | 8 => |
| 871 | [ |
| 872 | 'type' => 'container', |
| 873 | 'columnLayout' => false, |
| 874 | 'orientation' => 'horizontal', |
| 875 | 'image' => |
| 876 | [ |
| 877 | 'src' => null, |
| 878 | 'display' => 'scale', |
| 879 | ], |
| 880 | 'styles' => |
| 881 | [ |
| 882 | 'block' => |
| 883 | [ |
| 884 | 'backgroundColor' => '#efe7f0', |
| 885 | ], |
| 886 | ], |
| 887 | 'blocks' => |
| 888 | [ |
| 889 | 0 => |
| 890 | [ |
| 891 | 'type' => 'container', |
| 892 | 'columnLayout' => false, |
| 893 | 'orientation' => 'vertical', |
| 894 | 'image' => |
| 895 | [ |
| 896 | 'src' => null, |
| 897 | 'display' => 'scale', |
| 898 | ], |
| 899 | 'styles' => |
| 900 | [ |
| 901 | 'block' => |
| 902 | [ |
| 903 | 'backgroundColor' => 'transparent', |
| 904 | ], |
| 905 | ], |
| 906 | 'blocks' => |
| 907 | [ |
| 908 | 0 => |
| 909 | [ |
| 910 | 'type' => 'spacer', |
| 911 | 'styles' => |
| 912 | [ |
| 913 | 'block' => |
| 914 | [ |
| 915 | 'backgroundColor' => 'transparent', |
| 916 | 'height' => '40px', |
| 917 | ], |
| 918 | ], |
| 919 | ], |
| 920 | ], |
| 921 | ], |
| 922 | ], |
| 923 | ], |
| 924 | 9 => |
| 925 | [ |
| 926 | 'type' => 'container', |
| 927 | 'columnLayout' => false, |
| 928 | 'orientation' => 'horizontal', |
| 929 | 'image' => |
| 930 | [ |
| 931 | 'src' => null, |
| 932 | 'display' => 'scale', |
| 933 | ], |
| 934 | 'styles' => |
| 935 | [ |
| 936 | 'block' => |
| 937 | [ |
| 938 | 'backgroundColor' => '#b956c5', |
| 939 | ], |
| 940 | ], |
| 941 | 'blocks' => |
| 942 | [ |
| 943 | 0 => |
| 944 | [ |
| 945 | 'type' => 'container', |
| 946 | 'columnLayout' => false, |
| 947 | 'orientation' => 'vertical', |
| 948 | 'image' => |
| 949 | [ |
| 950 | 'src' => null, |
| 951 | 'display' => 'scale', |
| 952 | ], |
| 953 | 'styles' => |
| 954 | [ |
| 955 | 'block' => |
| 956 | [ |
| 957 | 'backgroundColor' => 'transparent', |
| 958 | ], |
| 959 | ], |
| 960 | 'blocks' => |
| 961 | [ |
| 962 | 0 => |
| 963 | [ |
| 964 | 'type' => 'spacer', |
| 965 | 'styles' => |
| 966 | [ |
| 967 | 'block' => |
| 968 | [ |
| 969 | 'backgroundColor' => 'transparent', |
| 970 | 'height' => '21px', |
| 971 | ], |
| 972 | ], |
| 973 | ], |
| 974 | 1 => |
| 975 | [ |
| 976 | 'type' => 'social', |
| 977 | 'iconSet' => 'official-white', |
| 978 | 'icons' => |
| 979 | [ |
| 980 | 0 => |
| 981 | [ |
| 982 | 'type' => 'socialIcon', |
| 983 | 'iconType' => 'facebook', |
| 984 | 'link' => 'http://www.facebook.com', |
| 985 | 'image' => $this->social_icon_url . '/12-official-white/Facebook.png', |
| 986 | 'height' => '32px', |
| 987 | 'width' => '32px', |
| 988 | 'text' => 'Facebook', |
| 989 | ], |
| 990 | 1 => |
| 991 | [ |
| 992 | 'type' => 'socialIcon', |
| 993 | 'iconType' => 'twitter', |
| 994 | 'link' => 'http://www.twitter.com', |
| 995 | 'image' => $this->social_icon_url . '/12-official-white/X.png', |
| 996 | 'height' => '32px', |
| 997 | 'width' => '32px', |
| 998 | 'text' => 'Twitter', |
| 999 | ], |
| 1000 | 2 => |
| 1001 | [ |
| 1002 | 'type' => 'socialIcon', |
| 1003 | 'iconType' => 'website', |
| 1004 | 'link' => '', |
| 1005 | 'image' => $this->social_icon_url . '/12-official-white/Website.png', |
| 1006 | 'height' => '32px', |
| 1007 | 'width' => '32px', |
| 1008 | 'text' => 'Website', |
| 1009 | ], |
| 1010 | 3 => |
| 1011 | [ |
| 1012 | 'type' => 'socialIcon', |
| 1013 | 'iconType' => 'instagram', |
| 1014 | 'link' => 'http://instagram.com', |
| 1015 | 'image' => $this->social_icon_url . '/12-official-white/Instagram.png', |
| 1016 | 'height' => '32px', |
| 1017 | 'width' => '32px', |
| 1018 | 'text' => 'Instagram', |
| 1019 | ], |
| 1020 | ], |
| 1021 | ], |
| 1022 | 2 => |
| 1023 | [ |
| 1024 | 'type' => 'footer', |
| 1025 | 'text' => '<p><span style="color: #ffffff;"><a href="[link:subscription_unsubscribe_url]" style="color: #ffffff;">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]" style="color: #ffffff;">' . __("Manage your subscription", 'mailpoet') . '</a></span><br /><span style="color: #ffffff;">' . __("Add your postal address here!", 'mailpoet') . '</span></p>', |
| 1026 | 'styles' => |
| 1027 | [ |
| 1028 | 'block' => |
| 1029 | [ |
| 1030 | 'backgroundColor' => 'transparent', |
| 1031 | ], |
| 1032 | 'text' => |
| 1033 | [ |
| 1034 | 'fontColor' => '#222222', |
| 1035 | 'fontFamily' => 'Arial', |
| 1036 | 'fontSize' => '12px', |
| 1037 | 'textAlign' => 'center', |
| 1038 | ], |
| 1039 | 'link' => |
| 1040 | [ |
| 1041 | 'fontColor' => '#6cb7d4', |
| 1042 | 'textDecoration' => 'none', |
| 1043 | ], |
| 1044 | ], |
| 1045 | ], |
| 1046 | 3 => |
| 1047 | [ |
| 1048 | 'type' => 'spacer', |
| 1049 | 'styles' => |
| 1050 | [ |
| 1051 | 'block' => |
| 1052 | [ |
| 1053 | 'backgroundColor' => 'transparent', |
| 1054 | 'height' => '20px', |
| 1055 | ], |
| 1056 | ], |
| 1057 | ], |
| 1058 | ], |
| 1059 | ], |
| 1060 | ], |
| 1061 | ], |
| 1062 | ], |
| 1063 | ], |
| 1064 | 'globalStyles' => |
| 1065 | [ |
| 1066 | 'text' => |
| 1067 | [ |
| 1068 | 'fontColor' => '#ffffff', |
| 1069 | 'fontFamily' => 'Arial', |
| 1070 | 'fontSize' => '14px', |
| 1071 | ], |
| 1072 | 'h1' => |
| 1073 | [ |
| 1074 | 'fontColor' => '#ffffff', |
| 1075 | 'fontFamily' => 'Arial', |
| 1076 | 'fontSize' => '30px', |
| 1077 | ], |
| 1078 | 'h2' => |
| 1079 | [ |
| 1080 | 'fontColor' => '#ffffff', |
| 1081 | 'fontFamily' => 'Arial', |
| 1082 | 'fontSize' => '26px', |
| 1083 | ], |
| 1084 | 'h3' => |
| 1085 | [ |
| 1086 | 'fontColor' => '#ffffff', |
| 1087 | 'fontFamily' => 'Arial', |
| 1088 | 'fontSize' => '20px', |
| 1089 | ], |
| 1090 | 'link' => |
| 1091 | [ |
| 1092 | 'fontColor' => '#ffffff', |
| 1093 | 'textDecoration' => 'underline', |
| 1094 | ], |
| 1095 | 'wrapper' => |
| 1096 | [ |
| 1097 | 'backgroundColor' => '#b956c5', |
| 1098 | ], |
| 1099 | 'body' => |
| 1100 | [ |
| 1101 | 'backgroundColor' => '#efe7f0', |
| 1102 | ], |
| 1103 | ], |
| 1104 | 'blockDefaults' => |
| 1105 | [ |
| 1106 | 'automatedLatestContent' => |
| 1107 | [ |
| 1108 | 'amount' => '2', |
| 1109 | 'contentType' => 'post', |
| 1110 | 'inclusionType' => 'include', |
| 1111 | 'displayType' => 'excerpt', |
| 1112 | 'titleFormat' => 'h2', |
| 1113 | 'titleAlignment' => 'left', |
| 1114 | 'titleIsLink' => false, |
| 1115 | 'imageFullWidth' => true, |
| 1116 | 'featuredImagePosition' => 'aboveTitle', |
| 1117 | 'showAuthor' => 'no', |
| 1118 | 'authorPrecededBy' => 'Author:', |
| 1119 | 'showCategories' => 'no', |
| 1120 | 'categoriesPrecededBy' => 'Categories:', |
| 1121 | 'readMoreType' => 'button', |
| 1122 | 'readMoreText' => 'Read more', |
| 1123 | 'readMoreButton' => |
| 1124 | [ |
| 1125 | 'text' => 'Read more', |
| 1126 | 'url' => '[postLink]', |
| 1127 | 'context' => 'automatedLatestContent.readMoreButton', |
| 1128 | 'styles' => |
| 1129 | [ |
| 1130 | 'block' => |
| 1131 | [ |
| 1132 | 'backgroundColor' => '#ffffff', |
| 1133 | 'borderColor' => '#0074a2', |
| 1134 | 'borderWidth' => '0px', |
| 1135 | 'borderRadius' => '0px', |
| 1136 | 'borderStyle' => 'solid', |
| 1137 | 'width' => '116px', |
| 1138 | 'lineHeight' => '40px', |
| 1139 | 'fontColor' => '#b956c5', |
| 1140 | 'fontFamily' => 'Arial', |
| 1141 | 'fontSize' => '18px', |
| 1142 | 'fontWeight' => 'normal', |
| 1143 | 'textAlign' => 'center', |
| 1144 | ], |
| 1145 | ], |
| 1146 | 'type' => 'button', |
| 1147 | ], |
| 1148 | 'sortBy' => 'newest', |
| 1149 | 'showDivider' => true, |
| 1150 | 'divider' => |
| 1151 | [ |
| 1152 | 'context' => 'automatedLatestContent.divider', |
| 1153 | 'styles' => |
| 1154 | [ |
| 1155 | 'block' => |
| 1156 | [ |
| 1157 | 'backgroundColor' => 'transparent', |
| 1158 | 'padding' => '13px', |
| 1159 | 'borderStyle' => 'dashed', |
| 1160 | 'borderWidth' => '3px', |
| 1161 | 'borderColor' => '#ffffff', |
| 1162 | ], |
| 1163 | ], |
| 1164 | 'type' => 'divider', |
| 1165 | ], |
| 1166 | 'backgroundColor' => '#ffffff', |
| 1167 | 'backgroundColorAlternate' => '#eeeeee', |
| 1168 | 'type' => 'automatedLatestContent', |
| 1169 | 'terms' => |
| 1170 | [ |
| 1171 | ], |
| 1172 | 'withLayout' => false, |
| 1173 | ], |
| 1174 | 'automatedLatestContentLayout' => |
| 1175 | [ |
| 1176 | 'amount' => '3', |
| 1177 | 'withLayout' => true, |
| 1178 | 'contentType' => 'post', |
| 1179 | 'inclusionType' => 'include', |
| 1180 | 'displayType' => 'excerpt', |
| 1181 | 'titleFormat' => 'h3', |
| 1182 | 'titleAlignment' => 'left', |
| 1183 | 'titleIsLink' => false, |
| 1184 | 'imageFullWidth' => false, |
| 1185 | 'featuredImagePosition' => 'alternate', |
| 1186 | 'showAuthor' => 'no', |
| 1187 | 'authorPrecededBy' => 'Author:', |
| 1188 | 'showCategories' => 'no', |
| 1189 | 'categoriesPrecededBy' => 'Categories:', |
| 1190 | 'readMoreType' => 'button', |
| 1191 | 'readMoreText' => 'Read more', |
| 1192 | 'readMoreButton' => |
| 1193 | [ |
| 1194 | 'text' => 'Read more', |
| 1195 | 'url' => '[postLink]', |
| 1196 | 'context' => 'automatedLatestContentLayout.readMoreButton', |
| 1197 | 'styles' => |
| 1198 | [ |
| 1199 | 'block' => |
| 1200 | [ |
| 1201 | 'backgroundColor' => '#ffffff', |
| 1202 | 'borderColor' => '#ffffff', |
| 1203 | 'borderWidth' => '1px', |
| 1204 | 'borderRadius' => '0px', |
| 1205 | 'borderStyle' => 'solid', |
| 1206 | 'width' => '120px', |
| 1207 | 'lineHeight' => '40px', |
| 1208 | 'fontColor' => '#b956c5', |
| 1209 | 'fontFamily' => 'Verdana', |
| 1210 | 'fontSize' => '18px', |
| 1211 | 'fontWeight' => 'normal', |
| 1212 | 'textAlign' => 'center', |
| 1213 | ], |
| 1214 | ], |
| 1215 | 'type' => 'button', |
| 1216 | ], |
| 1217 | 'sortBy' => 'newest', |
| 1218 | 'showDivider' => true, |
| 1219 | 'divider' => |
| 1220 | [ |
| 1221 | 'context' => 'automatedLatestContentLayout.divider', |
| 1222 | 'styles' => |
| 1223 | [ |
| 1224 | 'block' => |
| 1225 | [ |
| 1226 | 'backgroundColor' => 'transparent', |
| 1227 | 'padding' => '13px', |
| 1228 | 'borderStyle' => 'dashed', |
| 1229 | 'borderWidth' => '3px', |
| 1230 | 'borderColor' => '#efe7f0', |
| 1231 | ], |
| 1232 | ], |
| 1233 | 'type' => 'divider', |
| 1234 | ], |
| 1235 | 'backgroundColor' => '#ffffff', |
| 1236 | 'backgroundColorAlternate' => '#eeeeee', |
| 1237 | 'type' => 'automatedLatestContentLayout', |
| 1238 | 'terms' => |
| 1239 | [ |
| 1240 | ], |
| 1241 | ], |
| 1242 | 'button' => |
| 1243 | [ |
| 1244 | 'text' => 'Read more', |
| 1245 | 'url' => '[postLink]', |
| 1246 | 'styles' => |
| 1247 | [ |
| 1248 | 'block' => |
| 1249 | [ |
| 1250 | 'backgroundColor' => '#2ea1cd', |
| 1251 | 'borderColor' => '#0074a2', |
| 1252 | 'borderWidth' => '1px', |
| 1253 | 'borderRadius' => '5px', |
| 1254 | 'borderStyle' => 'solid', |
| 1255 | 'width' => '180px', |
| 1256 | 'lineHeight' => '40px', |
| 1257 | 'fontColor' => '#ffffff', |
| 1258 | 'fontFamily' => 'Verdana', |
| 1259 | 'fontSize' => '18px', |
| 1260 | 'fontWeight' => 'normal', |
| 1261 | 'textAlign' => 'center', |
| 1262 | ], |
| 1263 | ], |
| 1264 | 'type' => 'button', |
| 1265 | ], |
| 1266 | 'container' => |
| 1267 | [ |
| 1268 | 'styles' => |
| 1269 | [ |
| 1270 | 'block' => |
| 1271 | [ |
| 1272 | 'backgroundColor' => 'transparent', |
| 1273 | ], |
| 1274 | ], |
| 1275 | ], |
| 1276 | 'divider' => |
| 1277 | [ |
| 1278 | 'styles' => |
| 1279 | [ |
| 1280 | 'block' => |
| 1281 | [ |
| 1282 | 'backgroundColor' => 'transparent', |
| 1283 | 'padding' => '13px', |
| 1284 | 'borderStyle' => 'solid', |
| 1285 | 'borderWidth' => '3px', |
| 1286 | 'borderColor' => '#aaaaaa', |
| 1287 | ], |
| 1288 | ], |
| 1289 | 'type' => 'divider', |
| 1290 | ], |
| 1291 | 'footer' => |
| 1292 | [ |
| 1293 | 'text' => '<p><a href="[link:subscription_unsubscribe_url]">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]">' . __("Manage your subscription", 'mailpoet') . '</a><br />' . __("Add your postal address here!", 'mailpoet') . '</p>', |
| 1294 | 'styles' => |
| 1295 | [ |
| 1296 | 'block' => |
| 1297 | [ |
| 1298 | 'backgroundColor' => 'transparent', |
| 1299 | ], |
| 1300 | 'text' => |
| 1301 | [ |
| 1302 | 'fontColor' => '#222222', |
| 1303 | 'fontFamily' => 'Arial', |
| 1304 | 'fontSize' => '12px', |
| 1305 | 'textAlign' => 'center', |
| 1306 | ], |
| 1307 | 'link' => |
| 1308 | [ |
| 1309 | 'fontColor' => '#6cb7d4', |
| 1310 | 'textDecoration' => 'none', |
| 1311 | ], |
| 1312 | ], |
| 1313 | ], |
| 1314 | 'posts' => |
| 1315 | [ |
| 1316 | 'amount' => '10', |
| 1317 | 'contentType' => 'post', |
| 1318 | 'postStatus' => 'publish', |
| 1319 | 'inclusionType' => 'include', |
| 1320 | 'displayType' => 'excerpt', |
| 1321 | 'titleFormat' => 'h1', |
| 1322 | 'titleAlignment' => 'left', |
| 1323 | 'titleIsLink' => false, |
| 1324 | 'imageFullWidth' => true, |
| 1325 | 'featuredImagePosition' => 'aboveTitle', |
| 1326 | 'showAuthor' => 'no', |
| 1327 | 'authorPrecededBy' => 'Author:', |
| 1328 | 'showCategories' => 'no', |
| 1329 | 'categoriesPrecededBy' => 'Categories:', |
| 1330 | 'readMoreType' => 'button', |
| 1331 | 'readMoreText' => 'Read more', |
| 1332 | 'readMoreButton' => |
| 1333 | [ |
| 1334 | 'text' => 'Read more', |
| 1335 | 'url' => '[postLink]', |
| 1336 | 'context' => 'posts.readMoreButton', |
| 1337 | 'styles' => |
| 1338 | [ |
| 1339 | 'block' => |
| 1340 | [ |
| 1341 | 'backgroundColor' => '#ffffff', |
| 1342 | 'borderColor' => '#0074a2', |
| 1343 | 'borderWidth' => '1px', |
| 1344 | 'borderRadius' => '0px', |
| 1345 | 'borderStyle' => 'solid', |
| 1346 | 'width' => '180px', |
| 1347 | 'lineHeight' => '40px', |
| 1348 | 'fontColor' => '#ffffff', |
| 1349 | 'fontFamily' => 'Arial', |
| 1350 | 'fontSize' => '18px', |
| 1351 | 'fontWeight' => 'normal', |
| 1352 | 'textAlign' => 'center', |
| 1353 | ], |
| 1354 | ], |
| 1355 | 'type' => 'button', |
| 1356 | ], |
| 1357 | 'sortBy' => 'newest', |
| 1358 | 'showDivider' => true, |
| 1359 | 'divider' => |
| 1360 | [ |
| 1361 | 'context' => 'posts.divider', |
| 1362 | 'styles' => |
| 1363 | [ |
| 1364 | 'block' => |
| 1365 | [ |
| 1366 | 'backgroundColor' => 'transparent', |
| 1367 | 'padding' => '13px', |
| 1368 | 'borderStyle' => 'solid', |
| 1369 | 'borderWidth' => '3px', |
| 1370 | 'borderColor' => '#aaaaaa', |
| 1371 | ], |
| 1372 | ], |
| 1373 | 'type' => 'divider', |
| 1374 | ], |
| 1375 | 'backgroundColor' => '#ffffff', |
| 1376 | 'backgroundColorAlternate' => '#eeeeee', |
| 1377 | 'type' => 'posts', |
| 1378 | 'offset' => 0, |
| 1379 | 'terms' => |
| 1380 | [ |
| 1381 | ], |
| 1382 | 'search' => '', |
| 1383 | ], |
| 1384 | 'social' => |
| 1385 | [ |
| 1386 | 'iconSet' => 'official', |
| 1387 | 'icons' => |
| 1388 | [ |
| 1389 | 0 => |
| 1390 | [ |
| 1391 | 'type' => 'socialIcon', |
| 1392 | 'iconType' => 'facebook', |
| 1393 | 'link' => 'http://www.facebook.com', |
| 1394 | 'image' => $this->social_icon_url . '/11-official/Facebook.png', |
| 1395 | 'height' => '32px', |
| 1396 | 'width' => '32px', |
| 1397 | 'text' => 'Facebook', |
| 1398 | ], |
| 1399 | 1 => |
| 1400 | [ |
| 1401 | 'type' => 'socialIcon', |
| 1402 | 'iconType' => 'twitter', |
| 1403 | 'link' => 'http://www.twitter.com', |
| 1404 | 'image' => $this->social_icon_url . '/11-official/X.png', |
| 1405 | 'height' => '32px', |
| 1406 | 'width' => '32px', |
| 1407 | 'text' => 'Twitter', |
| 1408 | ], |
| 1409 | ], |
| 1410 | ], |
| 1411 | 'spacer' => |
| 1412 | [ |
| 1413 | 'styles' => |
| 1414 | [ |
| 1415 | 'block' => |
| 1416 | [ |
| 1417 | 'backgroundColor' => '#efe7f0', |
| 1418 | 'height' => '40px', |
| 1419 | ], |
| 1420 | ], |
| 1421 | 'type' => 'spacer', |
| 1422 | ], |
| 1423 | 'header' => |
| 1424 | [ |
| 1425 | 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>', |
| 1426 | 'styles' => |
| 1427 | [ |
| 1428 | 'block' => |
| 1429 | [ |
| 1430 | 'backgroundColor' => 'transparent', |
| 1431 | ], |
| 1432 | 'text' => |
| 1433 | [ |
| 1434 | 'fontColor' => '#222222', |
| 1435 | 'fontFamily' => 'Arial', |
| 1436 | 'fontSize' => '12px', |
| 1437 | 'textAlign' => 'center', |
| 1438 | ], |
| 1439 | 'link' => |
| 1440 | [ |
| 1441 | 'fontColor' => '#6cb7d4', |
| 1442 | 'textDecoration' => 'underline', |
| 1443 | ], |
| 1444 | ], |
| 1445 | ], |
| 1446 | ], |
| 1447 | ]; |
| 1448 | } |
| 1449 | } |
| 1450 |