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
Birds.php
1759 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 Birds { |
| 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/birds'; |
| 17 | $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; |
| 18 | } |
| 19 | |
| 20 | public function get() { |
| 21 | return [ |
| 22 | 'name' => __("Birds", 'mailpoet'), |
| 23 | 'categories' => json_encode(['standard', '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' => '#222222', |
| 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' => '40px', |
| 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' => '#26b6cf', |
| 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 . '/Birds-Logo-1.png', |
| 164 | 'alt' => 'Birds-Logo', |
| 165 | 'fullWidth' => false, |
| 166 | 'width' => '178px', |
| 167 | 'height' => '127px', |
| 168 | 'styles' => |
| 169 | [ |
| 170 | 'block' => |
| 171 | [ |
| 172 | 'textAlign' => 'left', |
| 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' => '20px', |
| 206 | ], |
| 207 | ], |
| 208 | ], |
| 209 | 1 => |
| 210 | [ |
| 211 | 'type' => 'header', |
| 212 | 'text' => '<p><a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a></p>', |
| 213 | 'styles' => |
| 214 | [ |
| 215 | 'block' => |
| 216 | [ |
| 217 | 'backgroundColor' => 'transparent', |
| 218 | ], |
| 219 | 'text' => |
| 220 | [ |
| 221 | 'fontColor' => '#222222', |
| 222 | 'fontFamily' => 'Roboto', |
| 223 | 'fontSize' => '12px', |
| 224 | 'textAlign' => 'right', |
| 225 | ], |
| 226 | 'link' => |
| 227 | [ |
| 228 | 'fontColor' => '#12616f', |
| 229 | 'textDecoration' => 'underline', |
| 230 | ], |
| 231 | ], |
| 232 | ], |
| 233 | ], |
| 234 | ], |
| 235 | ], |
| 236 | ], |
| 237 | 2 => |
| 238 | [ |
| 239 | 'type' => 'container', |
| 240 | 'columnLayout' => false, |
| 241 | 'orientation' => 'horizontal', |
| 242 | 'image' => |
| 243 | [ |
| 244 | 'src' => null, |
| 245 | 'display' => 'scale', |
| 246 | ], |
| 247 | 'styles' => |
| 248 | [ |
| 249 | 'block' => |
| 250 | [ |
| 251 | 'backgroundColor' => '#222222', |
| 252 | ], |
| 253 | ], |
| 254 | 'blocks' => |
| 255 | [ |
| 256 | 0 => |
| 257 | [ |
| 258 | 'type' => 'container', |
| 259 | 'columnLayout' => false, |
| 260 | 'orientation' => 'vertical', |
| 261 | 'image' => |
| 262 | [ |
| 263 | 'src' => null, |
| 264 | 'display' => 'scale', |
| 265 | ], |
| 266 | 'styles' => |
| 267 | [ |
| 268 | 'block' => |
| 269 | [ |
| 270 | 'backgroundColor' => 'transparent', |
| 271 | ], |
| 272 | ], |
| 273 | 'blocks' => |
| 274 | [ |
| 275 | 0 => |
| 276 | [ |
| 277 | 'type' => 'spacer', |
| 278 | 'styles' => |
| 279 | [ |
| 280 | 'block' => |
| 281 | [ |
| 282 | 'backgroundColor' => 'transparent', |
| 283 | 'height' => '30px', |
| 284 | ], |
| 285 | ], |
| 286 | ], |
| 287 | ], |
| 288 | ], |
| 289 | ], |
| 290 | ], |
| 291 | 3 => |
| 292 | [ |
| 293 | 'type' => 'container', |
| 294 | 'columnLayout' => false, |
| 295 | 'orientation' => 'horizontal', |
| 296 | 'image' => |
| 297 | [ |
| 298 | 'src' => $this->template_image_url . '/Birds-Header-2.jpg', |
| 299 | 'display' => 'scale', |
| 300 | ], |
| 301 | 'styles' => |
| 302 | [ |
| 303 | 'block' => |
| 304 | [ |
| 305 | 'backgroundColor' => '#222222', |
| 306 | ], |
| 307 | ], |
| 308 | 'blocks' => |
| 309 | [ |
| 310 | 0 => |
| 311 | [ |
| 312 | 'type' => 'container', |
| 313 | 'columnLayout' => false, |
| 314 | 'orientation' => 'vertical', |
| 315 | 'image' => |
| 316 | [ |
| 317 | 'src' => null, |
| 318 | 'display' => 'scale', |
| 319 | ], |
| 320 | 'styles' => |
| 321 | [ |
| 322 | 'block' => |
| 323 | [ |
| 324 | 'backgroundColor' => 'transparent', |
| 325 | ], |
| 326 | ], |
| 327 | 'blocks' => |
| 328 | [ |
| 329 | 0 => |
| 330 | [ |
| 331 | 'type' => 'spacer', |
| 332 | 'styles' => |
| 333 | [ |
| 334 | 'block' => |
| 335 | [ |
| 336 | 'backgroundColor' => 'transparent', |
| 337 | 'height' => '112px', |
| 338 | ], |
| 339 | ], |
| 340 | ], |
| 341 | 1 => |
| 342 | [ |
| 343 | 'type' => 'text', |
| 344 | 'text' => '<h1 style="text-align: left;"><span style="color: #ffffff;"><strong>New Season</strong></span></h1> |
| 345 | <p style="text-align: left;"><span style="color: #ffffff;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut in mattis neque. </span><span style="color: #ffffff;">Quisque sed massa eu tellus efficitur dictum at sed augue. <span>Ut in mattis neque.</span></span></p>', |
| 346 | ], |
| 347 | 2 => |
| 348 | [ |
| 349 | 'type' => 'button', |
| 350 | 'text' => 'Read the whole story', |
| 351 | 'url' => '', |
| 352 | 'styles' => |
| 353 | [ |
| 354 | 'block' => |
| 355 | [ |
| 356 | 'backgroundColor' => '#26b6cf', |
| 357 | 'borderColor' => '#0074a2', |
| 358 | 'borderWidth' => '0px', |
| 359 | 'borderRadius' => '0px', |
| 360 | 'borderStyle' => 'solid', |
| 361 | 'width' => '159px', |
| 362 | 'lineHeight' => '37px', |
| 363 | 'fontColor' => '#ffffff', |
| 364 | 'fontFamily' => 'Merriweather Sans', |
| 365 | 'fontSize' => '14px', |
| 366 | 'fontWeight' => 'normal', |
| 367 | 'textAlign' => 'left', |
| 368 | ], |
| 369 | ], |
| 370 | ], |
| 371 | 3 => |
| 372 | [ |
| 373 | 'type' => 'spacer', |
| 374 | 'styles' => |
| 375 | [ |
| 376 | 'block' => |
| 377 | [ |
| 378 | 'backgroundColor' => 'transparent', |
| 379 | 'height' => '90px', |
| 380 | ], |
| 381 | ], |
| 382 | ], |
| 383 | ], |
| 384 | ], |
| 385 | 1 => |
| 386 | [ |
| 387 | 'type' => 'container', |
| 388 | 'columnLayout' => false, |
| 389 | 'orientation' => 'vertical', |
| 390 | 'image' => |
| 391 | [ |
| 392 | 'src' => null, |
| 393 | 'display' => 'scale', |
| 394 | ], |
| 395 | 'styles' => |
| 396 | [ |
| 397 | 'block' => |
| 398 | [ |
| 399 | 'backgroundColor' => 'transparent', |
| 400 | ], |
| 401 | ], |
| 402 | 'blocks' => |
| 403 | [ |
| 404 | 0 => |
| 405 | [ |
| 406 | 'type' => 'spacer', |
| 407 | 'styles' => |
| 408 | [ |
| 409 | 'block' => |
| 410 | [ |
| 411 | 'backgroundColor' => 'transparent', |
| 412 | 'height' => '20px', |
| 413 | ], |
| 414 | ], |
| 415 | ], |
| 416 | ], |
| 417 | ], |
| 418 | ], |
| 419 | ], |
| 420 | 4 => |
| 421 | [ |
| 422 | 'type' => 'container', |
| 423 | 'columnLayout' => false, |
| 424 | 'orientation' => 'horizontal', |
| 425 | 'image' => |
| 426 | [ |
| 427 | 'src' => null, |
| 428 | 'display' => 'scale', |
| 429 | ], |
| 430 | 'styles' => |
| 431 | [ |
| 432 | 'block' => |
| 433 | [ |
| 434 | 'backgroundColor' => '#222222', |
| 435 | ], |
| 436 | ], |
| 437 | 'blocks' => |
| 438 | [ |
| 439 | 0 => |
| 440 | [ |
| 441 | 'type' => 'container', |
| 442 | 'columnLayout' => false, |
| 443 | 'orientation' => 'vertical', |
| 444 | 'image' => |
| 445 | [ |
| 446 | 'src' => null, |
| 447 | 'display' => 'scale', |
| 448 | ], |
| 449 | 'styles' => |
| 450 | [ |
| 451 | 'block' => |
| 452 | [ |
| 453 | 'backgroundColor' => 'transparent', |
| 454 | ], |
| 455 | ], |
| 456 | 'blocks' => |
| 457 | [ |
| 458 | 0 => |
| 459 | [ |
| 460 | 'type' => 'spacer', |
| 461 | 'styles' => |
| 462 | [ |
| 463 | 'block' => |
| 464 | [ |
| 465 | 'backgroundColor' => 'transparent', |
| 466 | 'height' => '30px', |
| 467 | ], |
| 468 | ], |
| 469 | ], |
| 470 | ], |
| 471 | ], |
| 472 | ], |
| 473 | ], |
| 474 | 5 => |
| 475 | [ |
| 476 | 'type' => 'container', |
| 477 | 'columnLayout' => '2_1', |
| 478 | 'orientation' => 'horizontal', |
| 479 | 'image' => |
| 480 | [ |
| 481 | 'src' => null, |
| 482 | 'display' => 'scale', |
| 483 | ], |
| 484 | 'styles' => |
| 485 | [ |
| 486 | 'block' => |
| 487 | [ |
| 488 | 'backgroundColor' => 'transparent', |
| 489 | ], |
| 490 | ], |
| 491 | 'blocks' => |
| 492 | [ |
| 493 | 0 => |
| 494 | [ |
| 495 | 'type' => 'container', |
| 496 | 'columnLayout' => false, |
| 497 | 'orientation' => 'vertical', |
| 498 | 'image' => |
| 499 | [ |
| 500 | 'src' => null, |
| 501 | 'display' => 'scale', |
| 502 | ], |
| 503 | 'styles' => |
| 504 | [ |
| 505 | 'block' => |
| 506 | [ |
| 507 | 'backgroundColor' => 'transparent', |
| 508 | ], |
| 509 | ], |
| 510 | 'blocks' => |
| 511 | [ |
| 512 | 0 => |
| 513 | [ |
| 514 | 'type' => 'image', |
| 515 | 'link' => '', |
| 516 | 'src' => $this->template_image_url . '/Birds-Images-1.jpg', |
| 517 | 'alt' => 'Birds-Images-1', |
| 518 | 'fullWidth' => true, |
| 519 | 'width' => '800px', |
| 520 | 'height' => '600px', |
| 521 | 'styles' => |
| 522 | [ |
| 523 | 'block' => |
| 524 | [ |
| 525 | 'textAlign' => 'center', |
| 526 | ], |
| 527 | ], |
| 528 | ], |
| 529 | ], |
| 530 | ], |
| 531 | 1 => |
| 532 | [ |
| 533 | 'type' => 'container', |
| 534 | 'columnLayout' => false, |
| 535 | 'orientation' => 'vertical', |
| 536 | 'image' => |
| 537 | [ |
| 538 | 'src' => null, |
| 539 | 'display' => 'scale', |
| 540 | ], |
| 541 | 'styles' => |
| 542 | [ |
| 543 | 'block' => |
| 544 | [ |
| 545 | 'backgroundColor' => 'transparent', |
| 546 | ], |
| 547 | ], |
| 548 | 'blocks' => |
| 549 | [ |
| 550 | 0 => |
| 551 | [ |
| 552 | 'type' => 'spacer', |
| 553 | 'styles' => |
| 554 | [ |
| 555 | 'block' => |
| 556 | [ |
| 557 | 'backgroundColor' => 'transparent', |
| 558 | 'height' => '53px', |
| 559 | ], |
| 560 | ], |
| 561 | ], |
| 562 | 1 => |
| 563 | [ |
| 564 | 'type' => 'text', |
| 565 | 'text' => '<h3><strong>Puffin Sightings</strong></h3> |
| 566 | <p><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut in mattis neque. Quisque sed massa eu tellus efficitur dictum at sed augue. </span></p>', |
| 567 | ], |
| 568 | 2 => |
| 569 | [ |
| 570 | 'type' => 'button', |
| 571 | 'text' => 'Read more', |
| 572 | 'url' => '', |
| 573 | 'styles' => |
| 574 | [ |
| 575 | 'block' => |
| 576 | [ |
| 577 | 'backgroundColor' => '#26b6cf', |
| 578 | 'borderColor' => '#0074a2', |
| 579 | 'borderWidth' => '0px', |
| 580 | 'borderRadius' => '0px', |
| 581 | 'borderStyle' => 'solid', |
| 582 | 'width' => '82px', |
| 583 | 'lineHeight' => '29px', |
| 584 | 'fontColor' => '#ffffff', |
| 585 | 'fontFamily' => 'Merriweather Sans', |
| 586 | 'fontSize' => '12px', |
| 587 | 'fontWeight' => 'normal', |
| 588 | 'textAlign' => 'left', |
| 589 | ], |
| 590 | ], |
| 591 | ], |
| 592 | ], |
| 593 | ], |
| 594 | ], |
| 595 | ], |
| 596 | 6 => |
| 597 | [ |
| 598 | 'type' => 'container', |
| 599 | 'columnLayout' => false, |
| 600 | 'orientation' => 'horizontal', |
| 601 | 'image' => |
| 602 | [ |
| 603 | 'src' => null, |
| 604 | 'display' => 'scale', |
| 605 | ], |
| 606 | 'styles' => |
| 607 | [ |
| 608 | 'block' => |
| 609 | [ |
| 610 | 'backgroundColor' => '#222222', |
| 611 | ], |
| 612 | ], |
| 613 | 'blocks' => |
| 614 | [ |
| 615 | 0 => |
| 616 | [ |
| 617 | 'type' => 'container', |
| 618 | 'columnLayout' => false, |
| 619 | 'orientation' => 'vertical', |
| 620 | 'image' => |
| 621 | [ |
| 622 | 'src' => null, |
| 623 | 'display' => 'scale', |
| 624 | ], |
| 625 | 'styles' => |
| 626 | [ |
| 627 | 'block' => |
| 628 | [ |
| 629 | 'backgroundColor' => 'transparent', |
| 630 | ], |
| 631 | ], |
| 632 | 'blocks' => |
| 633 | [ |
| 634 | 0 => |
| 635 | [ |
| 636 | 'type' => 'spacer', |
| 637 | 'styles' => |
| 638 | [ |
| 639 | 'block' => |
| 640 | [ |
| 641 | 'backgroundColor' => 'transparent', |
| 642 | 'height' => '30px', |
| 643 | ], |
| 644 | ], |
| 645 | ], |
| 646 | ], |
| 647 | ], |
| 648 | ], |
| 649 | ], |
| 650 | 7 => |
| 651 | [ |
| 652 | 'type' => 'container', |
| 653 | 'columnLayout' => false, |
| 654 | 'orientation' => 'horizontal', |
| 655 | 'image' => |
| 656 | [ |
| 657 | 'src' => null, |
| 658 | 'display' => 'scale', |
| 659 | ], |
| 660 | 'styles' => |
| 661 | [ |
| 662 | 'block' => |
| 663 | [ |
| 664 | 'backgroundColor' => '#ffffff', |
| 665 | ], |
| 666 | ], |
| 667 | 'blocks' => |
| 668 | [ |
| 669 | 0 => |
| 670 | [ |
| 671 | 'type' => 'container', |
| 672 | 'columnLayout' => false, |
| 673 | 'orientation' => 'vertical', |
| 674 | 'image' => |
| 675 | [ |
| 676 | 'src' => null, |
| 677 | 'display' => 'scale', |
| 678 | ], |
| 679 | 'styles' => |
| 680 | [ |
| 681 | 'block' => |
| 682 | [ |
| 683 | 'backgroundColor' => 'transparent', |
| 684 | ], |
| 685 | ], |
| 686 | 'blocks' => |
| 687 | [ |
| 688 | 0 => |
| 689 | [ |
| 690 | 'type' => 'spacer', |
| 691 | 'styles' => |
| 692 | [ |
| 693 | 'block' => |
| 694 | [ |
| 695 | 'backgroundColor' => 'transparent', |
| 696 | 'height' => '20px', |
| 697 | ], |
| 698 | ], |
| 699 | ], |
| 700 | 1 => |
| 701 | [ |
| 702 | 'type' => 'text', |
| 703 | 'text' => '<h3 style="text-align: center;"><strong>This month\'s best pictures</strong></h3>', |
| 704 | ], |
| 705 | ], |
| 706 | ], |
| 707 | ], |
| 708 | ], |
| 709 | 8 => |
| 710 | [ |
| 711 | 'type' => 'container', |
| 712 | 'columnLayout' => false, |
| 713 | 'orientation' => 'horizontal', |
| 714 | 'image' => |
| 715 | [ |
| 716 | 'src' => null, |
| 717 | 'display' => 'scale', |
| 718 | ], |
| 719 | 'styles' => |
| 720 | [ |
| 721 | 'block' => |
| 722 | [ |
| 723 | 'backgroundColor' => 'transparent', |
| 724 | ], |
| 725 | ], |
| 726 | 'blocks' => |
| 727 | [ |
| 728 | 0 => |
| 729 | [ |
| 730 | 'type' => 'container', |
| 731 | 'columnLayout' => false, |
| 732 | 'orientation' => 'vertical', |
| 733 | 'image' => |
| 734 | [ |
| 735 | 'src' => null, |
| 736 | 'display' => 'scale', |
| 737 | ], |
| 738 | 'styles' => |
| 739 | [ |
| 740 | 'block' => |
| 741 | [ |
| 742 | 'backgroundColor' => 'transparent', |
| 743 | ], |
| 744 | ], |
| 745 | 'blocks' => |
| 746 | [ |
| 747 | 0 => |
| 748 | [ |
| 749 | 'type' => 'image', |
| 750 | 'link' => '', |
| 751 | 'src' => $this->template_image_url . '/Birds-Images-6.jpg', |
| 752 | 'alt' => 'Birds-Images-6', |
| 753 | 'fullWidth' => true, |
| 754 | 'width' => '800px', |
| 755 | 'height' => '600px', |
| 756 | 'styles' => |
| 757 | [ |
| 758 | 'block' => |
| 759 | [ |
| 760 | 'textAlign' => 'center', |
| 761 | ], |
| 762 | ], |
| 763 | ], |
| 764 | ], |
| 765 | ], |
| 766 | 1 => |
| 767 | [ |
| 768 | 'type' => 'container', |
| 769 | 'columnLayout' => false, |
| 770 | 'orientation' => 'vertical', |
| 771 | 'image' => |
| 772 | [ |
| 773 | 'src' => null, |
| 774 | 'display' => 'scale', |
| 775 | ], |
| 776 | 'styles' => |
| 777 | [ |
| 778 | 'block' => |
| 779 | [ |
| 780 | 'backgroundColor' => 'transparent', |
| 781 | ], |
| 782 | ], |
| 783 | 'blocks' => |
| 784 | [ |
| 785 | 0 => |
| 786 | [ |
| 787 | 'type' => 'image', |
| 788 | 'link' => '', |
| 789 | 'src' => $this->template_image_url . '/Birds-Images-7.jpg', |
| 790 | 'alt' => 'Birds-Images-7', |
| 791 | 'fullWidth' => true, |
| 792 | 'width' => '800px', |
| 793 | 'height' => '600px', |
| 794 | 'styles' => |
| 795 | [ |
| 796 | 'block' => |
| 797 | [ |
| 798 | 'textAlign' => 'center', |
| 799 | ], |
| 800 | ], |
| 801 | ], |
| 802 | ], |
| 803 | ], |
| 804 | 2 => |
| 805 | [ |
| 806 | 'type' => 'container', |
| 807 | 'columnLayout' => false, |
| 808 | 'orientation' => 'vertical', |
| 809 | 'image' => |
| 810 | [ |
| 811 | 'src' => null, |
| 812 | 'display' => 'scale', |
| 813 | ], |
| 814 | 'styles' => |
| 815 | [ |
| 816 | 'block' => |
| 817 | [ |
| 818 | 'backgroundColor' => 'transparent', |
| 819 | ], |
| 820 | ], |
| 821 | 'blocks' => |
| 822 | [ |
| 823 | 0 => |
| 824 | [ |
| 825 | 'type' => 'image', |
| 826 | 'link' => '', |
| 827 | 'src' => $this->template_image_url . '/Birds-Images-5.jpg', |
| 828 | 'alt' => 'Birds-Images-5', |
| 829 | 'fullWidth' => true, |
| 830 | 'width' => '800px', |
| 831 | 'height' => '600px', |
| 832 | 'styles' => |
| 833 | [ |
| 834 | 'block' => |
| 835 | [ |
| 836 | 'textAlign' => 'center', |
| 837 | ], |
| 838 | ], |
| 839 | ], |
| 840 | ], |
| 841 | ], |
| 842 | ], |
| 843 | ], |
| 844 | 9 => |
| 845 | [ |
| 846 | 'type' => 'container', |
| 847 | 'columnLayout' => false, |
| 848 | 'orientation' => 'horizontal', |
| 849 | 'image' => |
| 850 | [ |
| 851 | 'src' => null, |
| 852 | 'display' => 'scale', |
| 853 | ], |
| 854 | 'styles' => |
| 855 | [ |
| 856 | 'block' => |
| 857 | [ |
| 858 | 'backgroundColor' => 'transparent', |
| 859 | ], |
| 860 | ], |
| 861 | 'blocks' => |
| 862 | [ |
| 863 | 0 => |
| 864 | [ |
| 865 | 'type' => 'container', |
| 866 | 'columnLayout' => false, |
| 867 | 'orientation' => 'vertical', |
| 868 | 'image' => |
| 869 | [ |
| 870 | 'src' => null, |
| 871 | 'display' => 'scale', |
| 872 | ], |
| 873 | 'styles' => |
| 874 | [ |
| 875 | 'block' => |
| 876 | [ |
| 877 | 'backgroundColor' => 'transparent', |
| 878 | ], |
| 879 | ], |
| 880 | 'blocks' => |
| 881 | [ |
| 882 | 0 => |
| 883 | [ |
| 884 | 'type' => 'image', |
| 885 | 'link' => '', |
| 886 | 'src' => $this->template_image_url . '/Birds-Images-2.jpg', |
| 887 | 'alt' => 'Birds-Images-2', |
| 888 | 'fullWidth' => true, |
| 889 | 'width' => '800px', |
| 890 | 'height' => '600px', |
| 891 | 'styles' => |
| 892 | [ |
| 893 | 'block' => |
| 894 | [ |
| 895 | 'textAlign' => 'center', |
| 896 | ], |
| 897 | ], |
| 898 | ], |
| 899 | ], |
| 900 | ], |
| 901 | 1 => |
| 902 | [ |
| 903 | 'type' => 'container', |
| 904 | 'columnLayout' => false, |
| 905 | 'orientation' => 'vertical', |
| 906 | 'image' => |
| 907 | [ |
| 908 | 'src' => null, |
| 909 | 'display' => 'scale', |
| 910 | ], |
| 911 | 'styles' => |
| 912 | [ |
| 913 | 'block' => |
| 914 | [ |
| 915 | 'backgroundColor' => 'transparent', |
| 916 | ], |
| 917 | ], |
| 918 | 'blocks' => |
| 919 | [ |
| 920 | 0 => |
| 921 | [ |
| 922 | 'type' => 'image', |
| 923 | 'link' => '', |
| 924 | 'src' => $this->template_image_url . '/Birds-Images-3.jpg', |
| 925 | 'alt' => 'Birds-Images-3', |
| 926 | 'fullWidth' => true, |
| 927 | 'width' => '800px', |
| 928 | 'height' => '600px', |
| 929 | 'styles' => |
| 930 | [ |
| 931 | 'block' => |
| 932 | [ |
| 933 | 'textAlign' => 'center', |
| 934 | ], |
| 935 | ], |
| 936 | ], |
| 937 | ], |
| 938 | ], |
| 939 | 2 => |
| 940 | [ |
| 941 | 'type' => 'container', |
| 942 | 'columnLayout' => false, |
| 943 | 'orientation' => 'vertical', |
| 944 | 'image' => |
| 945 | [ |
| 946 | 'src' => null, |
| 947 | 'display' => 'scale', |
| 948 | ], |
| 949 | 'styles' => |
| 950 | [ |
| 951 | 'block' => |
| 952 | [ |
| 953 | 'backgroundColor' => 'transparent', |
| 954 | ], |
| 955 | ], |
| 956 | 'blocks' => |
| 957 | [ |
| 958 | 0 => |
| 959 | [ |
| 960 | 'type' => 'image', |
| 961 | 'link' => '', |
| 962 | 'src' => $this->template_image_url . '/Birds-Images-4.jpg', |
| 963 | 'alt' => 'Birds-Images-4', |
| 964 | 'fullWidth' => true, |
| 965 | 'width' => '800px', |
| 966 | 'height' => '600px', |
| 967 | 'styles' => |
| 968 | [ |
| 969 | 'block' => |
| 970 | [ |
| 971 | 'textAlign' => 'center', |
| 972 | ], |
| 973 | ], |
| 974 | ], |
| 975 | ], |
| 976 | ], |
| 977 | ], |
| 978 | ], |
| 979 | 10 => |
| 980 | [ |
| 981 | 'type' => 'container', |
| 982 | 'columnLayout' => false, |
| 983 | 'orientation' => 'horizontal', |
| 984 | 'image' => |
| 985 | [ |
| 986 | 'src' => null, |
| 987 | 'display' => 'scale', |
| 988 | ], |
| 989 | 'styles' => |
| 990 | [ |
| 991 | 'block' => |
| 992 | [ |
| 993 | 'backgroundColor' => '#222222', |
| 994 | ], |
| 995 | ], |
| 996 | 'blocks' => |
| 997 | [ |
| 998 | 0 => |
| 999 | [ |
| 1000 | 'type' => 'container', |
| 1001 | 'columnLayout' => false, |
| 1002 | 'orientation' => 'vertical', |
| 1003 | 'image' => |
| 1004 | [ |
| 1005 | 'src' => null, |
| 1006 | 'display' => 'scale', |
| 1007 | ], |
| 1008 | 'styles' => |
| 1009 | [ |
| 1010 | 'block' => |
| 1011 | [ |
| 1012 | 'backgroundColor' => 'transparent', |
| 1013 | ], |
| 1014 | ], |
| 1015 | 'blocks' => |
| 1016 | [ |
| 1017 | 0 => |
| 1018 | [ |
| 1019 | 'type' => 'spacer', |
| 1020 | 'styles' => |
| 1021 | [ |
| 1022 | 'block' => |
| 1023 | [ |
| 1024 | 'backgroundColor' => 'transparent', |
| 1025 | 'height' => '30px', |
| 1026 | ], |
| 1027 | ], |
| 1028 | ], |
| 1029 | ], |
| 1030 | ], |
| 1031 | ], |
| 1032 | ], |
| 1033 | 11 => |
| 1034 | [ |
| 1035 | 'type' => 'container', |
| 1036 | 'columnLayout' => '1_2', |
| 1037 | 'orientation' => 'horizontal', |
| 1038 | 'image' => |
| 1039 | [ |
| 1040 | 'src' => null, |
| 1041 | 'display' => 'scale', |
| 1042 | ], |
| 1043 | 'styles' => |
| 1044 | [ |
| 1045 | 'block' => |
| 1046 | [ |
| 1047 | 'backgroundColor' => '#222222', |
| 1048 | ], |
| 1049 | ], |
| 1050 | 'blocks' => |
| 1051 | [ |
| 1052 | 0 => |
| 1053 | [ |
| 1054 | 'type' => 'container', |
| 1055 | 'columnLayout' => false, |
| 1056 | 'orientation' => 'vertical', |
| 1057 | 'image' => |
| 1058 | [ |
| 1059 | 'src' => null, |
| 1060 | 'display' => 'scale', |
| 1061 | ], |
| 1062 | 'styles' => |
| 1063 | [ |
| 1064 | 'block' => |
| 1065 | [ |
| 1066 | 'backgroundColor' => 'transparent', |
| 1067 | ], |
| 1068 | ], |
| 1069 | 'blocks' => |
| 1070 | [ |
| 1071 | 0 => |
| 1072 | [ |
| 1073 | 'type' => 'image', |
| 1074 | 'link' => '', |
| 1075 | 'src' => $this->template_image_url . '/580b57fbd9996e24bc43bb61.png', |
| 1076 | 'alt' => '580b57fbd9996e24bc43bb61', |
| 1077 | 'fullWidth' => true, |
| 1078 | 'width' => '671px', |
| 1079 | 'height' => '700px', |
| 1080 | 'styles' => |
| 1081 | [ |
| 1082 | 'block' => |
| 1083 | [ |
| 1084 | 'textAlign' => 'center', |
| 1085 | ], |
| 1086 | ], |
| 1087 | ], |
| 1088 | ], |
| 1089 | ], |
| 1090 | 1 => |
| 1091 | [ |
| 1092 | 'type' => 'container', |
| 1093 | 'columnLayout' => false, |
| 1094 | 'orientation' => 'vertical', |
| 1095 | 'image' => |
| 1096 | [ |
| 1097 | 'src' => null, |
| 1098 | 'display' => 'scale', |
| 1099 | ], |
| 1100 | 'styles' => |
| 1101 | [ |
| 1102 | 'block' => |
| 1103 | [ |
| 1104 | 'backgroundColor' => 'transparent', |
| 1105 | ], |
| 1106 | ], |
| 1107 | 'blocks' => |
| 1108 | [ |
| 1109 | 0 => |
| 1110 | [ |
| 1111 | 'type' => 'spacer', |
| 1112 | 'styles' => |
| 1113 | [ |
| 1114 | 'block' => |
| 1115 | [ |
| 1116 | 'backgroundColor' => 'transparent', |
| 1117 | 'height' => '20px', |
| 1118 | ], |
| 1119 | ], |
| 1120 | ], |
| 1121 | 1 => |
| 1122 | [ |
| 1123 | 'type' => 'text', |
| 1124 | 'text' => '<h3><strong><span style="color: #ffffff;">Tweeting isn\'t just for birds...</span></strong></h3> |
| 1125 | <p><span style="color: #ffffff;">We love to hear your thoughts about this newsletter, as well as being able to share your amazing pictures with us. Use the hashtag <strong>#birdwatch</strong> and we\'ll share the best pictures here each month.</span></p>', |
| 1126 | ], |
| 1127 | 2 => |
| 1128 | [ |
| 1129 | 'type' => 'social', |
| 1130 | 'iconSet' => 'official-white', |
| 1131 | 'styles' => |
| 1132 | [ |
| 1133 | 'block' => |
| 1134 | [ |
| 1135 | 'textAlign' => 'center', |
| 1136 | ], |
| 1137 | ], |
| 1138 | 'icons' => |
| 1139 | [ |
| 1140 | 0 => |
| 1141 | [ |
| 1142 | 'type' => 'socialIcon', |
| 1143 | 'iconType' => 'facebook', |
| 1144 | 'link' => 'http://www.facebook.com', |
| 1145 | 'image' => $this->social_icon_url . '/12-official-white/Facebook.png', |
| 1146 | 'height' => '32px', |
| 1147 | 'width' => '32px', |
| 1148 | 'text' => 'Facebook', |
| 1149 | ], |
| 1150 | 1 => |
| 1151 | [ |
| 1152 | 'type' => 'socialIcon', |
| 1153 | 'iconType' => 'twitter', |
| 1154 | 'link' => 'http://www.twitter.com', |
| 1155 | 'image' => $this->social_icon_url . '/12-official-white/X.png', |
| 1156 | 'height' => '32px', |
| 1157 | 'width' => '32px', |
| 1158 | 'text' => 'Twitter', |
| 1159 | ], |
| 1160 | 2 => |
| 1161 | [ |
| 1162 | 'type' => 'socialIcon', |
| 1163 | 'iconType' => 'instagram', |
| 1164 | 'link' => 'http://instagram.com', |
| 1165 | 'image' => $this->social_icon_url . '/12-official-white/Instagram.png', |
| 1166 | 'height' => '32px', |
| 1167 | 'width' => '32px', |
| 1168 | 'text' => 'Instagram', |
| 1169 | ], |
| 1170 | 3 => |
| 1171 | [ |
| 1172 | 'type' => 'socialIcon', |
| 1173 | 'iconType' => 'youtube', |
| 1174 | 'link' => 'http://www.youtube.com', |
| 1175 | 'image' => $this->social_icon_url . '/12-official-white/Youtube.png', |
| 1176 | 'height' => '32px', |
| 1177 | 'width' => '32px', |
| 1178 | 'text' => 'Youtube', |
| 1179 | ], |
| 1180 | ], |
| 1181 | ], |
| 1182 | ], |
| 1183 | ], |
| 1184 | ], |
| 1185 | ], |
| 1186 | 12 => |
| 1187 | [ |
| 1188 | 'type' => 'container', |
| 1189 | 'columnLayout' => false, |
| 1190 | 'orientation' => 'horizontal', |
| 1191 | 'image' => |
| 1192 | [ |
| 1193 | 'src' => null, |
| 1194 | 'display' => 'scale', |
| 1195 | ], |
| 1196 | 'styles' => |
| 1197 | [ |
| 1198 | 'block' => |
| 1199 | [ |
| 1200 | 'backgroundColor' => '#222222', |
| 1201 | ], |
| 1202 | ], |
| 1203 | 'blocks' => |
| 1204 | [ |
| 1205 | 0 => |
| 1206 | [ |
| 1207 | 'type' => 'container', |
| 1208 | 'columnLayout' => false, |
| 1209 | 'orientation' => 'vertical', |
| 1210 | 'image' => |
| 1211 | [ |
| 1212 | 'src' => null, |
| 1213 | 'display' => 'scale', |
| 1214 | ], |
| 1215 | 'styles' => |
| 1216 | [ |
| 1217 | 'block' => |
| 1218 | [ |
| 1219 | 'backgroundColor' => 'transparent', |
| 1220 | ], |
| 1221 | ], |
| 1222 | 'blocks' => |
| 1223 | [ |
| 1224 | 0 => |
| 1225 | [ |
| 1226 | 'type' => 'spacer', |
| 1227 | 'styles' => |
| 1228 | [ |
| 1229 | 'block' => |
| 1230 | [ |
| 1231 | 'backgroundColor' => 'transparent', |
| 1232 | 'height' => '20px', |
| 1233 | ], |
| 1234 | ], |
| 1235 | ], |
| 1236 | ], |
| 1237 | ], |
| 1238 | ], |
| 1239 | ], |
| 1240 | 13 => |
| 1241 | [ |
| 1242 | 'type' => 'container', |
| 1243 | 'columnLayout' => false, |
| 1244 | 'orientation' => 'horizontal', |
| 1245 | 'image' => |
| 1246 | [ |
| 1247 | 'src' => null, |
| 1248 | 'display' => 'scale', |
| 1249 | ], |
| 1250 | 'styles' => |
| 1251 | [ |
| 1252 | 'block' => |
| 1253 | [ |
| 1254 | 'backgroundColor' => '#26b6cf', |
| 1255 | ], |
| 1256 | ], |
| 1257 | 'blocks' => |
| 1258 | [ |
| 1259 | 0 => |
| 1260 | [ |
| 1261 | 'type' => 'container', |
| 1262 | 'columnLayout' => false, |
| 1263 | 'orientation' => 'vertical', |
| 1264 | 'image' => |
| 1265 | [ |
| 1266 | 'src' => null, |
| 1267 | 'display' => 'scale', |
| 1268 | ], |
| 1269 | 'styles' => |
| 1270 | [ |
| 1271 | 'block' => |
| 1272 | [ |
| 1273 | 'backgroundColor' => 'transparent', |
| 1274 | ], |
| 1275 | ], |
| 1276 | 'blocks' => |
| 1277 | [ |
| 1278 | 0 => |
| 1279 | [ |
| 1280 | 'type' => 'spacer', |
| 1281 | 'styles' => |
| 1282 | [ |
| 1283 | 'block' => |
| 1284 | [ |
| 1285 | 'backgroundColor' => 'transparent', |
| 1286 | 'height' => '20px', |
| 1287 | ], |
| 1288 | ], |
| 1289 | ], |
| 1290 | ], |
| 1291 | ], |
| 1292 | ], |
| 1293 | ], |
| 1294 | 14 => |
| 1295 | [ |
| 1296 | 'type' => 'container', |
| 1297 | 'columnLayout' => false, |
| 1298 | 'orientation' => 'horizontal', |
| 1299 | 'image' => |
| 1300 | [ |
| 1301 | 'src' => null, |
| 1302 | 'display' => 'scale', |
| 1303 | ], |
| 1304 | 'styles' => |
| 1305 | [ |
| 1306 | 'block' => |
| 1307 | [ |
| 1308 | 'backgroundColor' => '#26b6cf', |
| 1309 | ], |
| 1310 | ], |
| 1311 | 'blocks' => |
| 1312 | [ |
| 1313 | 0 => |
| 1314 | [ |
| 1315 | 'type' => 'container', |
| 1316 | 'columnLayout' => false, |
| 1317 | 'orientation' => 'vertical', |
| 1318 | 'image' => |
| 1319 | [ |
| 1320 | 'src' => null, |
| 1321 | 'display' => 'scale', |
| 1322 | ], |
| 1323 | 'styles' => |
| 1324 | [ |
| 1325 | 'block' => |
| 1326 | [ |
| 1327 | 'backgroundColor' => 'transparent', |
| 1328 | ], |
| 1329 | ], |
| 1330 | 'blocks' => |
| 1331 | [ |
| 1332 | 0 => |
| 1333 | [ |
| 1334 | 'type' => 'image', |
| 1335 | 'link' => '', |
| 1336 | 'src' => $this->template_image_url . '/Birds-Logo-1.png', |
| 1337 | 'alt' => 'Birds-Logo', |
| 1338 | 'fullWidth' => false, |
| 1339 | 'width' => '164px', |
| 1340 | 'height' => '127px', |
| 1341 | 'styles' => |
| 1342 | [ |
| 1343 | 'block' => |
| 1344 | [ |
| 1345 | 'textAlign' => 'center', |
| 1346 | ], |
| 1347 | ], |
| 1348 | ], |
| 1349 | 1 => |
| 1350 | [ |
| 1351 | 'type' => 'footer', |
| 1352 | '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>', |
| 1353 | 'styles' => |
| 1354 | [ |
| 1355 | 'block' => |
| 1356 | [ |
| 1357 | 'backgroundColor' => 'transparent', |
| 1358 | ], |
| 1359 | 'text' => |
| 1360 | [ |
| 1361 | 'fontColor' => '#147080', |
| 1362 | 'fontFamily' => 'Roboto', |
| 1363 | 'fontSize' => '12px', |
| 1364 | 'textAlign' => 'center', |
| 1365 | ], |
| 1366 | 'link' => |
| 1367 | [ |
| 1368 | 'fontColor' => '#12616f', |
| 1369 | 'textDecoration' => 'underline', |
| 1370 | ], |
| 1371 | ], |
| 1372 | ], |
| 1373 | ], |
| 1374 | ], |
| 1375 | ], |
| 1376 | ], |
| 1377 | ], |
| 1378 | ], |
| 1379 | 'globalStyles' => |
| 1380 | [ |
| 1381 | 'text' => |
| 1382 | [ |
| 1383 | 'fontColor' => '#3d3d3d', |
| 1384 | 'fontFamily' => 'Roboto', |
| 1385 | 'fontSize' => '14px', |
| 1386 | ], |
| 1387 | 'h1' => |
| 1388 | [ |
| 1389 | 'fontColor' => '#3d3d3d', |
| 1390 | 'fontFamily' => 'Roboto', |
| 1391 | 'fontSize' => '36px', |
| 1392 | ], |
| 1393 | 'h2' => |
| 1394 | [ |
| 1395 | 'fontColor' => '#3d3d3d', |
| 1396 | 'fontFamily' => 'Roboto', |
| 1397 | 'fontSize' => '24px', |
| 1398 | ], |
| 1399 | 'h3' => |
| 1400 | [ |
| 1401 | 'fontColor' => '#3d3d3d', |
| 1402 | 'fontFamily' => 'Roboto', |
| 1403 | 'fontSize' => '22px', |
| 1404 | ], |
| 1405 | 'link' => |
| 1406 | [ |
| 1407 | 'fontColor' => '#21759B', |
| 1408 | 'textDecoration' => 'underline', |
| 1409 | ], |
| 1410 | 'wrapper' => |
| 1411 | [ |
| 1412 | 'backgroundColor' => '#ffffff', |
| 1413 | ], |
| 1414 | 'body' => |
| 1415 | [ |
| 1416 | 'backgroundColor' => '#222222', |
| 1417 | ], |
| 1418 | ], |
| 1419 | 'blockDefaults' => |
| 1420 | [ |
| 1421 | 'automatedLatestContent' => |
| 1422 | [ |
| 1423 | 'amount' => '5', |
| 1424 | 'withLayout' => false, |
| 1425 | 'contentType' => 'post', |
| 1426 | 'inclusionType' => 'include', |
| 1427 | 'displayType' => 'excerpt', |
| 1428 | 'titleFormat' => 'h1', |
| 1429 | 'titleAlignment' => 'left', |
| 1430 | 'titleIsLink' => false, |
| 1431 | 'imageFullWidth' => false, |
| 1432 | 'featuredImagePosition' => 'belowTitle', |
| 1433 | 'showAuthor' => 'no', |
| 1434 | 'authorPrecededBy' => 'Author:', |
| 1435 | 'showCategories' => 'no', |
| 1436 | 'categoriesPrecededBy' => 'Categories:', |
| 1437 | 'readMoreType' => 'button', |
| 1438 | 'readMoreText' => 'Read more', |
| 1439 | 'readMoreButton' => |
| 1440 | [ |
| 1441 | 'text' => 'Read more', |
| 1442 | 'url' => '[postLink]', |
| 1443 | 'context' => 'automatedLatestContent.readMoreButton', |
| 1444 | 'styles' => |
| 1445 | [ |
| 1446 | 'block' => |
| 1447 | [ |
| 1448 | 'backgroundColor' => '#2ea1cd', |
| 1449 | 'borderColor' => '#0074a2', |
| 1450 | 'borderWidth' => '1px', |
| 1451 | 'borderRadius' => '5px', |
| 1452 | 'borderStyle' => 'solid', |
| 1453 | 'width' => '180px', |
| 1454 | 'lineHeight' => '40px', |
| 1455 | 'fontColor' => '#ffffff', |
| 1456 | 'fontFamily' => 'Verdana', |
| 1457 | 'fontSize' => '18px', |
| 1458 | 'fontWeight' => 'normal', |
| 1459 | 'textAlign' => 'center', |
| 1460 | ], |
| 1461 | ], |
| 1462 | ], |
| 1463 | 'sortBy' => 'newest', |
| 1464 | 'showDivider' => true, |
| 1465 | 'divider' => |
| 1466 | [ |
| 1467 | 'context' => 'automatedLatestContent.divider', |
| 1468 | 'styles' => |
| 1469 | [ |
| 1470 | 'block' => |
| 1471 | [ |
| 1472 | 'backgroundColor' => 'transparent', |
| 1473 | 'padding' => '13px', |
| 1474 | 'borderStyle' => 'solid', |
| 1475 | 'borderWidth' => '3px', |
| 1476 | 'borderColor' => '#aaaaaa', |
| 1477 | ], |
| 1478 | ], |
| 1479 | ], |
| 1480 | 'backgroundColor' => '#ffffff', |
| 1481 | 'backgroundColorAlternate' => '#eeeeee', |
| 1482 | ], |
| 1483 | 'automatedLatestContentLayout' => |
| 1484 | [ |
| 1485 | 'amount' => '5', |
| 1486 | 'withLayout' => true, |
| 1487 | 'contentType' => 'post', |
| 1488 | 'inclusionType' => 'include', |
| 1489 | 'displayType' => 'excerpt', |
| 1490 | 'titleFormat' => 'h1', |
| 1491 | 'titleAlignment' => 'left', |
| 1492 | 'titleIsLink' => false, |
| 1493 | 'imageFullWidth' => false, |
| 1494 | 'featuredImagePosition' => 'alternate', |
| 1495 | 'showAuthor' => 'no', |
| 1496 | 'authorPrecededBy' => 'Author:', |
| 1497 | 'showCategories' => 'no', |
| 1498 | 'categoriesPrecededBy' => 'Categories:', |
| 1499 | 'readMoreType' => 'button', |
| 1500 | 'readMoreText' => 'Read more', |
| 1501 | 'readMoreButton' => |
| 1502 | [ |
| 1503 | 'text' => 'Read more', |
| 1504 | 'url' => '[postLink]', |
| 1505 | 'context' => 'automatedLatestContentLayout.readMoreButton', |
| 1506 | 'styles' => |
| 1507 | [ |
| 1508 | 'block' => |
| 1509 | [ |
| 1510 | 'backgroundColor' => '#2ea1cd', |
| 1511 | 'borderColor' => '#0074a2', |
| 1512 | 'borderWidth' => '1px', |
| 1513 | 'borderRadius' => '5px', |
| 1514 | 'borderStyle' => 'solid', |
| 1515 | 'width' => '180px', |
| 1516 | 'lineHeight' => '40px', |
| 1517 | 'fontColor' => '#ffffff', |
| 1518 | 'fontFamily' => 'Verdana', |
| 1519 | 'fontSize' => '18px', |
| 1520 | 'fontWeight' => 'normal', |
| 1521 | 'textAlign' => 'center', |
| 1522 | ], |
| 1523 | ], |
| 1524 | ], |
| 1525 | 'sortBy' => 'newest', |
| 1526 | 'showDivider' => true, |
| 1527 | 'divider' => |
| 1528 | [ |
| 1529 | 'context' => 'automatedLatestContentLayout.divider', |
| 1530 | 'styles' => |
| 1531 | [ |
| 1532 | 'block' => |
| 1533 | [ |
| 1534 | 'backgroundColor' => 'transparent', |
| 1535 | 'padding' => '13px', |
| 1536 | 'borderStyle' => 'solid', |
| 1537 | 'borderWidth' => '3px', |
| 1538 | 'borderColor' => '#aaaaaa', |
| 1539 | ], |
| 1540 | ], |
| 1541 | ], |
| 1542 | 'backgroundColor' => '#ffffff', |
| 1543 | 'backgroundColorAlternate' => '#eeeeee', |
| 1544 | ], |
| 1545 | 'button' => |
| 1546 | [ |
| 1547 | 'text' => 'Read more', |
| 1548 | 'url' => '', |
| 1549 | 'styles' => |
| 1550 | [ |
| 1551 | 'block' => |
| 1552 | [ |
| 1553 | 'backgroundColor' => '#26b6cf', |
| 1554 | 'borderColor' => '#0074a2', |
| 1555 | 'borderWidth' => '0px', |
| 1556 | 'borderRadius' => '0px', |
| 1557 | 'borderStyle' => 'solid', |
| 1558 | 'width' => '82px', |
| 1559 | 'lineHeight' => '29px', |
| 1560 | 'fontColor' => '#ffffff', |
| 1561 | 'fontFamily' => 'Merriweather Sans', |
| 1562 | 'fontSize' => '12px', |
| 1563 | 'fontWeight' => 'normal', |
| 1564 | 'textAlign' => 'left', |
| 1565 | ], |
| 1566 | ], |
| 1567 | 'type' => 'button', |
| 1568 | ], |
| 1569 | 'divider' => |
| 1570 | [ |
| 1571 | 'styles' => |
| 1572 | [ |
| 1573 | 'block' => |
| 1574 | [ |
| 1575 | 'backgroundColor' => '#2d4b50', |
| 1576 | 'padding' => '5.5px', |
| 1577 | 'borderStyle' => 'dotted', |
| 1578 | 'borderWidth' => '4px', |
| 1579 | 'borderColor' => '#4a6b70', |
| 1580 | ], |
| 1581 | ], |
| 1582 | 'type' => 'divider', |
| 1583 | ], |
| 1584 | 'footer' => |
| 1585 | [ |
| 1586 | '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>', |
| 1587 | 'styles' => |
| 1588 | [ |
| 1589 | 'block' => |
| 1590 | [ |
| 1591 | 'backgroundColor' => 'transparent', |
| 1592 | ], |
| 1593 | 'text' => |
| 1594 | [ |
| 1595 | 'fontColor' => '#147080', |
| 1596 | 'fontFamily' => 'Roboto', |
| 1597 | 'fontSize' => '12px', |
| 1598 | 'textAlign' => 'center', |
| 1599 | ], |
| 1600 | 'link' => |
| 1601 | [ |
| 1602 | 'fontColor' => '#12616f', |
| 1603 | 'textDecoration' => 'underline', |
| 1604 | ], |
| 1605 | ], |
| 1606 | 'type' => 'footer', |
| 1607 | ], |
| 1608 | 'posts' => |
| 1609 | [ |
| 1610 | 'amount' => '10', |
| 1611 | 'withLayout' => true, |
| 1612 | 'contentType' => 'post', |
| 1613 | 'postStatus' => 'publish', |
| 1614 | 'inclusionType' => 'include', |
| 1615 | 'displayType' => 'excerpt', |
| 1616 | 'titleFormat' => 'h1', |
| 1617 | 'titleAlignment' => 'left', |
| 1618 | 'titleIsLink' => false, |
| 1619 | 'imageFullWidth' => false, |
| 1620 | 'featuredImagePosition' => 'alternate', |
| 1621 | 'showAuthor' => 'no', |
| 1622 | 'authorPrecededBy' => 'Author:', |
| 1623 | 'showCategories' => 'no', |
| 1624 | 'categoriesPrecededBy' => 'Categories:', |
| 1625 | 'readMoreType' => 'link', |
| 1626 | 'readMoreText' => 'Read more', |
| 1627 | 'readMoreButton' => |
| 1628 | [ |
| 1629 | 'text' => 'Read more', |
| 1630 | 'url' => '[postLink]', |
| 1631 | 'context' => 'posts.readMoreButton', |
| 1632 | 'styles' => |
| 1633 | [ |
| 1634 | 'block' => |
| 1635 | [ |
| 1636 | 'backgroundColor' => '#2ea1cd', |
| 1637 | 'borderColor' => '#0074a2', |
| 1638 | 'borderWidth' => '1px', |
| 1639 | 'borderRadius' => '5px', |
| 1640 | 'borderStyle' => 'solid', |
| 1641 | 'width' => '180px', |
| 1642 | 'lineHeight' => '40px', |
| 1643 | 'fontColor' => '#ffffff', |
| 1644 | 'fontFamily' => 'Verdana', |
| 1645 | 'fontSize' => '18px', |
| 1646 | 'fontWeight' => 'normal', |
| 1647 | 'textAlign' => 'center', |
| 1648 | ], |
| 1649 | ], |
| 1650 | ], |
| 1651 | 'sortBy' => 'newest', |
| 1652 | 'showDivider' => true, |
| 1653 | 'divider' => |
| 1654 | [ |
| 1655 | 'context' => 'posts.divider', |
| 1656 | 'styles' => |
| 1657 | [ |
| 1658 | 'block' => |
| 1659 | [ |
| 1660 | 'backgroundColor' => 'transparent', |
| 1661 | 'padding' => '13px', |
| 1662 | 'borderStyle' => 'solid', |
| 1663 | 'borderWidth' => '3px', |
| 1664 | 'borderColor' => '#aaaaaa', |
| 1665 | ], |
| 1666 | ], |
| 1667 | ], |
| 1668 | 'backgroundColor' => '#ffffff', |
| 1669 | 'backgroundColorAlternate' => '#eeeeee', |
| 1670 | ], |
| 1671 | 'social' => |
| 1672 | [ |
| 1673 | 'iconSet' => 'official-white', |
| 1674 | 'icons' => |
| 1675 | [ |
| 1676 | 0 => |
| 1677 | [ |
| 1678 | 'type' => 'socialIcon', |
| 1679 | 'iconType' => 'facebook', |
| 1680 | 'link' => 'http://www.facebook.com', |
| 1681 | 'image' => $this->social_icon_url . '/12-official-white/Facebook.png', |
| 1682 | 'height' => '32px', |
| 1683 | 'width' => '32px', |
| 1684 | 'text' => 'Facebook', |
| 1685 | ], |
| 1686 | 1 => |
| 1687 | [ |
| 1688 | 'type' => 'socialIcon', |
| 1689 | 'iconType' => 'twitter', |
| 1690 | 'link' => 'http://www.twitter.com', |
| 1691 | 'image' => $this->social_icon_url . '/12-official-white/X.png', |
| 1692 | 'height' => '32px', |
| 1693 | 'width' => '32px', |
| 1694 | 'text' => 'Twitter', |
| 1695 | ], |
| 1696 | 2 => |
| 1697 | [ |
| 1698 | 'type' => 'socialIcon', |
| 1699 | 'iconType' => 'instagram', |
| 1700 | 'link' => 'http://instagram.com', |
| 1701 | 'image' => $this->social_icon_url . '/12-official-white/Instagram.png', |
| 1702 | 'height' => '32px', |
| 1703 | 'width' => '32px', |
| 1704 | 'text' => 'Instagram', |
| 1705 | ], |
| 1706 | 3 => |
| 1707 | [ |
| 1708 | 'type' => 'socialIcon', |
| 1709 | 'iconType' => 'youtube', |
| 1710 | 'link' => 'http://www.youtube.com', |
| 1711 | 'image' => $this->social_icon_url . '/12-official-white/Youtube.png', |
| 1712 | 'height' => '32px', |
| 1713 | 'width' => '32px', |
| 1714 | 'text' => 'Youtube', |
| 1715 | ], |
| 1716 | ], |
| 1717 | 'type' => 'social', |
| 1718 | ], |
| 1719 | 'spacer' => |
| 1720 | [ |
| 1721 | 'styles' => |
| 1722 | [ |
| 1723 | 'block' => |
| 1724 | [ |
| 1725 | 'backgroundColor' => 'transparent', |
| 1726 | 'height' => '112px', |
| 1727 | ], |
| 1728 | ], |
| 1729 | 'type' => 'spacer', |
| 1730 | ], |
| 1731 | 'header' => |
| 1732 | [ |
| 1733 | 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>', |
| 1734 | 'styles' => |
| 1735 | [ |
| 1736 | 'block' => |
| 1737 | [ |
| 1738 | 'backgroundColor' => 'transparent', |
| 1739 | ], |
| 1740 | 'text' => |
| 1741 | [ |
| 1742 | 'fontColor' => '#222222', |
| 1743 | 'fontFamily' => 'Roboto', |
| 1744 | 'fontSize' => '12px', |
| 1745 | 'textAlign' => 'right', |
| 1746 | ], |
| 1747 | 'link' => |
| 1748 | [ |
| 1749 | 'fontColor' => '#12616f', |
| 1750 | 'textDecoration' => 'underline', |
| 1751 | ], |
| 1752 | ], |
| 1753 | 'type' => 'header', |
| 1754 | ], |
| 1755 | ], |
| 1756 | ]; |
| 1757 | } |
| 1758 | } |
| 1759 |