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