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 / Fitness.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
Fitness.php
1213 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 Fitness {
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/fitness';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("Abandoned Cart – Fitness", '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.20201028.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' => '#e6e1e5',
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' => 'image',
96 'link' => '',
97 'src' => $this->template_image_url . '/Fitness-Logo-1.jpg',
98 'alt' => 'Fitness-Logo-1',
99 'fullWidth' => true,
100 'width' => '180px',
101 'height' => '96px',
102 'styles' =>
103 [
104 'block' =>
105 [
106 'textAlign' => 'center',
107 ],
108 ],
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' => '#e6e1e5',
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' => 'social',
167 'iconSet' => 'official',
168 'styles' =>
169 [
170 'block' =>
171 [
172 'textAlign' => 'center',
173 ],
174 ],
175 'icons' =>
176 [
177 0 =>
178 [
179 'type' => 'socialIcon',
180 'iconType' => 'facebook',
181 'link' => 'http://www.facebook.com',
182 'image' => $this->social_icon_url . '/11-official/Facebook.png',
183 'height' => '32px',
184 'width' => '32px',
185 'text' => 'Facebook',
186 ],
187 1 =>
188 [
189 'type' => 'socialIcon',
190 'iconType' => 'twitter',
191 'link' => 'http://www.twitter.com',
192 'image' => $this->social_icon_url . '/11-official/X.png',
193 'height' => '32px',
194 'width' => '32px',
195 'text' => 'Twitter',
196 ],
197 2 =>
198 [
199 'type' => 'socialIcon',
200 'iconType' => 'instagram',
201 'link' => 'http://instagram.com',
202 'image' => $this->social_icon_url . '/11-official/Instagram.png',
203 'height' => '32px',
204 'width' => '32px',
205 'text' => 'Instagram',
206 ],
207 ],
208 ],
209 ],
210 ],
211 ],
212 ],
213 2 =>
214 [
215 'type' => 'container',
216 'columnLayout' => false,
217 'orientation' => 'horizontal',
218 'image' =>
219 [
220 'src' => null,
221 'display' => 'scale',
222 ],
223 'styles' =>
224 [
225 'block' =>
226 [
227 'backgroundColor' => '#e6e1e5',
228 ],
229 ],
230 'blocks' =>
231 [
232 0 =>
233 [
234 'type' => 'container',
235 'columnLayout' => false,
236 'orientation' => 'vertical',
237 'image' =>
238 [
239 'src' => null,
240 'display' => 'scale',
241 ],
242 'styles' =>
243 [
244 'block' =>
245 [
246 'backgroundColor' => 'transparent',
247 ],
248 ],
249 'blocks' =>
250 [
251 0 =>
252 [
253 'type' => 'text',
254 'text' => '<h1 style="text-align: center;"><strong>Get back in the game</strong></h1>',
255 ],
256 ],
257 ],
258 ],
259 ],
260 3 =>
261 [
262 'type' => 'container',
263 'columnLayout' => false,
264 'orientation' => 'horizontal',
265 'image' =>
266 [
267 'src' => null,
268 'display' => 'scale',
269 ],
270 'styles' =>
271 [
272 'block' =>
273 [
274 'backgroundColor' => '#ffffff',
275 ],
276 ],
277 'blocks' =>
278 [
279 0 =>
280 [
281 'type' => 'container',
282 'columnLayout' => false,
283 'orientation' => 'vertical',
284 'image' =>
285 [
286 'src' => null,
287 'display' => 'scale',
288 ],
289 'styles' =>
290 [
291 'block' =>
292 [
293 'backgroundColor' => 'transparent',
294 ],
295 ],
296 'blocks' =>
297 [
298 0 =>
299 [
300 'type' => 'image',
301 'link' => '',
302 'src' => $this->template_image_url . '/Fitness-Header.jpg',
303 'alt' => 'Fitness-Header',
304 'fullWidth' => true,
305 'width' => '1280px',
306 'height' => '696px',
307 'styles' =>
308 [
309 'block' =>
310 [
311 'textAlign' => 'center',
312 ],
313 ],
314 ],
315 ],
316 ],
317 ],
318 ],
319 4 =>
320 [
321 'type' => 'container',
322 'columnLayout' => false,
323 'orientation' => 'horizontal',
324 'image' =>
325 [
326 'src' => null,
327 'display' => 'scale',
328 ],
329 'styles' =>
330 [
331 'block' =>
332 [
333 'backgroundColor' => 'transparent',
334 ],
335 ],
336 'blocks' =>
337 [
338 0 =>
339 [
340 'type' => 'container',
341 'columnLayout' => false,
342 'orientation' => 'vertical',
343 'image' =>
344 [
345 'src' => null,
346 'display' => 'scale',
347 ],
348 'styles' =>
349 [
350 'block' =>
351 [
352 'backgroundColor' => 'transparent',
353 ],
354 ],
355 'blocks' =>
356 [
357 0 =>
358 [
359 'type' => 'spacer',
360 'styles' =>
361 [
362 'block' =>
363 [
364 'backgroundColor' => 'transparent',
365 'height' => '40px',
366 ],
367 ],
368 ],
369 1 =>
370 [
371 'type' => 'text',
372 'text' => '<h3 style="text-align: center;"><strong>You\'ve left something in your cart...</strong></h3>',
373 ],
374 ],
375 ],
376 ],
377 ],
378 5 =>
379 [
380 'type' => 'abandonedCartContent',
381 'withLayout' => true,
382 'amount' => '2',
383 'contentType' => 'product',
384 'postStatus' => 'publish',
385 'inclusionType' => 'include',
386 'displayType' => 'full',
387 'titleFormat' => 'h3',
388 'titleAlignment' => 'left',
389 'titleIsLink' => false,
390 'imageFullWidth' => false,
391 'titlePosition' => 'aboveExcerpt',
392 'featuredImagePosition' => 'left',
393 'pricePosition' => 'hidden',
394 'readMoreType' => 'none',
395 'readMoreText' => '',
396 'readMoreButton' =>
397 [
398 ],
399 'sortBy' => 'newest',
400 'showDivider' => true,
401 'divider' =>
402 [
403 'type' => 'divider',
404 'styles' =>
405 [
406 'block' =>
407 [
408 'backgroundColor' => 'transparent',
409 'padding' => '13px',
410 'borderStyle' => 'solid',
411 'borderWidth' => '3px',
412 'borderColor' => '#aaaaaa',
413 ],
414 ],
415 'context' => 'abandonedCartContent.divider',
416 ],
417 'backgroundColor' => '#ffffff',
418 'backgroundColorAlternate' => '#eeeeee',
419 ],
420 6 =>
421 [
422 'type' => 'container',
423 'columnLayout' => false,
424 'orientation' => 'horizontal',
425 'image' =>
426 [
427 'src' => null,
428 'display' => 'scale',
429 ],
430 'styles' =>
431 [
432 'block' =>
433 [
434 'backgroundColor' => 'transparent',
435 ],
436 ],
437 'blocks' =>
438 [
439 0 =>
440 [
441 'type' => 'container',
442 'columnLayout' => false,
443 'orientation' => 'vertical',
444 'image' =>
445 [
446 'src' => null,
447 'display' => 'scale',
448 ],
449 'styles' =>
450 [
451 'block' =>
452 [
453 'backgroundColor' => 'transparent',
454 ],
455 ],
456 'blocks' =>
457 [
458 0 =>
459 [
460 'type' => 'button',
461 'text' => 'Recover Cart',
462 'url' => '',
463 'styles' =>
464 [
465 'block' =>
466 [
467 'backgroundColor' => '#ffffff',
468 'borderColor' => '#343434',
469 'borderWidth' => '3px',
470 'borderRadius' => '0px',
471 'borderStyle' => 'solid',
472 'width' => '146px',
473 'lineHeight' => '37px',
474 'fontColor' => '#343434',
475 'fontFamily' => 'Arial',
476 'fontSize' => '18px',
477 'fontWeight' => 'bold',
478 'textAlign' => 'center',
479 ],
480 ],
481 ],
482 1 =>
483 [
484 'type' => 'spacer',
485 'styles' =>
486 [
487 'block' =>
488 [
489 'backgroundColor' => 'transparent',
490 'height' => '20px',
491 ],
492 ],
493 ],
494 ],
495 ],
496 ],
497 ],
498 7 =>
499 [
500 'type' => 'container',
501 'columnLayout' => false,
502 'orientation' => 'horizontal',
503 'image' =>
504 [
505 'src' => null,
506 'display' => 'scale',
507 ],
508 'styles' =>
509 [
510 'block' =>
511 [
512 'backgroundColor' => '#afd147',
513 ],
514 ],
515 'blocks' =>
516 [
517 0 =>
518 [
519 'type' => 'container',
520 'columnLayout' => false,
521 'orientation' => 'vertical',
522 'image' =>
523 [
524 'src' => null,
525 'display' => 'scale',
526 ],
527 'styles' =>
528 [
529 'block' =>
530 [
531 'backgroundColor' => 'transparent',
532 ],
533 ],
534 'blocks' =>
535 [
536 0 =>
537 [
538 'type' => 'spacer',
539 'styles' =>
540 [
541 'block' =>
542 [
543 'backgroundColor' => 'transparent',
544 'height' => '30px',
545 ],
546 ],
547 ],
548 1 =>
549 [
550 'type' => 'text',
551 'text' => '<h3 style="text-align: center;"><strong>Still interested?</strong></h3>
552 <p style="text-align: center;"><strong>Here\'s 20% off your order if you complete it right now. We\'re nice like that.</strong></p>',
553 ],
554 2 =>
555 [
556 'productIds' => [],
557 'excludedProductIds' => [],
558 'productCategoryIds' => [],
559 'excludedProductCategoryIds' => [],
560 'type' => 'coupon',
561 'amount' => 10,
562 'amountMax' => 100,
563 'discountType' => 'percent',
564 'expiryDay' => 10,
565 'usageLimit' => '',
566 'usageLimitPerUser' => '',
567 'minimumAmount' => '',
568 'maximumAmount' => '',
569 'emailRestrictions' => '',
570 'styles' => [
571 'block' => [
572 'backgroundColor' => '#afd147',
573 'borderColor' => '#56741d',
574 'borderWidth' => '3px',
575 'borderRadius' => '5px',
576 'borderStyle' => 'solid',
577 'width' => '219px',
578 'lineHeight' => '50px',
579 'fontColor' => '#56741d',
580 'fontFamily' => 'Courier New',
581 'fontSize' => '26px',
582 'fontWeight' => 'bold',
583 'textAlign' => 'center',
584 ],
585 ],
586 'source' => 'createNew',
587 'code' => 'XXXX-XXXXXXX-XXXX',
588 ],
589 3 =>
590 [
591 'type' => 'spacer',
592 'styles' =>
593 [
594 'block' =>
595 [
596 'backgroundColor' => 'transparent',
597 'height' => '20px',
598 ],
599 ],
600 ],
601 ],
602 ],
603 ],
604 ],
605 8 =>
606 [
607 'type' => 'container',
608 'columnLayout' => false,
609 'orientation' => 'horizontal',
610 'image' =>
611 [
612 'src' => null,
613 'display' => 'scale',
614 ],
615 'styles' =>
616 [
617 'block' =>
618 [
619 'backgroundColor' => '#222222',
620 ],
621 ],
622 'blocks' =>
623 [
624 0 =>
625 [
626 'type' => 'container',
627 'columnLayout' => false,
628 'orientation' => 'vertical',
629 'image' =>
630 [
631 'src' => null,
632 'display' => 'scale',
633 ],
634 'styles' =>
635 [
636 'block' =>
637 [
638 'backgroundColor' => 'transparent',
639 ],
640 ],
641 'blocks' =>
642 [
643 0 =>
644 [
645 'type' => 'spacer',
646 'styles' =>
647 [
648 'block' =>
649 [
650 'backgroundColor' => 'transparent',
651 'height' => '40px',
652 ],
653 ],
654 ],
655 1 =>
656 [
657 'type' => 'image',
658 'link' => '',
659 'src' => $this->template_image_url . '/Fitness-Logo-Footer-1.png',
660 'alt' => 'Fitness-Logo-Footer-1',
661 'fullWidth' => false,
662 'width' => '180px',
663 'height' => '52px',
664 'styles' =>
665 [
666 'block' =>
667 [
668 'textAlign' => 'center',
669 ],
670 ],
671 ],
672 2 =>
673 [
674 'type' => 'social',
675 'iconSet' => 'official',
676 'styles' =>
677 [
678 'block' =>
679 [
680 'textAlign' => 'center',
681 ],
682 ],
683 'icons' =>
684 [
685 0 =>
686 [
687 'type' => 'socialIcon',
688 'iconType' => 'facebook',
689 'link' => 'http://www.facebook.com',
690 'image' => $this->social_icon_url . '/11-official/Facebook.png',
691 'height' => '32px',
692 'width' => '32px',
693 'text' => 'Facebook',
694 ],
695 1 =>
696 [
697 'type' => 'socialIcon',
698 'iconType' => 'twitter',
699 'link' => 'http://www.twitter.com',
700 'image' => $this->social_icon_url . '/11-official/X.png',
701 'height' => '32px',
702 'width' => '32px',
703 'text' => 'Twitter',
704 ],
705 2 =>
706 [
707 'type' => 'socialIcon',
708 'iconType' => 'instagram',
709 'link' => 'http://instagram.com',
710 'image' => $this->social_icon_url . '/11-official/Instagram.png',
711 'height' => '32px',
712 'width' => '32px',
713 'text' => 'Instagram',
714 ],
715 ],
716 ],
717 3 =>
718 [
719 'type' => 'text',
720 'text' => '<p style="text-align: center;"><span style="color: #999999;">Address Line 1, Address Line 2, City, Country</span></p>
721 <p style="text-align: center;"><span style="color: #999999;"><strong><a href="[link:subscription_unsubscribe_url]" style="color: #999999;">' . __("Unsubscribe", 'mailpoet') . '</a><span>&nbsp;</span>|<span>&nbsp;</span><a href="[link:subscription_manage_url]" style="color: #999999;">' . __("Manage your subscription", 'mailpoet') . '</a></strong></span></p>',
722 ],
723 4 =>
724 [
725 'type' => 'spacer',
726 'styles' =>
727 [
728 'block' =>
729 [
730 'backgroundColor' => 'transparent',
731 'height' => '40px',
732 ],
733 ],
734 ],
735 ],
736 ],
737 ],
738 ],
739 ],
740 ],
741 'globalStyles' =>
742 [
743 'text' =>
744 [
745 'fontColor' => '#4e4e4e',
746 'fontFamily' => 'Arial',
747 'fontSize' => '14px',
748 'lineHeight' => '1.6',
749 ],
750 'h1' =>
751 [
752 'fontColor' => '#4e4e4e',
753 'fontFamily' => 'Arial',
754 'fontSize' => '40px',
755 'lineHeight' => '1.6',
756 ],
757 'h2' =>
758 [
759 'fontColor' => '#4e4e4e',
760 'fontFamily' => 'Arial',
761 'fontSize' => '24px',
762 'lineHeight' => '1.6',
763 ],
764 'h3' =>
765 [
766 'fontColor' => '#4e4e4e',
767 'fontFamily' => 'Arial',
768 'fontSize' => '22px',
769 'lineHeight' => '1.6',
770 ],
771 'link' =>
772 [
773 'fontColor' => '#3c3c3c',
774 'textDecoration' => 'underline',
775 ],
776 'wrapper' =>
777 [
778 'backgroundColor' => '#ffffff',
779 ],
780 'body' =>
781 [
782 'backgroundColor' => '#222222',
783 ],
784 ],
785 'blockDefaults' =>
786 [
787 'abandonedCartContent' =>
788 [
789 'amount' => '2',
790 'withLayout' => true,
791 'contentType' => 'product',
792 'postStatus' => 'publish',
793 'inclusionType' => 'include',
794 'displayType' => 'full',
795 'titleFormat' => 'h3',
796 'titleAlignment' => 'left',
797 'titleIsLink' => false,
798 'imageFullWidth' => false,
799 'featuredImagePosition' => 'left',
800 'pricePosition' => 'hidden',
801 'readMoreType' => 'none',
802 'readMoreText' => '',
803 'readMoreButton' =>
804 [
805 ],
806 'sortBy' => 'newest',
807 'showDivider' => true,
808 'divider' =>
809 [
810 'context' => 'abandonedCartContent.divider',
811 'styles' =>
812 [
813 'block' =>
814 [
815 'backgroundColor' => 'transparent',
816 'padding' => '13px',
817 'borderStyle' => 'solid',
818 'borderWidth' => '3px',
819 'borderColor' => '#aaaaaa',
820 ],
821 ],
822 'type' => 'divider',
823 ],
824 'backgroundColor' => '#ffffff',
825 'backgroundColorAlternate' => '#eeeeee',
826 'type' => 'abandonedCartContent',
827 'titlePosition' => 'aboveExcerpt',
828 ],
829 'automatedLatestContent' =>
830 [
831 'amount' => '5',
832 'contentType' => 'post',
833 'inclusionType' => 'include',
834 'displayType' => 'excerpt',
835 'titleFormat' => 'h1',
836 'titleAlignment' => 'left',
837 'titleIsLink' => false,
838 'imageFullWidth' => false,
839 'featuredImagePosition' => 'belowTitle',
840 'showAuthor' => 'no',
841 'authorPrecededBy' => 'Author:',
842 'showCategories' => 'no',
843 'categoriesPrecededBy' => 'Categories:',
844 'readMoreType' => 'button',
845 'readMoreText' => 'Read more',
846 'readMoreButton' =>
847 [
848 'text' => 'Read more',
849 'url' => '[postLink]',
850 'context' => 'automatedLatestContent.readMoreButton',
851 'styles' =>
852 [
853 'block' =>
854 [
855 'backgroundColor' => '#2ea1cd',
856 'borderColor' => '#0074a2',
857 'borderWidth' => '1px',
858 'borderRadius' => '5px',
859 'borderStyle' => 'solid',
860 'width' => '180px',
861 'lineHeight' => '40px',
862 'fontColor' => '#ffffff',
863 'fontFamily' => 'Verdana',
864 'fontSize' => '18px',
865 'fontWeight' => 'normal',
866 'textAlign' => 'center',
867 ],
868 ],
869 ],
870 'sortBy' => 'newest',
871 'showDivider' => true,
872 'divider' =>
873 [
874 'context' => 'automatedLatestContent.divider',
875 'styles' =>
876 [
877 'block' =>
878 [
879 'backgroundColor' => 'transparent',
880 'padding' => '13px',
881 'borderStyle' => 'solid',
882 'borderWidth' => '3px',
883 'borderColor' => '#aaaaaa',
884 ],
885 ],
886 ],
887 'backgroundColor' => '#ffffff',
888 'backgroundColorAlternate' => '#eeeeee',
889 ],
890 'automatedLatestContentLayout' =>
891 [
892 'amount' => '5',
893 'withLayout' => true,
894 'contentType' => 'post',
895 'inclusionType' => 'include',
896 'displayType' => 'excerpt',
897 'titleFormat' => 'h1',
898 'titleAlignment' => 'left',
899 'titleIsLink' => false,
900 'imageFullWidth' => false,
901 'featuredImagePosition' => 'alternate',
902 'showAuthor' => 'no',
903 'authorPrecededBy' => 'Author:',
904 'showCategories' => 'no',
905 'categoriesPrecededBy' => 'Categories:',
906 'readMoreType' => 'button',
907 'readMoreText' => 'Read more',
908 'readMoreButton' =>
909 [
910 'text' => 'Read more',
911 'url' => '[postLink]',
912 'context' => 'automatedLatestContentLayout.readMoreButton',
913 'styles' =>
914 [
915 'block' =>
916 [
917 'backgroundColor' => '#2ea1cd',
918 'borderColor' => '#0074a2',
919 'borderWidth' => '1px',
920 'borderRadius' => '5px',
921 'borderStyle' => 'solid',
922 'width' => '180px',
923 'lineHeight' => '40px',
924 'fontColor' => '#ffffff',
925 'fontFamily' => 'Verdana',
926 'fontSize' => '18px',
927 'fontWeight' => 'normal',
928 'textAlign' => 'center',
929 ],
930 ],
931 ],
932 'sortBy' => 'newest',
933 'showDivider' => true,
934 'divider' =>
935 [
936 'context' => 'automatedLatestContentLayout.divider',
937 'styles' =>
938 [
939 'block' =>
940 [
941 'backgroundColor' => 'transparent',
942 'padding' => '13px',
943 'borderStyle' => 'solid',
944 'borderWidth' => '3px',
945 'borderColor' => '#aaaaaa',
946 ],
947 ],
948 ],
949 'backgroundColor' => '#ffffff',
950 'backgroundColorAlternate' => '#eeeeee',
951 ],
952 'button' =>
953 [
954 'text' => 'Recover Cart',
955 'url' => '',
956 'styles' =>
957 [
958 'block' =>
959 [
960 'backgroundColor' => '#ffffff',
961 'borderColor' => '#343434',
962 'borderWidth' => '3px',
963 'borderRadius' => '0px',
964 'borderStyle' => 'solid',
965 'width' => '146px',
966 'lineHeight' => '37px',
967 'fontColor' => '#343434',
968 'fontFamily' => 'Arial',
969 'fontSize' => '18px',
970 'fontWeight' => 'bold',
971 'textAlign' => 'center',
972 ],
973 ],
974 'type' => 'button',
975 ],
976 'container' =>
977 [
978 ],
979 'divider' =>
980 [
981 'styles' =>
982 [
983 'block' =>
984 [
985 'backgroundColor' => 'transparent',
986 'padding' => '13px',
987 'borderStyle' => 'solid',
988 'borderWidth' => '3px',
989 'borderColor' => '#aaaaaa',
990 ],
991 ],
992 ],
993 'footer' =>
994 [
995 '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>',
996 'styles' =>
997 [
998 'block' =>
999 [
1000 'backgroundColor' => 'transparent',
1001 ],
1002 'text' =>
1003 [
1004 'fontColor' => '#222222',
1005 'fontFamily' => 'Arial',
1006 'fontSize' => '12px',
1007 'textAlign' => 'center',
1008 ],
1009 'link' =>
1010 [
1011 'fontColor' => '#6cb7d4',
1012 'textDecoration' => 'none',
1013 ],
1014 ],
1015 ],
1016 'posts' =>
1017 [
1018 'amount' => '10',
1019 'contentType' => 'post',
1020 'postStatus' => 'publish',
1021 'inclusionType' => 'include',
1022 'displayType' => 'excerpt',
1023 'titleFormat' => 'h1',
1024 'titleAlignment' => 'left',
1025 'titleIsLink' => false,
1026 'imageFullWidth' => false,
1027 'featuredImagePosition' => 'belowTitle',
1028 'showAuthor' => 'no',
1029 'authorPrecededBy' => 'Author:',
1030 'showCategories' => 'no',
1031 'categoriesPrecededBy' => 'Categories:',
1032 'readMoreType' => 'link',
1033 'readMoreText' => 'Read more',
1034 'readMoreButton' =>
1035 [
1036 'text' => 'Read more',
1037 'url' => '[postLink]',
1038 'context' => 'posts.readMoreButton',
1039 'styles' =>
1040 [
1041 'block' =>
1042 [
1043 'backgroundColor' => '#2ea1cd',
1044 'borderColor' => '#0074a2',
1045 'borderWidth' => '1px',
1046 'borderRadius' => '5px',
1047 'borderStyle' => 'solid',
1048 'width' => '180px',
1049 'lineHeight' => '40px',
1050 'fontColor' => '#ffffff',
1051 'fontFamily' => 'Verdana',
1052 'fontSize' => '18px',
1053 'fontWeight' => 'normal',
1054 'textAlign' => 'center',
1055 ],
1056 ],
1057 ],
1058 'sortBy' => 'newest',
1059 'showDivider' => true,
1060 'divider' =>
1061 [
1062 'context' => 'posts.divider',
1063 'styles' =>
1064 [
1065 'block' =>
1066 [
1067 'backgroundColor' => 'transparent',
1068 'padding' => '13px',
1069 'borderStyle' => 'solid',
1070 'borderWidth' => '3px',
1071 'borderColor' => '#aaaaaa',
1072 ],
1073 ],
1074 ],
1075 'backgroundColor' => '#ffffff',
1076 'backgroundColorAlternate' => '#eeeeee',
1077 ],
1078 'products' =>
1079 [
1080 'amount' => '10',
1081 'withLayout' => true,
1082 'contentType' => 'product',
1083 'postStatus' => 'publish',
1084 'inclusionType' => 'include',
1085 'displayType' => 'excerpt',
1086 'titleFormat' => 'h1',
1087 'titleAlignment' => 'left',
1088 'titleIsLink' => false,
1089 'imageFullWidth' => false,
1090 'featuredImagePosition' => 'alternate',
1091 'pricePosition' => 'below',
1092 'readMoreType' => 'link',
1093 'readMoreText' => 'Buy now',
1094 'readMoreButton' =>
1095 [
1096 'text' => 'Buy now',
1097 'url' => '[postLink]',
1098 'context' => 'posts.readMoreButton',
1099 'styles' =>
1100 [
1101 'block' =>
1102 [
1103 'backgroundColor' => '#2ea1cd',
1104 'borderColor' => '#0074a2',
1105 'borderWidth' => '1px',
1106 'borderRadius' => '5px',
1107 'borderStyle' => 'solid',
1108 'width' => '180px',
1109 'lineHeight' => '40px',
1110 'fontColor' => '#ffffff',
1111 'fontFamily' => 'Verdana',
1112 'fontSize' => '18px',
1113 'fontWeight' => 'normal',
1114 'textAlign' => 'center',
1115 ],
1116 ],
1117 ],
1118 'sortBy' => 'newest',
1119 'showDivider' => true,
1120 'divider' =>
1121 [
1122 'context' => 'posts.divider',
1123 'styles' =>
1124 [
1125 'block' =>
1126 [
1127 'backgroundColor' => 'transparent',
1128 'padding' => '13px',
1129 'borderStyle' => 'solid',
1130 'borderWidth' => '3px',
1131 'borderColor' => '#aaaaaa',
1132 ],
1133 ],
1134 ],
1135 'backgroundColor' => '#ffffff',
1136 'backgroundColorAlternate' => '#eeeeee',
1137 ],
1138 'social' =>
1139 [
1140 'iconSet' => 'official',
1141 'icons' =>
1142 [
1143 0 =>
1144 [
1145 'type' => 'socialIcon',
1146 'iconType' => 'facebook',
1147 'link' => 'http://www.facebook.com',
1148 'image' => $this->social_icon_url . '/11-official/Facebook.png',
1149 'height' => '32px',
1150 'width' => '32px',
1151 'text' => 'Facebook',
1152 ],
1153 1 =>
1154 [
1155 'type' => 'socialIcon',
1156 'iconType' => 'twitter',
1157 'link' => 'http://www.twitter.com',
1158 'image' => $this->social_icon_url . '/11-official/X.png',
1159 'height' => '32px',
1160 'width' => '32px',
1161 'text' => 'Twitter',
1162 ],
1163 ],
1164 ],
1165 'spacer' =>
1166 [
1167 'styles' =>
1168 [
1169 'block' =>
1170 [
1171 'backgroundColor' => 'transparent',
1172 'height' => '40px',
1173 ],
1174 ],
1175 ],
1176 'header' =>
1177 [
1178 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
1179 'styles' =>
1180 [
1181 'block' =>
1182 [
1183 'backgroundColor' => 'transparent',
1184 ],
1185 'text' =>
1186 [
1187 'fontColor' => '#222222',
1188 'fontFamily' => 'Arial',
1189 'fontSize' => '12px',
1190 'textAlign' => 'center',
1191 ],
1192 'link' =>
1193 [
1194 'fontColor' => '#6cb7d4',
1195 'textDecoration' => 'underline',
1196 ],
1197 ],
1198 ],
1199 'woocommerceHeading' =>
1200 [
1201 'contents' =>
1202 [
1203 'new_account' => __('New Order: #0001', 'mailpoet'),
1204 'processing_order' => __('Thank you for your order', 'mailpoet'),
1205 'completed_order' => __('Thanks for shopping with us', 'mailpoet'),
1206 'customer_note' => __('A note has been added to your order', 'mailpoet'),
1207 ],
1208 ],
1209 ],
1210 ];
1211 }
1212 }
1213