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