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