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
Painter.php
1424 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 Painter { |
| 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/painter'; |
| 17 | $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; |
| 18 | } |
| 19 | |
| 20 | public function get() { |
| 21 | return [ |
| 22 | 'name' => __("Painter", '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' => 'transparent', |
| 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' => '30px', |
| 102 | ], |
| 103 | ], |
| 104 | ], |
| 105 | 1 => |
| 106 | [ |
| 107 | 'type' => 'header', |
| 108 | 'text' => '<p><a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a></p>', |
| 109 | 'styles' => |
| 110 | [ |
| 111 | 'block' => |
| 112 | [ |
| 113 | 'backgroundColor' => 'transparent', |
| 114 | ], |
| 115 | 'text' => |
| 116 | [ |
| 117 | 'fontColor' => '#222222', |
| 118 | 'fontFamily' => 'Merriweather', |
| 119 | 'fontSize' => '11px', |
| 120 | 'textAlign' => 'center', |
| 121 | ], |
| 122 | 'link' => |
| 123 | [ |
| 124 | 'fontColor' => '#787878', |
| 125 | 'textDecoration' => 'none', |
| 126 | ], |
| 127 | ], |
| 128 | ], |
| 129 | ], |
| 130 | ], |
| 131 | ], |
| 132 | ], |
| 133 | 1 => |
| 134 | [ |
| 135 | 'type' => 'container', |
| 136 | 'columnLayout' => false, |
| 137 | 'orientation' => 'horizontal', |
| 138 | 'image' => |
| 139 | [ |
| 140 | 'src' => null, |
| 141 | 'display' => 'scale', |
| 142 | ], |
| 143 | 'styles' => |
| 144 | [ |
| 145 | 'block' => |
| 146 | [ |
| 147 | 'backgroundColor' => 'transparent', |
| 148 | ], |
| 149 | ], |
| 150 | 'blocks' => |
| 151 | [ |
| 152 | 0 => |
| 153 | [ |
| 154 | 'type' => 'container', |
| 155 | 'columnLayout' => false, |
| 156 | 'orientation' => 'vertical', |
| 157 | 'image' => |
| 158 | [ |
| 159 | 'src' => null, |
| 160 | 'display' => 'scale', |
| 161 | ], |
| 162 | 'styles' => |
| 163 | [ |
| 164 | 'block' => |
| 165 | [ |
| 166 | 'backgroundColor' => 'transparent', |
| 167 | ], |
| 168 | ], |
| 169 | 'blocks' => |
| 170 | [ |
| 171 | 0 => |
| 172 | [ |
| 173 | 'type' => 'spacer', |
| 174 | 'styles' => |
| 175 | [ |
| 176 | 'block' => |
| 177 | [ |
| 178 | 'backgroundColor' => 'transparent', |
| 179 | 'height' => '20px', |
| 180 | ], |
| 181 | ], |
| 182 | ], |
| 183 | ], |
| 184 | ], |
| 185 | ], |
| 186 | ], |
| 187 | 2 => |
| 188 | [ |
| 189 | 'type' => 'container', |
| 190 | 'columnLayout' => false, |
| 191 | 'orientation' => 'horizontal', |
| 192 | 'image' => |
| 193 | [ |
| 194 | 'src' => $this->template_image_url . '/Painter-Logo-bg.jpg', |
| 195 | 'display' => 'scale', |
| 196 | ], |
| 197 | 'styles' => |
| 198 | [ |
| 199 | 'block' => |
| 200 | [ |
| 201 | 'backgroundColor' => '#8289ca', |
| 202 | ], |
| 203 | ], |
| 204 | 'blocks' => |
| 205 | [ |
| 206 | 0 => |
| 207 | [ |
| 208 | 'type' => 'container', |
| 209 | 'columnLayout' => false, |
| 210 | 'orientation' => 'vertical', |
| 211 | 'image' => |
| 212 | [ |
| 213 | 'src' => null, |
| 214 | 'display' => 'scale', |
| 215 | ], |
| 216 | 'styles' => |
| 217 | [ |
| 218 | 'block' => |
| 219 | [ |
| 220 | 'backgroundColor' => 'transparent', |
| 221 | ], |
| 222 | ], |
| 223 | 'blocks' => |
| 224 | [ |
| 225 | 0 => |
| 226 | [ |
| 227 | 'type' => 'spacer', |
| 228 | 'styles' => |
| 229 | [ |
| 230 | 'block' => |
| 231 | [ |
| 232 | 'backgroundColor' => 'transparent', |
| 233 | 'height' => '100px', |
| 234 | ], |
| 235 | ], |
| 236 | ], |
| 237 | 1 => |
| 238 | [ |
| 239 | 'type' => 'image', |
| 240 | 'link' => '', |
| 241 | 'src' => $this->template_image_url . '/Painter-Logo.png', |
| 242 | 'alt' => 'Painter-Logo', |
| 243 | 'fullWidth' => false, |
| 244 | 'width' => '305.9375px', |
| 245 | 'height' => '93px', |
| 246 | 'styles' => |
| 247 | [ |
| 248 | 'block' => |
| 249 | [ |
| 250 | 'textAlign' => 'center', |
| 251 | ], |
| 252 | ], |
| 253 | ], |
| 254 | 2 => |
| 255 | [ |
| 256 | 'type' => 'spacer', |
| 257 | 'styles' => |
| 258 | [ |
| 259 | 'block' => |
| 260 | [ |
| 261 | 'backgroundColor' => 'transparent', |
| 262 | 'height' => '100px', |
| 263 | ], |
| 264 | ], |
| 265 | ], |
| 266 | ], |
| 267 | ], |
| 268 | ], |
| 269 | ], |
| 270 | 3 => |
| 271 | [ |
| 272 | 'type' => 'container', |
| 273 | 'columnLayout' => false, |
| 274 | 'orientation' => 'horizontal', |
| 275 | 'image' => |
| 276 | [ |
| 277 | 'src' => null, |
| 278 | 'display' => 'scale', |
| 279 | ], |
| 280 | 'styles' => |
| 281 | [ |
| 282 | 'block' => |
| 283 | [ |
| 284 | 'backgroundColor' => 'transparent', |
| 285 | ], |
| 286 | ], |
| 287 | 'blocks' => |
| 288 | [ |
| 289 | 0 => |
| 290 | [ |
| 291 | 'type' => 'container', |
| 292 | 'columnLayout' => false, |
| 293 | 'orientation' => 'vertical', |
| 294 | 'image' => |
| 295 | [ |
| 296 | 'src' => null, |
| 297 | 'display' => 'scale', |
| 298 | ], |
| 299 | 'styles' => |
| 300 | [ |
| 301 | 'block' => |
| 302 | [ |
| 303 | 'backgroundColor' => 'transparent', |
| 304 | ], |
| 305 | ], |
| 306 | 'blocks' => |
| 307 | [ |
| 308 | 0 => |
| 309 | [ |
| 310 | 'type' => 'spacer', |
| 311 | 'styles' => |
| 312 | [ |
| 313 | 'block' => |
| 314 | [ |
| 315 | 'backgroundColor' => 'transparent', |
| 316 | 'height' => '30px', |
| 317 | ], |
| 318 | ], |
| 319 | ], |
| 320 | ], |
| 321 | ], |
| 322 | ], |
| 323 | ], |
| 324 | 4 => |
| 325 | [ |
| 326 | 'type' => 'container', |
| 327 | 'columnLayout' => false, |
| 328 | 'orientation' => 'horizontal', |
| 329 | 'image' => |
| 330 | [ |
| 331 | 'src' => null, |
| 332 | 'display' => 'scale', |
| 333 | ], |
| 334 | 'styles' => |
| 335 | [ |
| 336 | 'block' => |
| 337 | [ |
| 338 | 'backgroundColor' => 'transparent', |
| 339 | ], |
| 340 | ], |
| 341 | 'blocks' => |
| 342 | [ |
| 343 | 0 => |
| 344 | [ |
| 345 | 'type' => 'container', |
| 346 | 'columnLayout' => false, |
| 347 | 'orientation' => 'vertical', |
| 348 | 'image' => |
| 349 | [ |
| 350 | 'src' => null, |
| 351 | 'display' => 'scale', |
| 352 | ], |
| 353 | 'styles' => |
| 354 | [ |
| 355 | 'block' => |
| 356 | [ |
| 357 | 'backgroundColor' => 'transparent', |
| 358 | ], |
| 359 | ], |
| 360 | 'blocks' => |
| 361 | [ |
| 362 | 0 => |
| 363 | [ |
| 364 | 'type' => 'text', |
| 365 | 'text' => '<p style="text-align: center;"><a href="https://www.mailpoet.com">Reviews & Submissions</a></p>', |
| 366 | ], |
| 367 | ], |
| 368 | ], |
| 369 | 1 => |
| 370 | [ |
| 371 | 'type' => 'container', |
| 372 | 'columnLayout' => false, |
| 373 | 'orientation' => 'vertical', |
| 374 | 'image' => |
| 375 | [ |
| 376 | 'src' => null, |
| 377 | 'display' => 'scale', |
| 378 | ], |
| 379 | 'styles' => |
| 380 | [ |
| 381 | 'block' => |
| 382 | [ |
| 383 | 'backgroundColor' => 'transparent', |
| 384 | ], |
| 385 | ], |
| 386 | 'blocks' => |
| 387 | [ |
| 388 | 0 => |
| 389 | [ |
| 390 | 'type' => 'text', |
| 391 | 'text' => '<p style="text-align: center;"><a href="https://www.mailpoet.com">Essential Gear</a></p>', |
| 392 | ], |
| 393 | ], |
| 394 | ], |
| 395 | 2 => |
| 396 | [ |
| 397 | 'type' => 'container', |
| 398 | 'columnLayout' => false, |
| 399 | 'orientation' => 'vertical', |
| 400 | 'image' => |
| 401 | [ |
| 402 | 'src' => null, |
| 403 | 'display' => 'scale', |
| 404 | ], |
| 405 | 'styles' => |
| 406 | [ |
| 407 | 'block' => |
| 408 | [ |
| 409 | 'backgroundColor' => 'transparent', |
| 410 | ], |
| 411 | ], |
| 412 | 'blocks' => |
| 413 | [ |
| 414 | 0 => |
| 415 | [ |
| 416 | 'type' => 'text', |
| 417 | 'text' => '<p style="text-align: center;"><a href="https://www.mailpoet.com">Latest Commissions</a></p>', |
| 418 | ], |
| 419 | ], |
| 420 | ], |
| 421 | ], |
| 422 | ], |
| 423 | 5 => |
| 424 | [ |
| 425 | 'type' => 'container', |
| 426 | 'columnLayout' => false, |
| 427 | 'orientation' => 'horizontal', |
| 428 | 'image' => |
| 429 | [ |
| 430 | 'src' => $this->template_image_url . '/Painter-Header.jpg', |
| 431 | 'display' => 'scale', |
| 432 | ], |
| 433 | 'styles' => |
| 434 | [ |
| 435 | 'block' => |
| 436 | [ |
| 437 | 'backgroundColor' => '#ffffff', |
| 438 | ], |
| 439 | ], |
| 440 | 'blocks' => |
| 441 | [ |
| 442 | 0 => |
| 443 | [ |
| 444 | 'type' => 'container', |
| 445 | 'columnLayout' => false, |
| 446 | 'orientation' => 'vertical', |
| 447 | 'image' => |
| 448 | [ |
| 449 | 'src' => null, |
| 450 | 'display' => 'scale', |
| 451 | ], |
| 452 | 'styles' => |
| 453 | [ |
| 454 | 'block' => |
| 455 | [ |
| 456 | 'backgroundColor' => 'transparent', |
| 457 | ], |
| 458 | ], |
| 459 | 'blocks' => |
| 460 | [ |
| 461 | 0 => |
| 462 | [ |
| 463 | 'type' => 'spacer', |
| 464 | 'styles' => |
| 465 | [ |
| 466 | 'block' => |
| 467 | [ |
| 468 | 'backgroundColor' => 'transparent', |
| 469 | 'height' => '100px', |
| 470 | ], |
| 471 | ], |
| 472 | ], |
| 473 | 1 => |
| 474 | [ |
| 475 | 'type' => 'text', |
| 476 | 'text' => '<h1><strong>Welcome back</strong></h1> |
| 477 | <p>It\'s been a big month for the studio and we\'d love to show you some of our recent work.</p>', |
| 478 | ], |
| 479 | 2 => |
| 480 | [ |
| 481 | 'type' => 'spacer', |
| 482 | 'styles' => |
| 483 | [ |
| 484 | 'block' => |
| 485 | [ |
| 486 | 'backgroundColor' => 'transparent', |
| 487 | 'height' => '35px', |
| 488 | ], |
| 489 | ], |
| 490 | ], |
| 491 | 3 => |
| 492 | [ |
| 493 | 'type' => 'image', |
| 494 | 'link' => '', |
| 495 | 'src' => $this->template_image_url . '/186018-sktchy-2-nh-gutenCRALTBRBLOG.jpg', |
| 496 | 'alt' => '186018-sktchy-2-nh-gutenCRALTBRBLOG', |
| 497 | 'fullWidth' => false, |
| 498 | 'width' => '520px', |
| 499 | 'height' => '830px', |
| 500 | 'styles' => |
| 501 | [ |
| 502 | 'block' => |
| 503 | [ |
| 504 | 'textAlign' => 'center', |
| 505 | ], |
| 506 | ], |
| 507 | ], |
| 508 | ], |
| 509 | ], |
| 510 | 1 => |
| 511 | [ |
| 512 | 'type' => 'container', |
| 513 | 'columnLayout' => false, |
| 514 | 'orientation' => 'vertical', |
| 515 | 'image' => |
| 516 | [ |
| 517 | 'src' => null, |
| 518 | 'display' => 'scale', |
| 519 | ], |
| 520 | 'styles' => |
| 521 | [ |
| 522 | 'block' => |
| 523 | [ |
| 524 | 'backgroundColor' => 'transparent', |
| 525 | ], |
| 526 | ], |
| 527 | 'blocks' => |
| 528 | [ |
| 529 | 0 => |
| 530 | [ |
| 531 | 'type' => 'spacer', |
| 532 | 'styles' => |
| 533 | [ |
| 534 | 'block' => |
| 535 | [ |
| 536 | 'backgroundColor' => 'transparent', |
| 537 | 'height' => '140px', |
| 538 | ], |
| 539 | ], |
| 540 | ], |
| 541 | 1 => |
| 542 | [ |
| 543 | 'type' => 'image', |
| 544 | 'link' => '', |
| 545 | 'src' => $this->template_image_url . '/181215_2-laura-anderson-dog-fab-artistico-cpCRAltBRCRBlog.jpg', |
| 546 | 'alt' => '181215_2-laura-anderson-dog-fab-artistico-cpCRAltBRCRBlog', |
| 547 | 'fullWidth' => false, |
| 548 | 'width' => '180px', |
| 549 | 'height' => '1010px', |
| 550 | 'styles' => |
| 551 | [ |
| 552 | 'block' => |
| 553 | [ |
| 554 | 'textAlign' => 'center', |
| 555 | ], |
| 556 | ], |
| 557 | ], |
| 558 | 2 => |
| 559 | [ |
| 560 | 'type' => 'spacer', |
| 561 | 'styles' => |
| 562 | [ |
| 563 | 'block' => |
| 564 | [ |
| 565 | 'backgroundColor' => 'transparent', |
| 566 | 'height' => '40px', |
| 567 | ], |
| 568 | ], |
| 569 | ], |
| 570 | 3 => |
| 571 | [ |
| 572 | 'type' => 'image', |
| 573 | 'link' => '', |
| 574 | 'src' => $this->template_image_url . '/170204_sktchy_BlackChickenBrushPen2CRBR.jpg', |
| 575 | 'alt' => '170204_sktchy_BlackChickenBrushPen2CRBR', |
| 576 | 'fullWidth' => false, |
| 577 | 'width' => '328px', |
| 578 | 'height' => '686px', |
| 579 | 'styles' => |
| 580 | [ |
| 581 | 'block' => |
| 582 | [ |
| 583 | 'textAlign' => 'center', |
| 584 | ], |
| 585 | ], |
| 586 | ], |
| 587 | ], |
| 588 | ], |
| 589 | ], |
| 590 | ], |
| 591 | 6 => |
| 592 | [ |
| 593 | 'type' => 'container', |
| 594 | 'columnLayout' => false, |
| 595 | 'orientation' => 'horizontal', |
| 596 | 'image' => |
| 597 | [ |
| 598 | 'src' => null, |
| 599 | 'display' => 'scale', |
| 600 | ], |
| 601 | 'styles' => |
| 602 | [ |
| 603 | 'block' => |
| 604 | [ |
| 605 | 'backgroundColor' => 'transparent', |
| 606 | ], |
| 607 | ], |
| 608 | 'blocks' => |
| 609 | [ |
| 610 | 0 => |
| 611 | [ |
| 612 | 'type' => 'container', |
| 613 | 'columnLayout' => false, |
| 614 | 'orientation' => 'vertical', |
| 615 | 'image' => |
| 616 | [ |
| 617 | 'src' => null, |
| 618 | 'display' => 'scale', |
| 619 | ], |
| 620 | 'styles' => |
| 621 | [ |
| 622 | 'block' => |
| 623 | [ |
| 624 | 'backgroundColor' => 'transparent', |
| 625 | ], |
| 626 | ], |
| 627 | 'blocks' => |
| 628 | [ |
| 629 | 0 => |
| 630 | [ |
| 631 | 'type' => 'spacer', |
| 632 | 'styles' => |
| 633 | [ |
| 634 | 'block' => |
| 635 | [ |
| 636 | 'backgroundColor' => 'transparent', |
| 637 | 'height' => '40px', |
| 638 | ], |
| 639 | ], |
| 640 | ], |
| 641 | 1 => |
| 642 | [ |
| 643 | 'type' => 'text', |
| 644 | 'text' => '<h2 style="text-align: center;"><strong>Latest from the blog</strong></h2>', |
| 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' => 'transparent', |
| 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' => 'image', |
| 691 | 'link' => '', |
| 692 | 'src' => $this->template_image_url . '/1812231-sktchy-1-jon-coxwell-fabriano-cpCRFeat-394x252.jpg', |
| 693 | 'alt' => '1812231-sktchy-1-jon-coxwell-fabriano-cpCRFeat-394x252', |
| 694 | 'fullWidth' => false, |
| 695 | 'width' => '394px', |
| 696 | 'height' => '252px', |
| 697 | 'styles' => |
| 698 | [ |
| 699 | 'block' => |
| 700 | [ |
| 701 | 'textAlign' => 'center', |
| 702 | ], |
| 703 | ], |
| 704 | ], |
| 705 | 1 => |
| 706 | [ |
| 707 | 'type' => 'text', |
| 708 | 'text' => '<p><span>Self-Assessment: 2018—Filling Journals, Using Up Paint</span></p> |
| 709 | <p><a href="https://www.mailpoet.com">Read more ></a></p>', |
| 710 | ], |
| 711 | ], |
| 712 | ], |
| 713 | 1 => |
| 714 | [ |
| 715 | 'type' => 'container', |
| 716 | 'columnLayout' => false, |
| 717 | 'orientation' => 'vertical', |
| 718 | 'image' => |
| 719 | [ |
| 720 | 'src' => null, |
| 721 | 'display' => 'scale', |
| 722 | ], |
| 723 | 'styles' => |
| 724 | [ |
| 725 | 'block' => |
| 726 | [ |
| 727 | 'backgroundColor' => 'transparent', |
| 728 | ], |
| 729 | ], |
| 730 | 'blocks' => |
| 731 | [ |
| 732 | 0 => |
| 733 | [ |
| 734 | 'type' => 'image', |
| 735 | 'link' => '', |
| 736 | 'src' => $this->template_image_url . '/180830-2018-fair-32-pigeon-fabri-300-hpCRAltBRFeat-394x252.jpg', |
| 737 | 'alt' => '180830-2018-fair-32-pigeon-fabri-300-hpCRAltBRFeat-394x252', |
| 738 | 'fullWidth' => false, |
| 739 | 'width' => '394px', |
| 740 | 'height' => '252px', |
| 741 | 'styles' => |
| 742 | [ |
| 743 | 'block' => |
| 744 | [ |
| 745 | 'textAlign' => 'center', |
| 746 | ], |
| 747 | ], |
| 748 | ], |
| 749 | 1 => |
| 750 | [ |
| 751 | 'type' => 'text', |
| 752 | 'text' => '<p><span>Happy New Year 2019</span></p> |
| 753 | <p><a href="https://www.mailpoet.com">Read more ></a></p>', |
| 754 | ], |
| 755 | ], |
| 756 | ], |
| 757 | 2 => |
| 758 | [ |
| 759 | 'type' => 'container', |
| 760 | 'columnLayout' => false, |
| 761 | 'orientation' => 'vertical', |
| 762 | 'image' => |
| 763 | [ |
| 764 | 'src' => null, |
| 765 | 'display' => 'scale', |
| 766 | ], |
| 767 | 'styles' => |
| 768 | [ |
| 769 | 'block' => |
| 770 | [ |
| 771 | 'backgroundColor' => 'transparent', |
| 772 | ], |
| 773 | ], |
| 774 | 'blocks' => |
| 775 | [ |
| 776 | 0 => |
| 777 | [ |
| 778 | 'type' => 'image', |
| 779 | 'link' => '', |
| 780 | 'src' => $this->template_image_url . '/180828-sktchy-t-c-c-hahn-expressions-cpCRAltBRCRFeat-394x252.jpg', |
| 781 | 'alt' => '180828-sktchy-t-c-c-hahn-expressions-cpCRAltBRCRFeat-394x252', |
| 782 | 'fullWidth' => false, |
| 783 | 'width' => '394px', |
| 784 | 'height' => '252px', |
| 785 | 'styles' => |
| 786 | [ |
| 787 | 'block' => |
| 788 | [ |
| 789 | 'textAlign' => 'center', |
| 790 | ], |
| 791 | ], |
| 792 | ], |
| 793 | 1 => |
| 794 | [ |
| 795 | 'type' => 'text', |
| 796 | 'text' => '<p><span>Roz’s 2018 Minnesota State Fair Journal</span></p> |
| 797 | <p><a href="https://www.mailpoet.com">Read more ></a></p>', |
| 798 | ], |
| 799 | ], |
| 800 | ], |
| 801 | ], |
| 802 | ], |
| 803 | 8 => |
| 804 | [ |
| 805 | 'type' => 'container', |
| 806 | 'columnLayout' => false, |
| 807 | 'orientation' => 'horizontal', |
| 808 | 'image' => |
| 809 | [ |
| 810 | 'src' => null, |
| 811 | 'display' => 'scale', |
| 812 | ], |
| 813 | 'styles' => |
| 814 | [ |
| 815 | 'block' => |
| 816 | [ |
| 817 | 'backgroundColor' => 'transparent', |
| 818 | ], |
| 819 | ], |
| 820 | 'blocks' => |
| 821 | [ |
| 822 | 0 => |
| 823 | [ |
| 824 | 'type' => 'container', |
| 825 | 'columnLayout' => false, |
| 826 | 'orientation' => 'vertical', |
| 827 | 'image' => |
| 828 | [ |
| 829 | 'src' => null, |
| 830 | 'display' => 'scale', |
| 831 | ], |
| 832 | 'styles' => |
| 833 | [ |
| 834 | 'block' => |
| 835 | [ |
| 836 | 'backgroundColor' => 'transparent', |
| 837 | ], |
| 838 | ], |
| 839 | 'blocks' => |
| 840 | [ |
| 841 | 0 => |
| 842 | [ |
| 843 | 'type' => 'spacer', |
| 844 | 'styles' => |
| 845 | [ |
| 846 | 'block' => |
| 847 | [ |
| 848 | 'backgroundColor' => 'transparent', |
| 849 | 'height' => '20px', |
| 850 | ], |
| 851 | ], |
| 852 | ], |
| 853 | ], |
| 854 | ], |
| 855 | ], |
| 856 | ], |
| 857 | 9 => |
| 858 | [ |
| 859 | 'type' => 'container', |
| 860 | 'columnLayout' => false, |
| 861 | 'orientation' => 'horizontal', |
| 862 | 'image' => |
| 863 | [ |
| 864 | 'src' => $this->template_image_url . '/Painter-SocialBack.jpg', |
| 865 | 'display' => 'scale', |
| 866 | ], |
| 867 | 'styles' => |
| 868 | [ |
| 869 | 'block' => |
| 870 | [ |
| 871 | 'backgroundColor' => 'transparent', |
| 872 | ], |
| 873 | ], |
| 874 | 'blocks' => |
| 875 | [ |
| 876 | 0 => |
| 877 | [ |
| 878 | 'type' => 'container', |
| 879 | 'columnLayout' => false, |
| 880 | 'orientation' => 'vertical', |
| 881 | 'image' => |
| 882 | [ |
| 883 | 'src' => null, |
| 884 | 'display' => 'scale', |
| 885 | ], |
| 886 | 'styles' => |
| 887 | [ |
| 888 | 'block' => |
| 889 | [ |
| 890 | 'backgroundColor' => 'transparent', |
| 891 | ], |
| 892 | ], |
| 893 | 'blocks' => |
| 894 | [ |
| 895 | 0 => |
| 896 | [ |
| 897 | 'type' => 'spacer', |
| 898 | 'styles' => |
| 899 | [ |
| 900 | 'block' => |
| 901 | [ |
| 902 | 'backgroundColor' => 'transparent', |
| 903 | 'height' => '64px', |
| 904 | ], |
| 905 | ], |
| 906 | ], |
| 907 | 1 => |
| 908 | [ |
| 909 | 'type' => 'text', |
| 910 | 'text' => '<h3 style="text-align: center;"><strong>Stay in touch</strong></h3> |
| 911 | <p style="text-align: center;"><span>Keep up-to-date with all of the work from the studio</span></p>', |
| 912 | ], |
| 913 | 2 => |
| 914 | [ |
| 915 | 'type' => 'social', |
| 916 | 'iconSet' => 'official', |
| 917 | 'styles' => |
| 918 | [ |
| 919 | 'block' => |
| 920 | [ |
| 921 | 'textAlign' => 'center', |
| 922 | ], |
| 923 | ], |
| 924 | 'icons' => |
| 925 | [ |
| 926 | 0 => |
| 927 | [ |
| 928 | 'type' => 'socialIcon', |
| 929 | 'iconType' => 'facebook', |
| 930 | 'link' => 'http://www.facebook.com', |
| 931 | 'image' => $this->social_icon_url . '/11-official/Facebook.png', |
| 932 | 'height' => '32px', |
| 933 | 'width' => '32px', |
| 934 | 'text' => 'Facebook', |
| 935 | ], |
| 936 | 1 => |
| 937 | [ |
| 938 | 'type' => 'socialIcon', |
| 939 | 'iconType' => 'twitter', |
| 940 | 'link' => 'http://www.twitter.com', |
| 941 | 'image' => $this->social_icon_url . '/11-official/X.png', |
| 942 | 'height' => '32px', |
| 943 | 'width' => '32px', |
| 944 | 'text' => 'Twitter', |
| 945 | ], |
| 946 | 2 => |
| 947 | [ |
| 948 | 'type' => 'socialIcon', |
| 949 | 'iconType' => 'instagram', |
| 950 | 'link' => 'http://instagram.com', |
| 951 | 'image' => $this->social_icon_url . '/11-official/Instagram.png', |
| 952 | 'height' => '32px', |
| 953 | 'width' => '32px', |
| 954 | 'text' => 'Instagram', |
| 955 | ], |
| 956 | 3 => |
| 957 | [ |
| 958 | 'type' => 'socialIcon', |
| 959 | 'iconType' => 'youtube', |
| 960 | 'link' => 'http://www.youtube.com', |
| 961 | 'image' => $this->social_icon_url . '/11-official/Youtube.png', |
| 962 | 'height' => '32px', |
| 963 | 'width' => '32px', |
| 964 | 'text' => 'Youtube', |
| 965 | ], |
| 966 | ], |
| 967 | ], |
| 968 | 3 => |
| 969 | [ |
| 970 | 'type' => 'spacer', |
| 971 | 'styles' => |
| 972 | [ |
| 973 | 'block' => |
| 974 | [ |
| 975 | 'backgroundColor' => 'transparent', |
| 976 | 'height' => '40px', |
| 977 | ], |
| 978 | ], |
| 979 | ], |
| 980 | ], |
| 981 | ], |
| 982 | ], |
| 983 | ], |
| 984 | 10 => |
| 985 | [ |
| 986 | 'type' => 'container', |
| 987 | 'columnLayout' => false, |
| 988 | 'orientation' => 'horizontal', |
| 989 | 'image' => |
| 990 | [ |
| 991 | 'src' => null, |
| 992 | 'display' => 'scale', |
| 993 | ], |
| 994 | 'styles' => |
| 995 | [ |
| 996 | 'block' => |
| 997 | [ |
| 998 | 'backgroundColor' => 'transparent', |
| 999 | ], |
| 1000 | ], |
| 1001 | 'blocks' => |
| 1002 | [ |
| 1003 | 0 => |
| 1004 | [ |
| 1005 | 'type' => 'container', |
| 1006 | 'columnLayout' => false, |
| 1007 | 'orientation' => 'vertical', |
| 1008 | 'image' => |
| 1009 | [ |
| 1010 | 'src' => null, |
| 1011 | 'display' => 'scale', |
| 1012 | ], |
| 1013 | 'styles' => |
| 1014 | [ |
| 1015 | 'block' => |
| 1016 | [ |
| 1017 | 'backgroundColor' => 'transparent', |
| 1018 | ], |
| 1019 | ], |
| 1020 | 'blocks' => |
| 1021 | [ |
| 1022 | 0 => |
| 1023 | [ |
| 1024 | 'type' => 'spacer', |
| 1025 | 'styles' => |
| 1026 | [ |
| 1027 | 'block' => |
| 1028 | [ |
| 1029 | 'backgroundColor' => 'transparent', |
| 1030 | 'height' => '40px', |
| 1031 | ], |
| 1032 | ], |
| 1033 | ], |
| 1034 | 1 => |
| 1035 | [ |
| 1036 | 'type' => 'text', |
| 1037 | 'text' => '<p style="text-align: center;"><strong>Canvas Studio</strong></p> |
| 1038 | <p style="text-align: center; font-size: 11px;"><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>', |
| 1039 | ], |
| 1040 | ], |
| 1041 | ], |
| 1042 | ], |
| 1043 | ], |
| 1044 | ], |
| 1045 | ], |
| 1046 | 'globalStyles' => |
| 1047 | [ |
| 1048 | 'text' => |
| 1049 | [ |
| 1050 | 'fontColor' => '#000000', |
| 1051 | 'fontFamily' => 'Merriweather', |
| 1052 | 'fontSize' => '14px', |
| 1053 | ], |
| 1054 | 'h1' => |
| 1055 | [ |
| 1056 | 'fontColor' => '#111111', |
| 1057 | 'fontFamily' => 'Merriweather', |
| 1058 | 'fontSize' => '36px', |
| 1059 | ], |
| 1060 | 'h2' => |
| 1061 | [ |
| 1062 | 'fontColor' => '#222222', |
| 1063 | 'fontFamily' => 'Merriweather', |
| 1064 | 'fontSize' => '24px', |
| 1065 | ], |
| 1066 | 'h3' => |
| 1067 | [ |
| 1068 | 'fontColor' => '#333333', |
| 1069 | 'fontFamily' => 'Merriweather', |
| 1070 | 'fontSize' => '22px', |
| 1071 | ], |
| 1072 | 'link' => |
| 1073 | [ |
| 1074 | 'fontColor' => '#585858', |
| 1075 | 'textDecoration' => 'underline', |
| 1076 | ], |
| 1077 | 'wrapper' => |
| 1078 | [ |
| 1079 | 'backgroundColor' => '#ffffff', |
| 1080 | ], |
| 1081 | 'body' => |
| 1082 | [ |
| 1083 | 'backgroundColor' => '#ffffff', |
| 1084 | ], |
| 1085 | ], |
| 1086 | 'blockDefaults' => |
| 1087 | [ |
| 1088 | 'automatedLatestContent' => |
| 1089 | [ |
| 1090 | 'amount' => '5', |
| 1091 | 'withLayout' => false, |
| 1092 | 'contentType' => 'post', |
| 1093 | 'inclusionType' => 'include', |
| 1094 | 'displayType' => 'excerpt', |
| 1095 | 'titleFormat' => 'h1', |
| 1096 | 'titleAlignment' => 'left', |
| 1097 | 'titleIsLink' => false, |
| 1098 | 'imageFullWidth' => false, |
| 1099 | 'featuredImagePosition' => 'belowTitle', |
| 1100 | 'showAuthor' => 'no', |
| 1101 | 'authorPrecededBy' => 'Author:', |
| 1102 | 'showCategories' => 'no', |
| 1103 | 'categoriesPrecededBy' => 'Categories:', |
| 1104 | 'readMoreType' => 'button', |
| 1105 | 'readMoreText' => 'Read more', |
| 1106 | 'readMoreButton' => |
| 1107 | [ |
| 1108 | 'text' => 'Read more', |
| 1109 | 'url' => '[postLink]', |
| 1110 | 'context' => 'automatedLatestContent.readMoreButton', |
| 1111 | 'styles' => |
| 1112 | [ |
| 1113 | 'block' => |
| 1114 | [ |
| 1115 | 'backgroundColor' => '#2ea1cd', |
| 1116 | 'borderColor' => '#0074a2', |
| 1117 | 'borderWidth' => '1px', |
| 1118 | 'borderRadius' => '5px', |
| 1119 | 'borderStyle' => 'solid', |
| 1120 | 'width' => '180px', |
| 1121 | 'lineHeight' => '40px', |
| 1122 | 'fontColor' => '#ffffff', |
| 1123 | 'fontFamily' => 'Verdana', |
| 1124 | 'fontSize' => '18px', |
| 1125 | 'fontWeight' => 'normal', |
| 1126 | 'textAlign' => 'center', |
| 1127 | ], |
| 1128 | ], |
| 1129 | ], |
| 1130 | 'sortBy' => 'newest', |
| 1131 | 'showDivider' => true, |
| 1132 | 'divider' => |
| 1133 | [ |
| 1134 | 'context' => 'automatedLatestContent.divider', |
| 1135 | 'styles' => |
| 1136 | [ |
| 1137 | 'block' => |
| 1138 | [ |
| 1139 | 'backgroundColor' => 'transparent', |
| 1140 | 'padding' => '13px', |
| 1141 | 'borderStyle' => 'solid', |
| 1142 | 'borderWidth' => '3px', |
| 1143 | 'borderColor' => '#aaaaaa', |
| 1144 | ], |
| 1145 | ], |
| 1146 | ], |
| 1147 | 'backgroundColor' => '#ffffff', |
| 1148 | 'backgroundColorAlternate' => '#eeeeee', |
| 1149 | ], |
| 1150 | 'automatedLatestContentLayout' => |
| 1151 | [ |
| 1152 | 'amount' => '5', |
| 1153 | 'withLayout' => true, |
| 1154 | 'contentType' => 'post', |
| 1155 | 'inclusionType' => 'include', |
| 1156 | 'displayType' => 'excerpt', |
| 1157 | 'titleFormat' => 'h1', |
| 1158 | 'titleAlignment' => 'left', |
| 1159 | 'titleIsLink' => false, |
| 1160 | 'imageFullWidth' => false, |
| 1161 | 'featuredImagePosition' => 'alternate', |
| 1162 | 'showAuthor' => 'no', |
| 1163 | 'authorPrecededBy' => 'Author:', |
| 1164 | 'showCategories' => 'no', |
| 1165 | 'categoriesPrecededBy' => 'Categories:', |
| 1166 | 'readMoreType' => 'button', |
| 1167 | 'readMoreText' => 'Read more', |
| 1168 | 'readMoreButton' => |
| 1169 | [ |
| 1170 | 'text' => 'Read more', |
| 1171 | 'url' => '[postLink]', |
| 1172 | 'context' => 'automatedLatestContentLayout.readMoreButton', |
| 1173 | 'styles' => |
| 1174 | [ |
| 1175 | 'block' => |
| 1176 | [ |
| 1177 | 'backgroundColor' => '#2ea1cd', |
| 1178 | 'borderColor' => '#0074a2', |
| 1179 | 'borderWidth' => '1px', |
| 1180 | 'borderRadius' => '5px', |
| 1181 | 'borderStyle' => 'solid', |
| 1182 | 'width' => '180px', |
| 1183 | 'lineHeight' => '40px', |
| 1184 | 'fontColor' => '#ffffff', |
| 1185 | 'fontFamily' => 'Verdana', |
| 1186 | 'fontSize' => '18px', |
| 1187 | 'fontWeight' => 'normal', |
| 1188 | 'textAlign' => 'center', |
| 1189 | ], |
| 1190 | ], |
| 1191 | ], |
| 1192 | 'sortBy' => 'newest', |
| 1193 | 'showDivider' => true, |
| 1194 | 'divider' => |
| 1195 | [ |
| 1196 | 'context' => 'automatedLatestContentLayout.divider', |
| 1197 | 'styles' => |
| 1198 | [ |
| 1199 | 'block' => |
| 1200 | [ |
| 1201 | 'backgroundColor' => 'transparent', |
| 1202 | 'padding' => '13px', |
| 1203 | 'borderStyle' => 'solid', |
| 1204 | 'borderWidth' => '3px', |
| 1205 | 'borderColor' => '#aaaaaa', |
| 1206 | ], |
| 1207 | ], |
| 1208 | ], |
| 1209 | 'backgroundColor' => '#ffffff', |
| 1210 | 'backgroundColorAlternate' => '#eeeeee', |
| 1211 | ], |
| 1212 | 'button' => |
| 1213 | [ |
| 1214 | 'text' => 'Button', |
| 1215 | 'url' => '', |
| 1216 | 'styles' => |
| 1217 | [ |
| 1218 | 'block' => |
| 1219 | [ |
| 1220 | 'backgroundColor' => '#2ea1cd', |
| 1221 | 'borderColor' => '#0074a2', |
| 1222 | 'borderWidth' => '1px', |
| 1223 | 'borderRadius' => '5px', |
| 1224 | 'borderStyle' => 'solid', |
| 1225 | 'width' => '180px', |
| 1226 | 'lineHeight' => '40px', |
| 1227 | 'fontColor' => '#ffffff', |
| 1228 | 'fontFamily' => 'Verdana', |
| 1229 | 'fontSize' => '18px', |
| 1230 | 'fontWeight' => 'normal', |
| 1231 | 'textAlign' => 'center', |
| 1232 | ], |
| 1233 | ], |
| 1234 | ], |
| 1235 | 'divider' => |
| 1236 | [ |
| 1237 | 'styles' => |
| 1238 | [ |
| 1239 | 'block' => |
| 1240 | [ |
| 1241 | 'backgroundColor' => 'transparent', |
| 1242 | 'padding' => '13px', |
| 1243 | 'borderStyle' => 'solid', |
| 1244 | 'borderWidth' => '3px', |
| 1245 | 'borderColor' => '#aaaaaa', |
| 1246 | ], |
| 1247 | ], |
| 1248 | ], |
| 1249 | 'footer' => |
| 1250 | [ |
| 1251 | '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>', |
| 1252 | 'styles' => |
| 1253 | [ |
| 1254 | 'block' => |
| 1255 | [ |
| 1256 | 'backgroundColor' => 'transparent', |
| 1257 | ], |
| 1258 | 'text' => |
| 1259 | [ |
| 1260 | 'fontColor' => '#222222', |
| 1261 | 'fontFamily' => 'Merriweather', |
| 1262 | 'fontSize' => '12px', |
| 1263 | 'textAlign' => 'center', |
| 1264 | ], |
| 1265 | 'link' => |
| 1266 | [ |
| 1267 | 'fontColor' => '#585858', |
| 1268 | 'textDecoration' => 'none', |
| 1269 | ], |
| 1270 | ], |
| 1271 | 'type' => 'footer', |
| 1272 | ], |
| 1273 | 'posts' => |
| 1274 | [ |
| 1275 | 'amount' => '10', |
| 1276 | 'withLayout' => true, |
| 1277 | 'contentType' => 'post', |
| 1278 | 'postStatus' => 'publish', |
| 1279 | 'inclusionType' => 'include', |
| 1280 | 'displayType' => 'excerpt', |
| 1281 | 'titleFormat' => 'h1', |
| 1282 | 'titleAlignment' => 'left', |
| 1283 | 'titleIsLink' => false, |
| 1284 | 'imageFullWidth' => false, |
| 1285 | 'featuredImagePosition' => 'alternate', |
| 1286 | 'showAuthor' => 'no', |
| 1287 | 'authorPrecededBy' => 'Author:', |
| 1288 | 'showCategories' => 'no', |
| 1289 | 'categoriesPrecededBy' => 'Categories:', |
| 1290 | 'readMoreType' => 'link', |
| 1291 | 'readMoreText' => 'Read more', |
| 1292 | 'readMoreButton' => |
| 1293 | [ |
| 1294 | 'text' => 'Read more', |
| 1295 | 'url' => '[postLink]', |
| 1296 | 'context' => 'posts.readMoreButton', |
| 1297 | 'styles' => |
| 1298 | [ |
| 1299 | 'block' => |
| 1300 | [ |
| 1301 | 'backgroundColor' => '#2ea1cd', |
| 1302 | 'borderColor' => '#0074a2', |
| 1303 | 'borderWidth' => '1px', |
| 1304 | 'borderRadius' => '5px', |
| 1305 | 'borderStyle' => 'solid', |
| 1306 | 'width' => '180px', |
| 1307 | 'lineHeight' => '40px', |
| 1308 | 'fontColor' => '#ffffff', |
| 1309 | 'fontFamily' => 'Verdana', |
| 1310 | 'fontSize' => '18px', |
| 1311 | 'fontWeight' => 'normal', |
| 1312 | 'textAlign' => 'center', |
| 1313 | ], |
| 1314 | ], |
| 1315 | ], |
| 1316 | 'sortBy' => 'newest', |
| 1317 | 'showDivider' => true, |
| 1318 | 'divider' => |
| 1319 | [ |
| 1320 | 'context' => 'posts.divider', |
| 1321 | 'styles' => |
| 1322 | [ |
| 1323 | 'block' => |
| 1324 | [ |
| 1325 | 'backgroundColor' => 'transparent', |
| 1326 | 'padding' => '13px', |
| 1327 | 'borderStyle' => 'solid', |
| 1328 | 'borderWidth' => '3px', |
| 1329 | 'borderColor' => '#aaaaaa', |
| 1330 | ], |
| 1331 | ], |
| 1332 | ], |
| 1333 | 'backgroundColor' => '#ffffff', |
| 1334 | 'backgroundColorAlternate' => '#eeeeee', |
| 1335 | ], |
| 1336 | 'social' => |
| 1337 | [ |
| 1338 | 'iconSet' => 'official', |
| 1339 | 'icons' => |
| 1340 | [ |
| 1341 | 0 => |
| 1342 | [ |
| 1343 | 'type' => 'socialIcon', |
| 1344 | 'iconType' => 'facebook', |
| 1345 | 'link' => 'http://www.facebook.com', |
| 1346 | 'image' => $this->social_icon_url . '/11-official/Facebook.png', |
| 1347 | 'height' => '32px', |
| 1348 | 'width' => '32px', |
| 1349 | 'text' => 'Facebook', |
| 1350 | ], |
| 1351 | 1 => |
| 1352 | [ |
| 1353 | 'type' => 'socialIcon', |
| 1354 | 'iconType' => 'twitter', |
| 1355 | 'link' => 'http://www.twitter.com', |
| 1356 | 'image' => $this->social_icon_url . '/11-official/X.png', |
| 1357 | 'height' => '32px', |
| 1358 | 'width' => '32px', |
| 1359 | 'text' => 'Twitter', |
| 1360 | ], |
| 1361 | 2 => |
| 1362 | [ |
| 1363 | 'type' => 'socialIcon', |
| 1364 | 'iconType' => 'instagram', |
| 1365 | 'link' => 'http://instagram.com', |
| 1366 | 'image' => $this->social_icon_url . '/11-official/Instagram.png', |
| 1367 | 'height' => '32px', |
| 1368 | 'width' => '32px', |
| 1369 | 'text' => 'Instagram', |
| 1370 | ], |
| 1371 | 3 => |
| 1372 | [ |
| 1373 | 'type' => 'socialIcon', |
| 1374 | 'iconType' => 'youtube', |
| 1375 | 'link' => 'http://www.youtube.com', |
| 1376 | 'image' => $this->social_icon_url . '/11-official/Youtube.png', |
| 1377 | 'height' => '32px', |
| 1378 | 'width' => '32px', |
| 1379 | 'text' => 'Youtube', |
| 1380 | ], |
| 1381 | ], |
| 1382 | 'type' => 'social', |
| 1383 | ], |
| 1384 | 'spacer' => |
| 1385 | [ |
| 1386 | 'styles' => |
| 1387 | [ |
| 1388 | 'block' => |
| 1389 | [ |
| 1390 | 'backgroundColor' => 'transparent', |
| 1391 | 'height' => '100px', |
| 1392 | ], |
| 1393 | ], |
| 1394 | 'type' => 'spacer', |
| 1395 | ], |
| 1396 | 'header' => |
| 1397 | [ |
| 1398 | 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>', |
| 1399 | 'styles' => |
| 1400 | [ |
| 1401 | 'block' => |
| 1402 | [ |
| 1403 | 'backgroundColor' => 'transparent', |
| 1404 | ], |
| 1405 | 'text' => |
| 1406 | [ |
| 1407 | 'fontColor' => '#222222', |
| 1408 | 'fontFamily' => 'Merriweather', |
| 1409 | 'fontSize' => '11px', |
| 1410 | 'textAlign' => 'center', |
| 1411 | ], |
| 1412 | 'link' => |
| 1413 | [ |
| 1414 | 'fontColor' => '#787878', |
| 1415 | 'textDecoration' => 'none', |
| 1416 | ], |
| 1417 | ], |
| 1418 | 'type' => 'header', |
| 1419 | ], |
| 1420 | ], |
| 1421 | ]; |
| 1422 | } |
| 1423 | } |
| 1424 |