PluginProbe ʕ •ᴥ•ʔ
MailPoet – Newsletters, Email Marketing, and Automation / 5.34.2
MailPoet – Newsletters, Email Marketing, and Automation v5.34.2
5.34.2 5.34.1 5.34.0 5.33.1 5.33.0 5.32.0 5.31.0 5.30.0 5.29.0 5.28.1 5.28.0 5.27.0 5.26.0 5.26.1 5.25.0 5.24.0 4.43.0 4.43.1 4.44.0 4.44.1 4.45.0 4.46.0 4.47.0 4.48.0 4.48.1 4.48.2 4.49.0 4.49.1 4.5.0 4.5.1 4.5.2 4.50.0 4.50.1 4.51.0 4.51.1 4.51.2 4.52.0 4.53.0 4.54.0 4.55.0 4.56.0 4.57.0 4.58.0 4.58.1 4.58.2 4.6.0 4.6.1 4.6.2 4.7.0 4.7.1 4.8.0 4.8.1 4.9.0 5.0.0 5.0.1 5.0.2 5.1.0 5.1.1 5.10.0 5.10.1 5.11.0 5.12.0 5.12.1 5.12.10 5.12.11 5.12.12 5.12.13 5.12.2 5.12.3 5.12.4 5.12.5 5.12.6 5.12.7 5.12.8 5.12.9 5.13.0 5.13.1 5.13.2 5.14.0 5.14.1 5.14.2 5.14.3 5.15.0 5.15.1 5.16.0 5.16.1 5.16.2 5.16.3 5.16.4 5.17.0 5.17.1 5.17.2 5.17.3 5.17.4 5.17.5 5.17.6 5.18.0 5.19.0 5.2.0 5.2.1 5.2.2 5.2.3 5.20.0 5.21.0 5.21.1 5.21.2 5.21.3 5.22.0 5.22.1 5.22.2 5.22.3 5.22.4 5.23.0 5.23.1 5.23.2 5.3.0 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.3.6 5.3.7 5.4.0 5.4.1 5.4.2 5.5.0 5.5.1 5.5.2 5.6.0 5.6.1 5.6.2 5.6.3 5.6.4 5.7.0 5.7.1 5.8.0 5.8.1 5.9.0 3.0.0-beta.15 3.7.1 3.0.0-beta.16 3.7.2 3.0.0-beta.17 3.7.3 3.0.0-beta.18 3.7.4 3.0.0-beta.19 3.7.5 3.0.0-beta.2 3.7.6 3.0.0-beta.20 3.7.8 3.0.0-beta.21 3.70.0 3.0.0-beta.22 3.71.0 3.0.0-beta.23 3.71.1 3.0.0-beta.23.1 3.71.2 3.0.0-beta.23.2 3.71.3 3.0.0-beta.24 3.72.0 3.0.0-beta.25 3.73.0 3.0.0-beta.26 3.73.1 3.0.0-beta.27 3.73.2 3.0.0-beta.28 3.74.0 3.0.0-beta.29 3.74.1 3.0.0-beta.3 3.74.2 3.0.0-beta.30 3.74.3 3.0.0-beta.31 3.75.0 3.0.0-beta.32 3.75.1 3.0.0-beta.33 3.76.0 3.0.0-beta.33.1 3.77.0 3.0.0-beta.34.0.0 3.77.1 3.0.0-beta.36.0.0 3.78.0 3.0.0-beta.36.0.1 3.79.0 3.0.0-beta.36.2.0 3.8 3.0.0-beta.36.3.0 3.8.1 3.0.0-beta.36.3.1 3.8.2 3.0.0-beta.37.0.0 3.8.3 3.0.0-beta.4 3.8.4 3.0.0-beta.5 3.8.5 3.0.0-beta.6 3.8.6 3.0.0-beta.7 3.80.0 3.0.0-beta.7.1 3.81.0 3.0.0-beta.8 3.82.0 3.0.0-beta.9 3.83.0 3.0.0-rc.1.0.0 3.84.0 3.0.0-rc.1.0.1 3.84.1 3.0.0-rc.1.0.2 3.85.0 3.0.0-rc.1.0.3 3.85.1 3.0.0-rc.1.0.4 3.86.0 3.0.0-rc.2.0.0 3.87.0 3.0.0-rc.2.0.1 3.87.1 3.0.0-rc.2.0.2 3.87.2 3.0.0-rc.2.0.3 3.88.0 3.0.1 3.88.1 3.0.2 3.88.2 3.0.3 3.89.0 3.0.4 3.89.1 3.0.5 3.89.2 3.0.6 3.89.3 3.0.7 3.89.4 3.0.8 3.9.0 3.0.9 3.9.1 3.1.0 3.90.0 3.10 3.90.1 3.10.1 3.90.2 3.100.0 3.91.0 3.100.1 3.91.1 3.100.2 3.92.0 3.101.0 3.92.1 3.101.1 3.93.0 3.102.0 3.93.1 3.102.1 3.94.0 3.103.0 3.95.0 3.103.1 3.95.1 3.11.0 3.96.0 3.11.1 3.96.1 3.11.2 3.97.0 3.11.3 3.98.0 3.11.4 3.98.1 3.11.5 3.99.0 3.12.0 3.99.1 3.12.1 4.0.0 3.13.0 4.0.1 3.14.0 4.1.0 3.14.1 4.1.1 3.15.0 4.10.0 3.16.0 4.11.0 3.16.1 4.11.1 3.16.2 4.12.0 3.16.3 4.12.1 3.17.0 4.12.2 3.17.1 4.13.0 3.17.2 4.14.0 3.18.0 4.15.0 3.18.1 4.16.0 3.18.2 4.17.0 3.19.0 4.17.1 3.19.1 4.18.0 3.19.2 4.18.1 3.19.3 4.19.0 3.2.0 4.2.0 3.2.1 4.20.0 3.2.2 4.20.1 3.2.3 4.20.2 3.2.4 4.21.0 3.2.5 4.22.0 3.20.0 4.22.1 3.21.0 4.22.2 3.21.1 4.23.0 3.22.0 4.24.0 3.23.0 4.25.0 3.23.1 4.26.0 3.23.2 4.26.1 3.24.0 4.27.0 3.25.0 4.28.0 3.25.1 4.29.0 3.26.0 4.3.0 3.26.1 4.3.1 3.27.0 4.30.0 3.28.0 4.31.0 3.29.0 4.31.1 3.3.0 4.32.0 3.3.1 4.33.0 3.3.2 4.34.0 3.3.3 4.35.0 3.3.4 4.35.1 3.3.5 4.36.0 3.3.6 4.37.0 3.30.0 4.38.0 3.31.0 4.39.0 3.31.1 4.4.0 3.32.0 4.40.0 3.32.1 4.41.0 3.32.2 4.41.1 3.33.0 4.41.2 3.34.0 4.41.3 3.34.1 4.42.0 3.34.2 4.42.1 3.34.3 3.34.4 3.35.0 3.35.1 3.35.3 3.35.4 3.36.0 3.37.0 3.37.1 3.37.2 3.37.3 3.38.0 3.38.1 3.39.0 3.39.1 3.39.2 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.40.0 3.40.1 3.41.0 3.41.1 3.41.2 3.42.0 3.42.1 3.42.2 3.42.3 3.43.0 3.43.1 3.44.0 3.45.0 3.45.1 3.46.0 3.46.1 3.46.10 3.46.11 3.46.12 3.46.13 3.46.14 3.46.2 3.46.3 3.46.4 3.46.5 3.46.6 3.46.7 3.46.8 3.46.9 3.47.0 3.47.1 3.47.10 3.47.11 3.47.2 3.47.3 3.47.5 3.47.6 3.47.7 3.47.9 3.48.0 3.48.1 3.49.0 3.49.1 3.5.0 3.5.1 3.50.0 3.51.0 3.51.1 3.51.2 3.52.0 3.53.0 3.54.0 3.54.1 3.54.2 3.54.3 3.55.0 3.55.1 3.56.0 3.56.1 3.56.2 3.57.0 3.57.1 3.58.0 3.59.0 3.59.1 3.59.2 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.60.0 3.60.1 3.60.10 3.60.11 3.60.12 3.60.2 3.60.3 3.60.4 3.60.6 3.60.7 3.60.8 3.60.9 3.61.0 3.62.0 3.62.1 3.63.0 3.64.0 3.64.1 3.64.2 3.64.3 3.65.0 trunk 3.65.1 3.0.0 3.66.0 3.0.0-beta.1 3.67.0 3.0.0-beta.10 3.67.1 3.0.0-beta.11 3.68.0 3.0.0-beta.12 3.69.0 3.0.0-beta.13 3.69.1 3.0.0-beta.14 3.7.0
mailpoet / lib / Config / PopulatorData / Templates / RockBand.php
mailpoet / lib / Config / PopulatorData / Templates Last commit date
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
RockBand.php
1243 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 RockBand {
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/rock-band';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("Rock Band", 'mailpoet'),
23 'categories' => json_encode(['woocommerce', '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' => '#060d13',
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' => '20px',
102 ],
103 ],
104 ],
105 ],
106 ],
107 ],
108 ],
109 1 =>
110 [
111 'type' => 'container',
112 'columnLayout' => false,
113 'orientation' => 'horizontal',
114 'image' =>
115 [
116 'src' => $this->template_image_url . '/RockBand-Header-2.jpg',
117 'display' => 'scale',
118 ],
119 'styles' =>
120 [
121 'block' =>
122 [
123 'backgroundColor' => '#060d13',
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' => 'header',
150 'text' => '<p><a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a></p>',
151 'styles' =>
152 [
153 'block' =>
154 [
155 'backgroundColor' => 'transparent',
156 ],
157 'text' =>
158 [
159 'fontColor' => '#222222',
160 'fontFamily' => 'Courier New',
161 'fontSize' => '12px',
162 'textAlign' => 'center',
163 ],
164 'link' =>
165 [
166 'fontColor' => '#7acff0',
167 'textDecoration' => 'none',
168 ],
169 ],
170 ],
171 1 =>
172 [
173 'type' => 'spacer',
174 'styles' =>
175 [
176 'block' =>
177 [
178 'backgroundColor' => 'transparent',
179 'height' => '315px',
180 ],
181 ],
182 ],
183 2 =>
184 [
185 'type' => 'social',
186 'iconSet' => 'official-white',
187 'styles' =>
188 [
189 'block' =>
190 [
191 'textAlign' => 'center',
192 ],
193 ],
194 'icons' =>
195 [
196 0 =>
197 [
198 'type' => 'socialIcon',
199 'iconType' => 'facebook',
200 'link' => 'http://www.facebook.com',
201 'image' => $this->social_icon_url . '/12-official-white/Facebook.png',
202 'height' => '32px',
203 'width' => '32px',
204 'text' => 'Facebook',
205 ],
206 1 =>
207 [
208 'type' => 'socialIcon',
209 'iconType' => 'twitter',
210 'link' => 'http://www.twitter.com',
211 'image' => $this->social_icon_url . '/12-official-white/X.png',
212 'height' => '32px',
213 'width' => '32px',
214 'text' => 'Twitter',
215 ],
216 2 =>
217 [
218 'type' => 'socialIcon',
219 'iconType' => 'instagram',
220 'link' => 'http://instagram.com',
221 'image' => $this->social_icon_url . '/12-official-white/Instagram.png',
222 'height' => '32px',
223 'width' => '32px',
224 'text' => 'Instagram',
225 ],
226 ],
227 ],
228 3 =>
229 [
230 'type' => 'spacer',
231 'styles' =>
232 [
233 'block' =>
234 [
235 'backgroundColor' => 'transparent',
236 'height' => '48px',
237 ],
238 ],
239 ],
240 ],
241 ],
242 ],
243 ],
244 2 =>
245 [
246 'type' => 'container',
247 'columnLayout' => false,
248 'orientation' => 'horizontal',
249 'image' =>
250 [
251 'src' => null,
252 'display' => 'scale',
253 ],
254 'styles' =>
255 [
256 'block' =>
257 [
258 'backgroundColor' => 'transparent',
259 ],
260 ],
261 'blocks' =>
262 [
263 0 =>
264 [
265 'type' => 'container',
266 'columnLayout' => false,
267 'orientation' => 'vertical',
268 'image' =>
269 [
270 'src' => null,
271 'display' => 'scale',
272 ],
273 'styles' =>
274 [
275 'block' =>
276 [
277 'backgroundColor' => 'transparent',
278 ],
279 ],
280 'blocks' =>
281 [
282 0 =>
283 [
284 'type' => 'spacer',
285 'styles' =>
286 [
287 'block' =>
288 [
289 'backgroundColor' => 'transparent',
290 'height' => '29px',
291 ],
292 ],
293 ],
294 1 =>
295 [
296 'type' => 'text',
297 'text' => '<h1 style="text-align: center;"><span style="color: #7acff0;">Free track download</span></h1>
298 <p style="text-align: center;"><span style="color: #d4d4d4;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ut fringilla velit, id malesuada nisi. Nam ac rutrum diam. Nunc diam leo, bibendum eget aliquam eget, commodo vitae lectus</span></p>',
299 ],
300 2 =>
301 [
302 'type' => 'button',
303 'text' => 'Download now for free',
304 'url' => '',
305 'styles' =>
306 [
307 'block' =>
308 [
309 'backgroundColor' => '#152533',
310 'borderColor' => '#7acff0',
311 'borderWidth' => '2px',
312 'borderRadius' => '40px',
313 'borderStyle' => 'solid',
314 'width' => '288px',
315 'lineHeight' => '50px',
316 'fontColor' => '#ffffff',
317 'fontFamily' => 'Courier New',
318 'fontSize' => '18px',
319 'fontWeight' => 'normal',
320 'textAlign' => 'center',
321 ],
322 ],
323 ],
324 3 =>
325 [
326 'type' => 'divider',
327 'styles' =>
328 [
329 'block' =>
330 [
331 'backgroundColor' => 'transparent',
332 'padding' => '18.5px',
333 'borderStyle' => 'double',
334 'borderWidth' => '7px',
335 'borderColor' => '#1c2f40',
336 ],
337 ],
338 ],
339 ],
340 ],
341 ],
342 ],
343 3 =>
344 [
345 'type' => 'container',
346 'columnLayout' => false,
347 'orientation' => 'horizontal',
348 'image' =>
349 [
350 'src' => null,
351 'display' => 'scale',
352 ],
353 'styles' =>
354 [
355 'block' =>
356 [
357 'backgroundColor' => 'transparent',
358 ],
359 ],
360 'blocks' =>
361 [
362 0 =>
363 [
364 'type' => 'container',
365 'columnLayout' => false,
366 'orientation' => 'vertical',
367 'image' =>
368 [
369 'src' => null,
370 'display' => 'scale',
371 ],
372 'styles' =>
373 [
374 'block' =>
375 [
376 'backgroundColor' => 'transparent',
377 ],
378 ],
379 'blocks' =>
380 [
381 0 =>
382 [
383 'type' => 'spacer',
384 'styles' =>
385 [
386 'block' =>
387 [
388 'backgroundColor' => 'transparent',
389 'height' => '20px',
390 ],
391 ],
392 ],
393 1 =>
394 [
395 'type' => 'text',
396 'text' => '<h2 style="text-align: center;"><span style="color: #ffffff;">We\'ve been busy in the studio</span></h2>
397 <p style="text-align: center;"><span style="color: #d4d4d4;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ut fringilla velit, id malesuada nisi. Nam ac rutrum diam.</span></p>',
398 ],
399 ],
400 ],
401 ],
402 ],
403 4 =>
404 [
405 'type' => 'container',
406 'columnLayout' => false,
407 'orientation' => 'horizontal',
408 'image' =>
409 [
410 'src' => null,
411 'display' => 'scale',
412 ],
413 'styles' =>
414 [
415 'block' =>
416 [
417 'backgroundColor' => 'transparent',
418 ],
419 ],
420 'blocks' =>
421 [
422 0 =>
423 [
424 'type' => 'container',
425 'columnLayout' => false,
426 'orientation' => 'vertical',
427 'image' =>
428 [
429 'src' => null,
430 'display' => 'scale',
431 ],
432 'styles' =>
433 [
434 'block' =>
435 [
436 'backgroundColor' => 'transparent',
437 ],
438 ],
439 'blocks' =>
440 [
441 0 =>
442 [
443 'type' => 'image',
444 'link' => '',
445 'src' => $this->template_image_url . '/RockBand-Albums-2.jpg',
446 'alt' => 'RockBand-Albums-2',
447 'fullWidth' => false,
448 'width' => '250px',
449 'height' => '600px',
450 'styles' =>
451 [
452 'block' =>
453 [
454 'textAlign' => 'center',
455 ],
456 ],
457 ],
458 1 =>
459 [
460 'type' => 'text',
461 'text' => '<p style="text-align: center;"><span style="color: #ffffff;">Magnus Opium</span></p>',
462 ],
463 2 =>
464 [
465 'type' => 'button',
466 'text' => 'Buy now',
467 'url' => '',
468 'styles' =>
469 [
470 'block' =>
471 [
472 'backgroundColor' => '#7acff0',
473 'borderColor' => '#7acff0',
474 'borderWidth' => '0px',
475 'borderRadius' => '0px',
476 'borderStyle' => 'solid',
477 'width' => '83px',
478 'lineHeight' => '32px',
479 'fontColor' => '#1c2f40',
480 'fontFamily' => 'Courier New',
481 'fontSize' => '14px',
482 'fontWeight' => 'bold',
483 'textAlign' => 'center',
484 ],
485 ],
486 ],
487 ],
488 ],
489 1 =>
490 [
491 'type' => 'container',
492 'columnLayout' => false,
493 'orientation' => 'vertical',
494 'image' =>
495 [
496 'src' => null,
497 'display' => 'scale',
498 ],
499 'styles' =>
500 [
501 'block' =>
502 [
503 'backgroundColor' => 'transparent',
504 ],
505 ],
506 'blocks' =>
507 [
508 0 =>
509 [
510 'type' => 'image',
511 'link' => '',
512 'src' => $this->template_image_url . '/RockBand-Albums-1.jpg',
513 'alt' => 'RockBand-Albums-1',
514 'fullWidth' => false,
515 'width' => '600px',
516 'height' => '600px',
517 'styles' =>
518 [
519 'block' =>
520 [
521 'textAlign' => 'center',
522 ],
523 ],
524 ],
525 1 =>
526 [
527 'type' => 'text',
528 'text' => '<p style="text-align: center;">Skeletal Bones</p>',
529 ],
530 2 =>
531 [
532 'type' => 'button',
533 'text' => 'Buy now',
534 'url' => '',
535 'styles' =>
536 [
537 'block' =>
538 [
539 'backgroundColor' => '#7acff0',
540 'borderColor' => '#7acff0',
541 'borderWidth' => '0px',
542 'borderRadius' => '0px',
543 'borderStyle' => 'solid',
544 'width' => '83px',
545 'lineHeight' => '32px',
546 'fontColor' => '#1c2f40',
547 'fontFamily' => 'Courier New',
548 'fontSize' => '14px',
549 'fontWeight' => 'bold',
550 'textAlign' => 'center',
551 ],
552 ],
553 ],
554 ],
555 ],
556 2 =>
557 [
558 'type' => 'container',
559 'columnLayout' => false,
560 'orientation' => 'vertical',
561 'image' =>
562 [
563 'src' => null,
564 'display' => 'scale',
565 ],
566 'styles' =>
567 [
568 'block' =>
569 [
570 'backgroundColor' => 'transparent',
571 ],
572 ],
573 'blocks' =>
574 [
575 0 =>
576 [
577 'type' => 'image',
578 'link' => '',
579 'src' => $this->template_image_url . '/RockBand-Albums-3.jpg',
580 'alt' => 'RockBand-Albums-3',
581 'fullWidth' => false,
582 'width' => '600px',
583 'height' => '600px',
584 'styles' =>
585 [
586 'block' =>
587 [
588 'textAlign' => 'center',
589 ],
590 ],
591 ],
592 1 =>
593 [
594 'type' => 'text',
595 'text' => '<p style="text-align: center;">Blinded by Vision</p>',
596 ],
597 2 =>
598 [
599 'type' => 'button',
600 'text' => 'Buy now',
601 'url' => '',
602 'styles' =>
603 [
604 'block' =>
605 [
606 'backgroundColor' => '#7acff0',
607 'borderColor' => '#7acff0',
608 'borderWidth' => '0px',
609 'borderRadius' => '0px',
610 'borderStyle' => 'solid',
611 'width' => '83px',
612 'lineHeight' => '32px',
613 'fontColor' => '#1c2f40',
614 'fontFamily' => 'Courier New',
615 'fontSize' => '14px',
616 'fontWeight' => 'bold',
617 'textAlign' => 'center',
618 ],
619 ],
620 ],
621 ],
622 ],
623 ],
624 ],
625 5 =>
626 [
627 'type' => 'container',
628 'columnLayout' => false,
629 'orientation' => 'horizontal',
630 'image' =>
631 [
632 'src' => null,
633 'display' => 'scale',
634 ],
635 'styles' =>
636 [
637 'block' =>
638 [
639 'backgroundColor' => 'transparent',
640 ],
641 ],
642 'blocks' =>
643 [
644 0 =>
645 [
646 'type' => 'container',
647 'columnLayout' => false,
648 'orientation' => 'vertical',
649 'image' =>
650 [
651 'src' => null,
652 'display' => 'scale',
653 ],
654 'styles' =>
655 [
656 'block' =>
657 [
658 'backgroundColor' => 'transparent',
659 ],
660 ],
661 'blocks' =>
662 [
663 0 =>
664 [
665 'type' => 'spacer',
666 'styles' =>
667 [
668 'block' =>
669 [
670 'backgroundColor' => 'transparent',
671 'height' => '20px',
672 ],
673 ],
674 ],
675 ],
676 ],
677 ],
678 ],
679 6 =>
680 [
681 'type' => 'container',
682 'columnLayout' => false,
683 'orientation' => 'horizontal',
684 'image' =>
685 [
686 'src' => $this->template_image_url . '/RockBand-Tours.jpg',
687 'display' => 'scale',
688 ],
689 'styles' =>
690 [
691 'block' =>
692 [
693 'backgroundColor' => '#1c2f40',
694 ],
695 ],
696 'blocks' =>
697 [
698 0 =>
699 [
700 'type' => 'container',
701 'columnLayout' => false,
702 'orientation' => 'vertical',
703 'image' =>
704 [
705 'src' => null,
706 'display' => 'scale',
707 ],
708 'styles' =>
709 [
710 'block' =>
711 [
712 'backgroundColor' => 'transparent',
713 ],
714 ],
715 'blocks' =>
716 [
717 0 =>
718 [
719 'type' => 'spacer',
720 'styles' =>
721 [
722 'block' =>
723 [
724 'backgroundColor' => 'transparent',
725 'height' => '20px',
726 ],
727 ],
728 ],
729 ],
730 ],
731 1 =>
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' => 'transparent',
758 'height' => '37px',
759 ],
760 ],
761 ],
762 1 =>
763 [
764 'type' => 'text',
765 'text' => '<h1 style="text-align: right;">New Tour Dates</h1>
766 <p style="text-align: right;">14th March - London, UK</p>
767 <p style="text-align: right;">15th March - Leeds, UK</p>
768 <p style="text-align: right;">16th March - Birmingham, UK</p>
769 <p style="text-align: right;">19th March - Manchester, UK</p>
770 <p style="text-align: right;">21st March - Glasgow, UK</p>',
771 ],
772 2 =>
773 [
774 'type' => 'spacer',
775 'styles' =>
776 [
777 'block' =>
778 [
779 'backgroundColor' => 'transparent',
780 'height' => '144px',
781 ],
782 ],
783 ],
784 ],
785 ],
786 ],
787 ],
788 7 =>
789 [
790 'type' => 'container',
791 'columnLayout' => false,
792 'orientation' => 'horizontal',
793 'image' =>
794 [
795 'src' => null,
796 'display' => 'scale',
797 ],
798 'styles' =>
799 [
800 'block' =>
801 [
802 'backgroundColor' => 'transparent',
803 ],
804 ],
805 'blocks' =>
806 [
807 0 =>
808 [
809 'type' => 'container',
810 'columnLayout' => false,
811 'orientation' => 'vertical',
812 'image' =>
813 [
814 'src' => null,
815 'display' => 'scale',
816 ],
817 'styles' =>
818 [
819 'block' =>
820 [
821 'backgroundColor' => 'transparent',
822 ],
823 ],
824 'blocks' =>
825 [
826 0 =>
827 [
828 'type' => 'spacer',
829 'styles' =>
830 [
831 'block' =>
832 [
833 'backgroundColor' => 'transparent',
834 'height' => '30px',
835 ],
836 ],
837 ],
838 1 =>
839 [
840 'type' => 'text',
841 'text' => '<h3 style="text-align: center;">Bounce Rate</h3>',
842 ],
843 2 =>
844 [
845 'type' => 'footer',
846 '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>',
847 'styles' =>
848 [
849 'block' =>
850 [
851 'backgroundColor' => 'transparent',
852 ],
853 'text' =>
854 [
855 'fontColor' => '#aaaaaa',
856 'fontFamily' => 'Courier New',
857 'fontSize' => '12px',
858 'textAlign' => 'center',
859 ],
860 'link' =>
861 [
862 'fontColor' => '#7acff0',
863 'textDecoration' => 'none',
864 ],
865 ],
866 ],
867 ],
868 ],
869 ],
870 ],
871 ],
872 ],
873 'globalStyles' =>
874 [
875 'text' =>
876 [
877 'fontColor' => '#ffffff',
878 'fontFamily' => 'Courier New',
879 'fontSize' => '14px',
880 ],
881 'h1' =>
882 [
883 'fontColor' => '#ffffff',
884 'fontFamily' => 'Courier New',
885 'fontSize' => '30px',
886 ],
887 'h2' =>
888 [
889 'fontColor' => '#ffffff',
890 'fontFamily' => 'Courier New',
891 'fontSize' => '24px',
892 ],
893 'h3' =>
894 [
895 'fontColor' => '#ffffff',
896 'fontFamily' => 'Courier New',
897 'fontSize' => '20px',
898 ],
899 'link' =>
900 [
901 'fontColor' => '#7acff0',
902 'textDecoration' => 'underline',
903 ],
904 'wrapper' =>
905 [
906 'backgroundColor' => '#060d13',
907 ],
908 'body' =>
909 [
910 'backgroundColor' => '#060d13',
911 ],
912 ],
913 'blockDefaults' =>
914 [
915 'automatedLatestContent' =>
916 [
917 'amount' => '5',
918 'withLayout' => false,
919 'contentType' => 'post',
920 'inclusionType' => 'include',
921 'displayType' => 'excerpt',
922 'titleFormat' => 'h1',
923 'titleAlignment' => 'left',
924 'titleIsLink' => false,
925 'imageFullWidth' => false,
926 'featuredImagePosition' => 'belowTitle',
927 'showAuthor' => 'no',
928 'authorPrecededBy' => 'Author:',
929 'showCategories' => 'no',
930 'categoriesPrecededBy' => 'Categories:',
931 'readMoreType' => 'button',
932 'readMoreText' => 'Read more',
933 'readMoreButton' =>
934 [
935 'text' => 'Read more',
936 'url' => '[postLink]',
937 'context' => 'automatedLatestContent.readMoreButton',
938 'styles' =>
939 [
940 'block' =>
941 [
942 'backgroundColor' => '#2ea1cd',
943 'borderColor' => '#0074a2',
944 'borderWidth' => '1px',
945 'borderRadius' => '5px',
946 'borderStyle' => 'solid',
947 'width' => '180px',
948 'lineHeight' => '40px',
949 'fontColor' => '#ffffff',
950 'fontFamily' => 'Verdana',
951 'fontSize' => '18px',
952 'fontWeight' => 'normal',
953 'textAlign' => 'center',
954 ],
955 ],
956 ],
957 'sortBy' => 'newest',
958 'showDivider' => true,
959 'divider' =>
960 [
961 'context' => 'automatedLatestContent.divider',
962 'styles' =>
963 [
964 'block' =>
965 [
966 'backgroundColor' => 'transparent',
967 'padding' => '13px',
968 'borderStyle' => 'solid',
969 'borderWidth' => '3px',
970 'borderColor' => '#aaaaaa',
971 ],
972 ],
973 ],
974 'backgroundColor' => '#ffffff',
975 'backgroundColorAlternate' => '#eeeeee',
976 ],
977 'automatedLatestContentLayout' =>
978 [
979 'amount' => '5',
980 'withLayout' => true,
981 'contentType' => 'post',
982 'inclusionType' => 'include',
983 'displayType' => 'excerpt',
984 'titleFormat' => 'h1',
985 'titleAlignment' => 'left',
986 'titleIsLink' => false,
987 'imageFullWidth' => false,
988 'featuredImagePosition' => 'alternate',
989 'showAuthor' => 'no',
990 'authorPrecededBy' => 'Author:',
991 'showCategories' => 'no',
992 'categoriesPrecededBy' => 'Categories:',
993 'readMoreType' => 'button',
994 'readMoreText' => 'Read more',
995 'readMoreButton' =>
996 [
997 'text' => 'Read more',
998 'url' => '[postLink]',
999 'context' => 'automatedLatestContentLayout.readMoreButton',
1000 'styles' =>
1001 [
1002 'block' =>
1003 [
1004 'backgroundColor' => '#2ea1cd',
1005 'borderColor' => '#0074a2',
1006 'borderWidth' => '1px',
1007 'borderRadius' => '5px',
1008 'borderStyle' => 'solid',
1009 'width' => '180px',
1010 'lineHeight' => '40px',
1011 'fontColor' => '#ffffff',
1012 'fontFamily' => 'Verdana',
1013 'fontSize' => '18px',
1014 'fontWeight' => 'normal',
1015 'textAlign' => 'center',
1016 ],
1017 ],
1018 ],
1019 'sortBy' => 'newest',
1020 'showDivider' => true,
1021 'divider' =>
1022 [
1023 'context' => 'automatedLatestContentLayout.divider',
1024 'styles' =>
1025 [
1026 'block' =>
1027 [
1028 'backgroundColor' => 'transparent',
1029 'padding' => '13px',
1030 'borderStyle' => 'solid',
1031 'borderWidth' => '3px',
1032 'borderColor' => '#aaaaaa',
1033 ],
1034 ],
1035 ],
1036 'backgroundColor' => '#ffffff',
1037 'backgroundColorAlternate' => '#eeeeee',
1038 ],
1039 'button' =>
1040 [
1041 'text' => 'Buy now',
1042 'url' => '',
1043 'styles' =>
1044 [
1045 'block' =>
1046 [
1047 'backgroundColor' => '#7acff0',
1048 'borderColor' => '#7acff0',
1049 'borderWidth' => '0px',
1050 'borderRadius' => '0px',
1051 'borderStyle' => 'solid',
1052 'width' => '83px',
1053 'lineHeight' => '32px',
1054 'fontColor' => '#1c2f40',
1055 'fontFamily' => 'Courier New',
1056 'fontSize' => '14px',
1057 'fontWeight' => 'bold',
1058 'textAlign' => 'center',
1059 ],
1060 ],
1061 'type' => 'button',
1062 ],
1063 'divider' =>
1064 [
1065 'styles' =>
1066 [
1067 'block' =>
1068 [
1069 'backgroundColor' => 'transparent',
1070 'padding' => '18.5px',
1071 'borderStyle' => 'double',
1072 'borderWidth' => '7px',
1073 'borderColor' => '#1c2f40',
1074 ],
1075 ],
1076 'type' => 'divider',
1077 ],
1078 'footer' =>
1079 [
1080 '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>',
1081 'styles' =>
1082 [
1083 'block' =>
1084 [
1085 'backgroundColor' => 'transparent',
1086 ],
1087 'text' =>
1088 [
1089 'fontColor' => '#aaaaaa',
1090 'fontFamily' => 'Courier New',
1091 'fontSize' => '12px',
1092 'textAlign' => 'center',
1093 ],
1094 'link' =>
1095 [
1096 'fontColor' => '#7acff0',
1097 'textDecoration' => 'none',
1098 ],
1099 ],
1100 'type' => 'footer',
1101 ],
1102 'posts' =>
1103 [
1104 'amount' => '10',
1105 'withLayout' => true,
1106 'contentType' => 'post',
1107 'postStatus' => 'publish',
1108 'inclusionType' => 'include',
1109 'displayType' => 'excerpt',
1110 'titleFormat' => 'h1',
1111 'titleAlignment' => 'left',
1112 'titleIsLink' => false,
1113 'imageFullWidth' => false,
1114 'featuredImagePosition' => 'alternate',
1115 'showAuthor' => 'no',
1116 'authorPrecededBy' => 'Author:',
1117 'showCategories' => 'no',
1118 'categoriesPrecededBy' => 'Categories:',
1119 'readMoreType' => 'link',
1120 'readMoreText' => 'Read more',
1121 'readMoreButton' =>
1122 [
1123 'text' => 'Read more',
1124 'url' => '[postLink]',
1125 'context' => 'posts.readMoreButton',
1126 'styles' =>
1127 [
1128 'block' =>
1129 [
1130 'backgroundColor' => '#2ea1cd',
1131 'borderColor' => '#0074a2',
1132 'borderWidth' => '1px',
1133 'borderRadius' => '5px',
1134 'borderStyle' => 'solid',
1135 'width' => '180px',
1136 'lineHeight' => '40px',
1137 'fontColor' => '#ffffff',
1138 'fontFamily' => 'Verdana',
1139 'fontSize' => '18px',
1140 'fontWeight' => 'normal',
1141 'textAlign' => 'center',
1142 ],
1143 ],
1144 ],
1145 'sortBy' => 'newest',
1146 'showDivider' => true,
1147 'divider' =>
1148 [
1149 'context' => 'posts.divider',
1150 'styles' =>
1151 [
1152 'block' =>
1153 [
1154 'backgroundColor' => 'transparent',
1155 'padding' => '13px',
1156 'borderStyle' => 'solid',
1157 'borderWidth' => '3px',
1158 'borderColor' => '#aaaaaa',
1159 ],
1160 ],
1161 ],
1162 'backgroundColor' => '#ffffff',
1163 'backgroundColorAlternate' => '#eeeeee',
1164 ],
1165 'social' =>
1166 [
1167 'iconSet' => 'official-white',
1168 'icons' =>
1169 [
1170 0 =>
1171 [
1172 'type' => 'socialIcon',
1173 'iconType' => 'facebook',
1174 'link' => 'http://www.facebook.com',
1175 'image' => $this->social_icon_url . '/12-official-white/Facebook.png',
1176 'height' => '32px',
1177 'width' => '32px',
1178 'text' => 'Facebook',
1179 ],
1180 1 =>
1181 [
1182 'type' => 'socialIcon',
1183 'iconType' => 'twitter',
1184 'link' => 'http://www.twitter.com',
1185 'image' => $this->social_icon_url . '/12-official-white/X.png',
1186 'height' => '32px',
1187 'width' => '32px',
1188 'text' => 'Twitter',
1189 ],
1190 2 =>
1191 [
1192 'type' => 'socialIcon',
1193 'iconType' => 'instagram',
1194 'link' => 'http://instagram.com',
1195 'image' => $this->social_icon_url . '/12-official-white/Instagram.png',
1196 'height' => '32px',
1197 'width' => '32px',
1198 'text' => 'Instagram',
1199 ],
1200 ],
1201 'type' => 'social',
1202 ],
1203 'spacer' =>
1204 [
1205 'styles' =>
1206 [
1207 'block' =>
1208 [
1209 'backgroundColor' => 'transparent',
1210 'height' => '30px',
1211 ],
1212 ],
1213 'type' => 'spacer',
1214 ],
1215 'header' =>
1216 [
1217 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
1218 'styles' =>
1219 [
1220 'block' =>
1221 [
1222 'backgroundColor' => 'transparent',
1223 ],
1224 'text' =>
1225 [
1226 'fontColor' => '#222222',
1227 'fontFamily' => 'Courier New',
1228 'fontSize' => '12px',
1229 'textAlign' => 'center',
1230 ],
1231 'link' =>
1232 [
1233 'fontColor' => '#7acff0',
1234 'textDecoration' => 'none',
1235 ],
1236 ],
1237 'type' => 'header',
1238 ],
1239 ],
1240 ];
1241 }
1242 }
1243