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 / ComputerRepair.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
ComputerRepair.php
1143 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 ComputerRepair {
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/computer-repair';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("Computer Repair", 'mailpoet'),
23 'categories' => json_encode(['standard', 'all']),
24 'readonly' => 1,
25 'thumbnail' => $this->getThumbnail(),
26 'body' => json_encode($this->getBody()),
27 ];
28 }
29
30 private function getThumbnail() {
31 return $this->template_image_url . '/thumbnail.20190411-1500.jpg';
32 }
33
34 private function getBody() {
35 return [
36 'content' =>
37 [
38 'type' => 'container',
39 'columnLayout' => false,
40 'orientation' => 'vertical',
41 'image' =>
42 [
43 'src' => null,
44 'display' => 'scale',
45 ],
46 'styles' =>
47 [
48 'block' =>
49 [
50 'backgroundColor' => 'transparent',
51 ],
52 ],
53 'blocks' =>
54 [
55 0 =>
56 [
57 'type' => 'container',
58 'columnLayout' => false,
59 'orientation' => 'horizontal',
60 'image' =>
61 [
62 'src' => null,
63 'display' => 'scale',
64 ],
65 'styles' =>
66 [
67 'block' =>
68 [
69 'backgroundColor' => '#1c00af',
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 1 =>
106 [
107 'type' => 'text',
108 'text' => '<p style="text-align: center;"><span style="color: #999999;"><a href="[link:newsletter_view_in_browser_url]" style="color: #999999;">' . __("View this in your browser.", 'mailpoet') . '</a></span></p>',
109 ],
110 ],
111 ],
112 ],
113 ],
114 1 =>
115 [
116 'type' => 'container',
117 'columnLayout' => false,
118 'orientation' => 'horizontal',
119 'image' =>
120 [
121 'src' => null,
122 'display' => 'scale',
123 ],
124 'styles' =>
125 [
126 'block' =>
127 [
128 'backgroundColor' => '#1c00af',
129 ],
130 ],
131 'blocks' =>
132 [
133 0 =>
134 [
135 'type' => 'container',
136 'columnLayout' => false,
137 'orientation' => 'vertical',
138 'image' =>
139 [
140 'src' => null,
141 'display' => 'scale',
142 ],
143 'styles' =>
144 [
145 'block' =>
146 [
147 'backgroundColor' => 'transparent',
148 ],
149 ],
150 'blocks' =>
151 [
152 0 =>
153 [
154 'type' => 'spacer',
155 'styles' =>
156 [
157 'block' =>
158 [
159 'backgroundColor' => 'transparent',
160 'height' => '20px',
161 ],
162 ],
163 ],
164 1 =>
165 [
166 'type' => 'image',
167 'link' => '',
168 'src' => $this->template_image_url . '/ComputerRepair-Logo.png',
169 'alt' => 'ComputerRepair-Logo',
170 'fullWidth' => true,
171 'width' => '408px',
172 'height' => '97px',
173 'styles' =>
174 [
175 'block' =>
176 [
177 'textAlign' => 'center',
178 ],
179 ],
180 ],
181 2 =>
182 [
183 'type' => 'divider',
184 'styles' =>
185 [
186 'block' =>
187 [
188 'backgroundColor' => 'transparent',
189 'padding' => '34px',
190 'borderStyle' => 'dashed',
191 'borderWidth' => '2px',
192 'borderColor' => '#ffffff',
193 ],
194 ],
195 ],
196 3 =>
197 [
198 'type' => 'text',
199 'text' => '<h1 style="text-align: center;"><strong>TIRED OF SCREENS&nbsp;LIKE THIS?</strong></h1>
200 <p style="text-align: center;"><em>Don\'t panic!&nbsp;We\'re here to help! </em></p>
201 <p style="text-align: center;"></p>
202 <p style="text-align: center;">Come on down to our nearest store and we\'ll be happy to take a look at your computer and help get you back up and running again in no time.</p>',
203 ],
204 4 =>
205 [
206 'type' => 'divider',
207 'styles' =>
208 [
209 'block' =>
210 [
211 'backgroundColor' => 'transparent',
212 'padding' => '14px',
213 'borderStyle' => 'dashed',
214 'borderWidth' => '2px',
215 'borderColor' => '#ffffff',
216 ],
217 ],
218 ],
219 5 =>
220 [
221 'type' => 'spacer',
222 'styles' =>
223 [
224 'block' =>
225 [
226 'backgroundColor' => 'transparent',
227 'height' => '20px',
228 ],
229 ],
230 ],
231 ],
232 ],
233 ],
234 ],
235 2 =>
236 [
237 'type' => 'container',
238 'columnLayout' => false,
239 'orientation' => 'horizontal',
240 'image' =>
241 [
242 'src' => null,
243 'display' => 'scale',
244 ],
245 'styles' =>
246 [
247 'block' =>
248 [
249 'backgroundColor' => 'transparent',
250 ],
251 ],
252 'blocks' =>
253 [
254 0 =>
255 [
256 'type' => 'container',
257 'columnLayout' => false,
258 'orientation' => 'vertical',
259 'image' =>
260 [
261 'src' => null,
262 'display' => 'scale',
263 ],
264 'styles' =>
265 [
266 'block' =>
267 [
268 'backgroundColor' => 'transparent',
269 ],
270 ],
271 'blocks' =>
272 [
273 0 =>
274 [
275 'type' => 'text',
276 'text' => '<p style="text-align: center;"><a href="http://mailpoet-sg.com/wp-admin/http:">Computer Repair</a></p>',
277 ],
278 ],
279 ],
280 1 =>
281 [
282 'type' => 'container',
283 'columnLayout' => false,
284 'orientation' => 'vertical',
285 'image' =>
286 [
287 'src' => null,
288 'display' => 'scale',
289 ],
290 'styles' =>
291 [
292 'block' =>
293 [
294 'backgroundColor' => 'transparent',
295 ],
296 ],
297 'blocks' =>
298 [
299 0 =>
300 [
301 'type' => 'text',
302 'text' => '<p style="text-align: center;"><a href="http://mailpoet-sg.com/wp-admin/http:">Help &amp; Support</a></p>',
303 ],
304 ],
305 ],
306 2 =>
307 [
308 'type' => 'container',
309 'columnLayout' => false,
310 'orientation' => 'vertical',
311 'image' =>
312 [
313 'src' => null,
314 'display' => 'scale',
315 ],
316 'styles' =>
317 [
318 'block' =>
319 [
320 'backgroundColor' => 'transparent',
321 ],
322 ],
323 'blocks' =>
324 [
325 0 =>
326 [
327 'type' => 'text',
328 'text' => '<p style="text-align: center;"><a href="http://mailpoet-sg.com/wp-admin/http:">Call Us Now</a></p>',
329 ],
330 ],
331 ],
332 ],
333 ],
334 3 =>
335 [
336 'type' => 'container',
337 'columnLayout' => false,
338 'orientation' => 'horizontal',
339 'image' =>
340 [
341 'src' => null,
342 'display' => 'scale',
343 ],
344 'styles' =>
345 [
346 'block' =>
347 [
348 'backgroundColor' => 'transparent',
349 ],
350 ],
351 'blocks' =>
352 [
353 0 =>
354 [
355 'type' => 'container',
356 'columnLayout' => false,
357 'orientation' => 'vertical',
358 'image' =>
359 [
360 'src' => null,
361 'display' => 'scale',
362 ],
363 'styles' =>
364 [
365 'block' =>
366 [
367 'backgroundColor' => 'transparent',
368 ],
369 ],
370 'blocks' =>
371 [
372 0 =>
373 [
374 'type' => 'spacer',
375 'styles' =>
376 [
377 'block' =>
378 [
379 'backgroundColor' => 'transparent',
380 'height' => '20px',
381 ],
382 ],
383 ],
384 ],
385 ],
386 ],
387 ],
388 4 =>
389 [
390 'type' => 'container',
391 'columnLayout' => false,
392 'orientation' => 'horizontal',
393 'image' =>
394 [
395 'src' => $this->template_image_url . '/ComputerRepair-Image-2.jpg',
396 'display' => 'scale',
397 ],
398 'styles' =>
399 [
400 'block' =>
401 [
402 'backgroundColor' => '#1c00af',
403 ],
404 ],
405 'blocks' =>
406 [
407 0 =>
408 [
409 'type' => 'container',
410 'columnLayout' => false,
411 'orientation' => 'vertical',
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' => 'spacer',
429 'styles' =>
430 [
431 'block' =>
432 [
433 'backgroundColor' => 'transparent',
434 'height' => '42px',
435 ],
436 ],
437 ],
438 1 =>
439 [
440 'type' => 'text',
441 'text' => '<h2 style="text-align: center;"><strong>Check out our locations</strong></h2>
442 <p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce dapibus iaculis risus ut tincidunt.</p>',
443 ],
444 2 =>
445 [
446 'type' => 'button',
447 'text' => 'View locations',
448 'url' => '',
449 'styles' =>
450 [
451 'block' =>
452 [
453 'backgroundColor' => 'transparent',
454 'borderColor' => '#f8f8f8',
455 'borderWidth' => '3px',
456 'borderRadius' => '0px',
457 'borderStyle' => 'solid',
458 'width' => '180px',
459 'lineHeight' => '40px',
460 'fontColor' => '#ffffff',
461 'fontFamily' => 'Courier New',
462 'fontSize' => '16px',
463 'fontWeight' => 'bold',
464 'textAlign' => 'center',
465 ],
466 ],
467 ],
468 3 =>
469 [
470 'type' => 'spacer',
471 'styles' =>
472 [
473 'block' =>
474 [
475 'backgroundColor' => 'transparent',
476 'height' => '20px',
477 ],
478 ],
479 ],
480 ],
481 ],
482 ],
483 ],
484 5 =>
485 [
486 'type' => 'container',
487 'columnLayout' => false,
488 'orientation' => 'horizontal',
489 'image' =>
490 [
491 'src' => null,
492 'display' => 'scale',
493 ],
494 'styles' =>
495 [
496 'block' =>
497 [
498 'backgroundColor' => 'transparent',
499 ],
500 ],
501 'blocks' =>
502 [
503 0 =>
504 [
505 'type' => 'container',
506 'columnLayout' => false,
507 'orientation' => 'vertical',
508 'image' =>
509 [
510 'src' => null,
511 'display' => 'scale',
512 ],
513 'styles' =>
514 [
515 'block' =>
516 [
517 'backgroundColor' => 'transparent',
518 ],
519 ],
520 'blocks' =>
521 [
522 0 =>
523 [
524 'type' => 'spacer',
525 'styles' =>
526 [
527 'block' =>
528 [
529 'backgroundColor' => 'transparent',
530 'height' => '50px',
531 ],
532 ],
533 ],
534 1 =>
535 [
536 'type' => 'image',
537 'link' => '',
538 'src' => $this->template_image_url . '/ComputerRepair-Logo.png',
539 'alt' => 'ComputerRepair-Logo',
540 'fullWidth' => true,
541 'width' => '254px',
542 'height' => '97px',
543 'styles' =>
544 [
545 'block' =>
546 [
547 'textAlign' => 'center',
548 ],
549 ],
550 ],
551 ],
552 ],
553 ],
554 ],
555 6 =>
556 [
557 'type' => 'container',
558 'columnLayout' => false,
559 'orientation' => 'horizontal',
560 'image' =>
561 [
562 'src' => null,
563 'display' => 'scale',
564 ],
565 'styles' =>
566 [
567 'block' =>
568 [
569 'backgroundColor' => 'transparent',
570 ],
571 ],
572 'blocks' =>
573 [
574 0 =>
575 [
576 'type' => 'container',
577 'columnLayout' => false,
578 'orientation' => 'vertical',
579 'image' =>
580 [
581 'src' => null,
582 'display' => 'scale',
583 ],
584 'styles' =>
585 [
586 'block' =>
587 [
588 'backgroundColor' => 'transparent',
589 ],
590 ],
591 'blocks' =>
592 [
593 0 =>
594 [
595 'type' => 'spacer',
596 'styles' =>
597 [
598 'block' =>
599 [
600 'backgroundColor' => 'transparent',
601 'height' => '30px',
602 ],
603 ],
604 ],
605 1 =>
606 [
607 'type' => 'text',
608 'text' => '<p style="text-align: center; font-size: 12px;"><a href="[link:subscription_unsubscribe_url]">' . __("Unsubscribe", 'mailpoet') . '</a><span>&nbsp;|&nbsp;</span><a href="[link:subscription_manage_url]">' . __("Manage your subscription", 'mailpoet') . '</a></p>',
609 ],
610 ],
611 ],
612 1 =>
613 [
614 'type' => 'container',
615 'columnLayout' => false,
616 'orientation' => 'vertical',
617 'image' =>
618 [
619 'src' => null,
620 'display' => 'scale',
621 ],
622 'styles' =>
623 [
624 'block' =>
625 [
626 'backgroundColor' => 'transparent',
627 ],
628 ],
629 'blocks' =>
630 [
631 0 =>
632 [
633 'type' => 'spacer',
634 'styles' =>
635 [
636 'block' =>
637 [
638 'backgroundColor' => 'transparent',
639 'height' => '20px',
640 ],
641 ],
642 ],
643 1 =>
644 [
645 'type' => 'social',
646 'iconSet' => 'official-white',
647 'icons' =>
648 [
649 0 =>
650 [
651 'type' => 'socialIcon',
652 'iconType' => 'facebook',
653 'link' => 'http://www.facebook.com',
654 'image' => $this->social_icon_url . '/12-official-white/Facebook.png',
655 'height' => '32px',
656 'width' => '32px',
657 'text' => 'Facebook',
658 ],
659 1 =>
660 [
661 'type' => 'socialIcon',
662 'iconType' => 'twitter',
663 'link' => 'http://www.twitter.com',
664 'image' => $this->social_icon_url . '/12-official-white/X.png',
665 'height' => '32px',
666 'width' => '32px',
667 'text' => 'Twitter',
668 ],
669 2 =>
670 [
671 'type' => 'socialIcon',
672 'iconType' => 'instagram',
673 'link' => 'http://instagram.com',
674 'image' => $this->social_icon_url . '/12-official-white/Instagram.png',
675 'height' => '32px',
676 'width' => '32px',
677 'text' => 'Instagram',
678 ],
679 3 =>
680 [
681 'type' => 'socialIcon',
682 'iconType' => 'website',
683 'link' => '',
684 'image' => $this->social_icon_url . '/12-official-white/Website.png',
685 'height' => '32px',
686 'width' => '32px',
687 'text' => 'Website',
688 ],
689 4 =>
690 [
691 'type' => 'socialIcon',
692 'iconType' => 'linkedin',
693 'link' => 'http://www.linkedin.com',
694 'image' => $this->social_icon_url . '/12-official-white/Linkedin.png',
695 'height' => '32px',
696 'width' => '32px',
697 'text' => 'LinkedIn',
698 ],
699 ],
700 ],
701 ],
702 ],
703 ],
704 ],
705 7 =>
706 [
707 'type' => 'container',
708 'columnLayout' => false,
709 'orientation' => 'horizontal',
710 'image' =>
711 [
712 'src' => null,
713 'display' => 'scale',
714 ],
715 'styles' =>
716 [
717 'block' =>
718 [
719 'backgroundColor' => 'transparent',
720 ],
721 ],
722 'blocks' =>
723 [
724 0 =>
725 [
726 'type' => 'container',
727 'columnLayout' => false,
728 'orientation' => 'vertical',
729 'image' =>
730 [
731 'src' => null,
732 'display' => 'scale',
733 ],
734 'styles' =>
735 [
736 'block' =>
737 [
738 'backgroundColor' => 'transparent',
739 ],
740 ],
741 'blocks' =>
742 [
743 0 =>
744 [
745 'type' => 'text',
746 'text' => '<p style="text-align: center; font-size: 12px;">Add your address here</p>',
747 ],
748 ],
749 ],
750 ],
751 ],
752 ],
753 ],
754 'globalStyles' =>
755 [
756 'text' =>
757 [
758 'fontColor' => '#ffffff',
759 'fontFamily' => 'Courier New',
760 'fontSize' => '16px',
761 ],
762 'h1' =>
763 [
764 'fontColor' => '#ffffff',
765 'fontFamily' => 'Courier New',
766 'fontSize' => '30px',
767 ],
768 'h2' =>
769 [
770 'fontColor' => '#ffffff',
771 'fontFamily' => 'Courier New',
772 'fontSize' => '24px',
773 ],
774 'h3' =>
775 [
776 'fontColor' => '#ffffff',
777 'fontFamily' => 'Courier New',
778 'fontSize' => '22px',
779 ],
780 'link' =>
781 [
782 'fontColor' => '#ffffff',
783 'textDecoration' => 'underline',
784 ],
785 'wrapper' =>
786 [
787 'backgroundColor' => '#1c00af',
788 ],
789 'body' =>
790 [
791 'backgroundColor' => '#1c00af',
792 ],
793 ],
794 'blockDefaults' =>
795 [
796 'automatedLatestContent' =>
797 [
798 'amount' => '5',
799 'withLayout' => false,
800 'contentType' => 'post',
801 'inclusionType' => 'include',
802 'displayType' => 'excerpt',
803 'titleFormat' => 'h1',
804 'titleAlignment' => 'left',
805 'titleIsLink' => false,
806 'imageFullWidth' => false,
807 'featuredImagePosition' => 'belowTitle',
808 'showAuthor' => 'no',
809 'authorPrecededBy' => 'Author:',
810 'showCategories' => 'no',
811 'categoriesPrecededBy' => 'Categories:',
812 'readMoreType' => 'button',
813 'readMoreText' => 'Read more',
814 'readMoreButton' =>
815 [
816 'text' => 'Read more',
817 'url' => '[postLink]',
818 'context' => 'automatedLatestContent.readMoreButton',
819 'styles' =>
820 [
821 'block' =>
822 [
823 'backgroundColor' => '#2ea1cd',
824 'borderColor' => '#0074a2',
825 'borderWidth' => '1px',
826 'borderRadius' => '5px',
827 'borderStyle' => 'solid',
828 'width' => '180px',
829 'lineHeight' => '40px',
830 'fontColor' => '#ffffff',
831 'fontFamily' => 'Verdana',
832 'fontSize' => '18px',
833 'fontWeight' => 'normal',
834 'textAlign' => 'center',
835 ],
836 ],
837 ],
838 'sortBy' => 'newest',
839 'showDivider' => true,
840 'divider' =>
841 [
842 'context' => 'automatedLatestContent.divider',
843 'styles' =>
844 [
845 'block' =>
846 [
847 'backgroundColor' => 'transparent',
848 'padding' => '13px',
849 'borderStyle' => 'solid',
850 'borderWidth' => '3px',
851 'borderColor' => '#aaaaaa',
852 ],
853 ],
854 ],
855 'backgroundColor' => '#ffffff',
856 'backgroundColorAlternate' => '#eeeeee',
857 ],
858 'automatedLatestContentLayout' =>
859 [
860 'amount' => '5',
861 'withLayout' => true,
862 'contentType' => 'post',
863 'inclusionType' => 'include',
864 'displayType' => 'excerpt',
865 'titleFormat' => 'h1',
866 'titleAlignment' => 'left',
867 'titleIsLink' => false,
868 'imageFullWidth' => false,
869 'featuredImagePosition' => 'alternate',
870 'showAuthor' => 'no',
871 'authorPrecededBy' => 'Author:',
872 'showCategories' => 'no',
873 'categoriesPrecededBy' => 'Categories:',
874 'readMoreType' => 'button',
875 'readMoreText' => 'Read more',
876 'readMoreButton' =>
877 [
878 'text' => 'Read more',
879 'url' => '[postLink]',
880 'context' => 'automatedLatestContentLayout.readMoreButton',
881 'styles' =>
882 [
883 'block' =>
884 [
885 'backgroundColor' => '#2ea1cd',
886 'borderColor' => '#0074a2',
887 'borderWidth' => '1px',
888 'borderRadius' => '5px',
889 'borderStyle' => 'solid',
890 'width' => '180px',
891 'lineHeight' => '40px',
892 'fontColor' => '#ffffff',
893 'fontFamily' => 'Verdana',
894 'fontSize' => '18px',
895 'fontWeight' => 'normal',
896 'textAlign' => 'center',
897 ],
898 ],
899 ],
900 'sortBy' => 'newest',
901 'showDivider' => true,
902 'divider' =>
903 [
904 'context' => 'automatedLatestContentLayout.divider',
905 'styles' =>
906 [
907 'block' =>
908 [
909 'backgroundColor' => 'transparent',
910 'padding' => '13px',
911 'borderStyle' => 'solid',
912 'borderWidth' => '3px',
913 'borderColor' => '#aaaaaa',
914 ],
915 ],
916 ],
917 'backgroundColor' => '#ffffff',
918 'backgroundColorAlternate' => '#eeeeee',
919 ],
920 'button' =>
921 [
922 'text' => 'View locations',
923 'url' => '',
924 'styles' =>
925 [
926 'block' =>
927 [
928 'backgroundColor' => 'transparent',
929 'borderColor' => '#f8f8f8',
930 'borderWidth' => '3px',
931 'borderRadius' => '0px',
932 'borderStyle' => 'solid',
933 'width' => '180px',
934 'lineHeight' => '40px',
935 'fontColor' => '#ffffff',
936 'fontFamily' => 'Courier New',
937 'fontSize' => '16px',
938 'fontWeight' => 'bold',
939 'textAlign' => 'center',
940 ],
941 ],
942 'type' => 'button',
943 ],
944 'divider' =>
945 [
946 'styles' =>
947 [
948 'block' =>
949 [
950 'backgroundColor' => 'transparent',
951 'padding' => '16.5px',
952 'borderStyle' => 'dashed',
953 'borderWidth' => '2px',
954 'borderColor' => '#ffffff',
955 ],
956 ],
957 'type' => 'divider',
958 ],
959 'footer' =>
960 [
961 '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>',
962 'styles' =>
963 [
964 'block' =>
965 [
966 'backgroundColor' => 'transparent',
967 ],
968 'text' =>
969 [
970 'fontColor' => '#222222',
971 'fontFamily' => 'Arial',
972 'fontSize' => '12px',
973 'textAlign' => 'center',
974 ],
975 'link' =>
976 [
977 'fontColor' => '#6cb7d4',
978 'textDecoration' => 'none',
979 ],
980 ],
981 'type' => 'footer',
982 ],
983 'posts' =>
984 [
985 'amount' => '10',
986 'withLayout' => true,
987 'contentType' => 'post',
988 'postStatus' => 'publish',
989 'inclusionType' => 'include',
990 'displayType' => 'excerpt',
991 'titleFormat' => 'h1',
992 'titleAlignment' => 'left',
993 'titleIsLink' => false,
994 'imageFullWidth' => false,
995 'featuredImagePosition' => 'alternate',
996 'showAuthor' => 'no',
997 'authorPrecededBy' => 'Author:',
998 'showCategories' => 'no',
999 'categoriesPrecededBy' => 'Categories:',
1000 'readMoreType' => 'link',
1001 'readMoreText' => 'Read more',
1002 'readMoreButton' =>
1003 [
1004 'text' => 'Read more',
1005 'url' => '[postLink]',
1006 'context' => 'posts.readMoreButton',
1007 'styles' =>
1008 [
1009 'block' =>
1010 [
1011 'backgroundColor' => '#2ea1cd',
1012 'borderColor' => '#0074a2',
1013 'borderWidth' => '1px',
1014 'borderRadius' => '5px',
1015 'borderStyle' => 'solid',
1016 'width' => '180px',
1017 'lineHeight' => '40px',
1018 'fontColor' => '#ffffff',
1019 'fontFamily' => 'Verdana',
1020 'fontSize' => '18px',
1021 'fontWeight' => 'normal',
1022 'textAlign' => 'center',
1023 ],
1024 ],
1025 ],
1026 'sortBy' => 'newest',
1027 'showDivider' => true,
1028 'divider' =>
1029 [
1030 'context' => 'posts.divider',
1031 'styles' =>
1032 [
1033 'block' =>
1034 [
1035 'backgroundColor' => 'transparent',
1036 'padding' => '13px',
1037 'borderStyle' => 'solid',
1038 'borderWidth' => '3px',
1039 'borderColor' => '#aaaaaa',
1040 ],
1041 ],
1042 ],
1043 'backgroundColor' => '#ffffff',
1044 'backgroundColorAlternate' => '#eeeeee',
1045 ],
1046 'social' =>
1047 [
1048 'iconSet' => 'official-white',
1049 'icons' =>
1050 [
1051 0 =>
1052 [
1053 'type' => 'socialIcon',
1054 'iconType' => 'facebook',
1055 'link' => 'http://www.facebook.com',
1056 'image' => $this->social_icon_url . '/12-official-white/Facebook.png',
1057 'height' => '32px',
1058 'width' => '32px',
1059 'text' => 'Facebook',
1060 ],
1061 1 =>
1062 [
1063 'type' => 'socialIcon',
1064 'iconType' => 'twitter',
1065 'link' => 'http://www.twitter.com',
1066 'image' => $this->social_icon_url . '/12-official-white/X.png',
1067 'height' => '32px',
1068 'width' => '32px',
1069 'text' => 'Twitter',
1070 ],
1071 2 =>
1072 [
1073 'type' => 'socialIcon',
1074 'iconType' => 'instagram',
1075 'link' => 'http://instagram.com',
1076 'image' => $this->social_icon_url . '/12-official-white/Instagram.png',
1077 'height' => '32px',
1078 'width' => '32px',
1079 'text' => 'Instagram',
1080 ],
1081 3 =>
1082 [
1083 'type' => 'socialIcon',
1084 'iconType' => 'website',
1085 'link' => '',
1086 'image' => $this->social_icon_url . '/12-official-white/Website.png',
1087 'height' => '32px',
1088 'width' => '32px',
1089 'text' => 'Website',
1090 ],
1091 4 =>
1092 [
1093 'type' => 'socialIcon',
1094 'iconType' => 'linkedin',
1095 'link' => 'http://www.linkedin.com',
1096 'image' => $this->social_icon_url . '/12-official-white/Linkedin.png',
1097 'height' => '32px',
1098 'width' => '32px',
1099 'text' => 'LinkedIn',
1100 ],
1101 ],
1102 'type' => 'social',
1103 ],
1104 'spacer' =>
1105 [
1106 'styles' =>
1107 [
1108 'block' =>
1109 [
1110 'backgroundColor' => 'transparent',
1111 'height' => '50px',
1112 ],
1113 ],
1114 'type' => 'spacer',
1115 ],
1116 'header' =>
1117 [
1118 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
1119 'styles' =>
1120 [
1121 'block' =>
1122 [
1123 'backgroundColor' => 'transparent',
1124 ],
1125 'text' =>
1126 [
1127 'fontColor' => '#222222',
1128 'fontFamily' => 'Arial',
1129 'fontSize' => '12px',
1130 'textAlign' => 'center',
1131 ],
1132 'link' =>
1133 [
1134 'fontColor' => '#6cb7d4',
1135 'textDecoration' => 'underline',
1136 ],
1137 ],
1138 ],
1139 ],
1140 ];
1141 }
1142 }
1143