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 / College.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
College.php
1151 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 College {
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/college';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("College", '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' => '#eeeeee',
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' => null,
117 'display' => 'scale',
118 ],
119 'styles' =>
120 [
121 'block' =>
122 [
123 'backgroundColor' => '#eeeeee',
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' => 'image',
150 'link' => '',
151 'src' => $this->template_image_url . '/College-Logo.png',
152 'alt' => 'College-Logo',
153 'fullWidth' => false,
154 'width' => '106px',
155 'height' => '652px',
156 'styles' =>
157 [
158 'block' =>
159 [
160 'textAlign' => 'left',
161 ],
162 ],
163 ],
164 ],
165 ],
166 1 =>
167 [
168 'type' => 'container',
169 'columnLayout' => false,
170 'orientation' => 'vertical',
171 'image' =>
172 [
173 'src' => null,
174 'display' => 'scale',
175 ],
176 'styles' =>
177 [
178 'block' =>
179 [
180 'backgroundColor' => 'transparent',
181 ],
182 ],
183 'blocks' =>
184 [
185 0 =>
186 [
187 'type' => 'spacer',
188 'styles' =>
189 [
190 'block' =>
191 [
192 'backgroundColor' => 'transparent',
193 'height' => '36px',
194 ],
195 ],
196 ],
197 1 =>
198 [
199 'type' => 'social',
200 'iconSet' => 'official',
201 'icons' =>
202 [
203 0 =>
204 [
205 'type' => 'socialIcon',
206 'iconType' => 'facebook',
207 'link' => 'http://www.facebook.com',
208 'image' => $this->social_icon_url . '/11-official/Facebook.png',
209 'height' => '32px',
210 'width' => '32px',
211 'text' => 'Facebook',
212 ],
213 1 =>
214 [
215 'type' => 'socialIcon',
216 'iconType' => 'twitter',
217 'link' => 'http://www.twitter.com',
218 'image' => $this->social_icon_url . '/11-official/X.png',
219 'height' => '32px',
220 'width' => '32px',
221 'text' => 'Twitter',
222 ],
223 2 =>
224 [
225 'type' => 'socialIcon',
226 'iconType' => 'instagram',
227 'link' => 'http://instagram.com',
228 'image' => $this->social_icon_url . '/11-official/Instagram.png',
229 'height' => '32px',
230 'width' => '32px',
231 'text' => 'Instagram',
232 ],
233 3 =>
234 [
235 'type' => 'socialIcon',
236 'iconType' => 'youtube',
237 'link' => 'http://www.youtube.com',
238 'image' => $this->social_icon_url . '/11-official/Youtube.png',
239 'height' => '32px',
240 'width' => '32px',
241 'text' => 'Youtube',
242 ],
243 ],
244 ],
245 ],
246 ],
247 2 =>
248 [
249 'type' => 'container',
250 'columnLayout' => false,
251 'orientation' => 'vertical',
252 'image' =>
253 [
254 'src' => null,
255 'display' => 'scale',
256 ],
257 'styles' =>
258 [
259 'block' =>
260 [
261 'backgroundColor' => 'transparent',
262 ],
263 ],
264 'blocks' =>
265 [
266 0 =>
267 [
268 'type' => 'spacer',
269 'styles' =>
270 [
271 'block' =>
272 [
273 'backgroundColor' => 'transparent',
274 'height' => '33px',
275 ],
276 ],
277 ],
278 1 =>
279 [
280 'type' => 'header',
281 'text' => '<p><a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a></p>',
282 'styles' =>
283 [
284 'block' =>
285 [
286 'backgroundColor' => 'transparent',
287 ],
288 'text' =>
289 [
290 'fontColor' => '#222222',
291 'fontFamily' => 'Arial',
292 'fontSize' => '12px',
293 'textAlign' => 'right',
294 ],
295 'link' =>
296 [
297 'fontColor' => '#6cb7d4',
298 'textDecoration' => 'underline',
299 ],
300 ],
301 ],
302 ],
303 ],
304 ],
305 ],
306 2 =>
307 [
308 'type' => 'container',
309 'columnLayout' => false,
310 'orientation' => 'horizontal',
311 'image' =>
312 [
313 'src' => $this->template_image_url . '/College-Header.jpg',
314 'display' => 'scale',
315 ],
316 'styles' =>
317 [
318 'block' =>
319 [
320 'backgroundColor' => '#333333',
321 ],
322 ],
323 'blocks' =>
324 [
325 0 =>
326 [
327 'type' => 'container',
328 'columnLayout' => false,
329 'orientation' => 'vertical',
330 'image' =>
331 [
332 'src' => null,
333 'display' => 'scale',
334 ],
335 'styles' =>
336 [
337 'block' =>
338 [
339 'backgroundColor' => 'transparent',
340 ],
341 ],
342 'blocks' =>
343 [
344 0 =>
345 [
346 'type' => 'spacer',
347 'styles' =>
348 [
349 'block' =>
350 [
351 'backgroundColor' => 'transparent',
352 'height' => '60px',
353 ],
354 ],
355 ],
356 1 =>
357 [
358 'type' => 'text',
359 'text' => '<p style="text-align: left;"><span style="color: #ffcc00;"><strong>S U M M E R&nbsp; &nbsp;E D I T I O N</strong></span></p>
360 <h1 style="text-align: left;"><span style="color: #ffffff;">Graduation Day is Coming</span></h1>
361 <p style="text-align: left;"><span style="color: #ffffff;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce dapibus iaculis risus ut tincidunt. Integer gravida mauris erat, vehicula blandit velit ultrices ut.&nbsp;</span></span></p>',
362 ],
363 2 =>
364 [
365 'type' => 'spacer',
366 'styles' =>
367 [
368 'block' =>
369 [
370 'backgroundColor' => 'transparent',
371 'height' => '35px',
372 ],
373 ],
374 ],
375 ],
376 ],
377 ],
378 ],
379 3 =>
380 [
381 'type' => 'container',
382 'columnLayout' => '2_1',
383 'orientation' => 'horizontal',
384 'image' =>
385 [
386 'src' => null,
387 'display' => 'scale',
388 ],
389 'styles' =>
390 [
391 'block' =>
392 [
393 'backgroundColor' => 'transparent',
394 ],
395 ],
396 'blocks' =>
397 [
398 0 =>
399 [
400 'type' => 'container',
401 'columnLayout' => false,
402 'orientation' => 'vertical',
403 'image' =>
404 [
405 'src' => null,
406 'display' => 'scale',
407 ],
408 'styles' =>
409 [
410 'block' =>
411 [
412 'backgroundColor' => 'transparent',
413 ],
414 ],
415 'blocks' =>
416 [
417 0 =>
418 [
419 'type' => 'spacer',
420 'styles' =>
421 [
422 'block' =>
423 [
424 'backgroundColor' => 'transparent',
425 'height' => '54px',
426 ],
427 ],
428 ],
429 1 =>
430 [
431 'type' => 'text',
432 'text' => '<p style="text-align: left;"><span style="color: #999999;"><strong>H E A D M A S T E R \' S&nbsp; &nbsp;B L O G</strong></span></p>
433 <h2 style="text-align: left;"><strong><span style="color: #333333;">Your hard work pays off in the future to come</span></strong></h2>
434 <p></p>',
435 ],
436 2 =>
437 [
438 'type' => 'divider',
439 'styles' =>
440 [
441 'block' =>
442 [
443 'backgroundColor' => 'transparent',
444 'padding' => '18.5px',
445 'borderStyle' => 'solid',
446 'borderWidth' => '2px',
447 'borderColor' => '#ffcc00',
448 ],
449 ],
450 ],
451 3 =>
452 [
453 'type' => 'text',
454 'text' => '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur purus quam, semper eget nisl at, pretium fermentum ligula. Ut augue elit, congue non nisl eget, venenatis ornare ante. Aliquam erat volutpat. Maecenas facilisis eget risus vel scelerisque.</p>
455 <p></p>
456 <p>Etiam eros arcu, vestibulum at iaculis ut, iaculis nec est. Ut ut malesuada purus. Etiam sed accumsan eros, eu aliquam nisl. Nam faucibus sit amet felis at euismod. Sed efficitur varius tincidunt. Curabitur varius, nunc id interdum sodales, felis purus congue nulla, at semper orci est id mauris. Ut euismod vel dui sed mollis. Aliquam vestibulum id leo eu tristique. Etiam sit amet lacus vitae mi dignissim iaculis id ac nulla.</p>
457 <p></p>',
458 ],
459 4 =>
460 [
461 'type' => 'image',
462 'link' => '',
463 'src' => $this->template_image_url . '/College-Image.jpg',
464 'alt' => 'College-Image',
465 'fullWidth' => false,
466 'width' => '1200px',
467 'height' => '800px',
468 'styles' =>
469 [
470 'block' =>
471 [
472 'textAlign' => 'center',
473 ],
474 ],
475 ],
476 5 =>
477 [
478 'type' => 'text',
479 'text' => '<p></p>
480 <p>Praesent mi lorem, varius sit amet mattis at, sollicitudin ac enim. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam rhoncus tellus eleifend, accumsan magna in, imperdiet mauris. Cras a justo in lectus semper fermentum. Integer porta vel risus a varius. Aliquam nec nulla dui. Nulla congue ornare fringilla.</p>
481 <p></p>
482 <p>Nulla gravida interdum velit, nec pretium lacus placerat vel. Curabitur vitae arcu condimentum, iaculis nisl ac, viverra augue.</p>
483 <p></p>
484 <p>Etiam tincidunt justo quam, ac suscipit lectus hendrerit ac.</p>',
485 ],
486 ],
487 ],
488 1 =>
489 [
490 'type' => 'container',
491 'columnLayout' => false,
492 'orientation' => 'vertical',
493 'image' =>
494 [
495 'src' => null,
496 'display' => 'scale',
497 ],
498 'styles' =>
499 [
500 'block' =>
501 [
502 'backgroundColor' => 'transparent',
503 ],
504 ],
505 'blocks' =>
506 [
507 0 =>
508 [
509 'type' => 'image',
510 'link' => '',
511 'src' => $this->template_image_url . '/College-Avatar.jpg',
512 'alt' => 'College-Avatar',
513 'fullWidth' => true,
514 'width' => '500px',
515 'height' => '500px',
516 'styles' =>
517 [
518 'block' =>
519 [
520 'textAlign' => 'center',
521 ],
522 ],
523 ],
524 1 =>
525 [
526 'type' => 'text',
527 'text' => '<p></p>
528 <p></p>
529 <p><strong>Mr George Chalk</strong></p>
530 <p>Headmaster &amp; Director</p>',
531 ],
532 2 =>
533 [
534 'type' => 'spacer',
535 'styles' =>
536 [
537 'block' =>
538 [
539 'backgroundColor' => 'transparent',
540 'height' => '44px',
541 ],
542 ],
543 ],
544 3 =>
545 [
546 'type' => 'text',
547 'text' => '<p><strong>Need some tips and advice?&nbsp;</strong></p>
548 <p>Here\'s the latest updates from our blog:</p>
549 <p></p>
550 <p><a href="http://mailpoet-sg.com">7 ways to destress before an exam even starts</a></p>
551 <p></p>
552 <p><a href="http://mailpoet-sg.com">Focussing on the right content is key to being successful</a></p>
553 <p></p>
554 <p><a href="http://mailpoet-sg.com">Getting a degree is only the start of the battle</a></p>',
555 ],
556 ],
557 ],
558 ],
559 ],
560 4 =>
561 [
562 'type' => 'container',
563 'columnLayout' => false,
564 'orientation' => 'horizontal',
565 'image' =>
566 [
567 'src' => null,
568 'display' => 'scale',
569 ],
570 'styles' =>
571 [
572 'block' =>
573 [
574 'backgroundColor' => 'transparent',
575 ],
576 ],
577 'blocks' =>
578 [
579 0 =>
580 [
581 'type' => 'container',
582 'columnLayout' => false,
583 'orientation' => 'vertical',
584 'image' =>
585 [
586 'src' => null,
587 'display' => 'scale',
588 ],
589 'styles' =>
590 [
591 'block' =>
592 [
593 'backgroundColor' => 'transparent',
594 ],
595 ],
596 'blocks' =>
597 [
598 0 =>
599 [
600 'type' => 'spacer',
601 'styles' =>
602 [
603 'block' =>
604 [
605 'backgroundColor' => 'transparent',
606 'height' => '20px',
607 ],
608 ],
609 ],
610 ],
611 ],
612 ],
613 ],
614 5 =>
615 [
616 'type' => 'container',
617 'columnLayout' => '2_1',
618 'orientation' => 'horizontal',
619 'image' =>
620 [
621 'src' => null,
622 'display' => 'scale',
623 ],
624 'styles' =>
625 [
626 'block' =>
627 [
628 'backgroundColor' => '#eeeeee',
629 ],
630 ],
631 'blocks' =>
632 [
633 0 =>
634 [
635 'type' => 'container',
636 'columnLayout' => false,
637 'orientation' => 'vertical',
638 'image' =>
639 [
640 'src' => null,
641 'display' => 'scale',
642 ],
643 'styles' =>
644 [
645 'block' =>
646 [
647 'backgroundColor' => 'transparent',
648 ],
649 ],
650 'blocks' =>
651 [
652 0 =>
653 [
654 'type' => 'spacer',
655 'styles' =>
656 [
657 'block' =>
658 [
659 'backgroundColor' => 'transparent',
660 'height' => '35px',
661 ],
662 ],
663 ],
664 1 =>
665 [
666 'type' => 'social',
667 'iconSet' => 'official',
668 'icons' =>
669 [
670 0 =>
671 [
672 'type' => 'socialIcon',
673 'iconType' => 'facebook',
674 'link' => 'http://www.facebook.com',
675 'image' => $this->social_icon_url . '/11-official/Facebook.png',
676 'height' => '32px',
677 'width' => '32px',
678 'text' => 'Facebook',
679 ],
680 1 =>
681 [
682 'type' => 'socialIcon',
683 'iconType' => 'twitter',
684 'link' => 'http://www.twitter.com',
685 'image' => $this->social_icon_url . '/11-official/X.png',
686 'height' => '32px',
687 'width' => '32px',
688 'text' => 'Twitter',
689 ],
690 2 =>
691 [
692 'type' => 'socialIcon',
693 'iconType' => 'instagram',
694 'link' => 'http://instagram.com',
695 'image' => $this->social_icon_url . '/11-official/Instagram.png',
696 'height' => '32px',
697 'width' => '32px',
698 'text' => 'Instagram',
699 ],
700 3 =>
701 [
702 'type' => 'socialIcon',
703 'iconType' => 'youtube',
704 'link' => 'http://www.youtube.com',
705 'image' => $this->social_icon_url . '/11-official/Youtube.png',
706 'height' => '32px',
707 'width' => '32px',
708 'text' => 'Youtube',
709 ],
710 ],
711 ],
712 2 =>
713 [
714 'type' => 'text',
715 'text' => '<p style="text-align: center;"><span style="color: #ffcc00;"><strong></strong></span><a href="[link:subscription_unsubscribe_url]">' . __("Unsubscribe", 'mailpoet') . '</a><span>&nbsp;|&nbsp;</span><a href="[link:subscription_manage_url]">' . __("Manage your subscription", 'mailpoet') . '</a><br /><span>' . __("Add your postal address here!", 'mailpoet') . '</span></p>',
716 ],
717 ],
718 ],
719 1 =>
720 [
721 'type' => 'container',
722 'columnLayout' => false,
723 'orientation' => 'vertical',
724 'image' =>
725 [
726 'src' => null,
727 'display' => 'scale',
728 ],
729 'styles' =>
730 [
731 'block' =>
732 [
733 'backgroundColor' => 'transparent',
734 ],
735 ],
736 'blocks' =>
737 [
738 0 =>
739 [
740 'type' => 'spacer',
741 'styles' =>
742 [
743 'block' =>
744 [
745 'backgroundColor' => 'transparent',
746 'height' => '20px',
747 ],
748 ],
749 ],
750 1 =>
751 [
752 'type' => 'image',
753 'link' => '',
754 'src' => $this->template_image_url . '/College-Logo.png',
755 'alt' => 'College-Logo',
756 'fullWidth' => false,
757 'width' => '106px',
758 'height' => '652px',
759 'styles' =>
760 [
761 'block' =>
762 [
763 'textAlign' => 'center',
764 ],
765 ],
766 ],
767 ],
768 ],
769 ],
770 ],
771 ],
772 ],
773 'globalStyles' =>
774 [
775 'text' =>
776 [
777 'fontColor' => '#000000',
778 'fontFamily' => 'Source Sans Pro',
779 'fontSize' => '14px',
780 ],
781 'h1' =>
782 [
783 'fontColor' => '#111111',
784 'fontFamily' => 'Playfair Display',
785 'fontSize' => '40px',
786 ],
787 'h2' =>
788 [
789 'fontColor' => '#222222',
790 'fontFamily' => 'Playfair Display',
791 'fontSize' => '30px',
792 ],
793 'h3' =>
794 [
795 'fontColor' => '#333333',
796 'fontFamily' => 'Open Sans',
797 'fontSize' => '24px',
798 ],
799 'link' =>
800 [
801 'fontColor' => '#447c9d',
802 'textDecoration' => 'underline',
803 ],
804 'wrapper' =>
805 [
806 'backgroundColor' => '#ffffff',
807 ],
808 'body' =>
809 [
810 'backgroundColor' => '#eeeeee',
811 ],
812 ],
813 'blockDefaults' =>
814 [
815 'automatedLatestContent' =>
816 [
817 'amount' => '5',
818 'withLayout' => false,
819 'contentType' => 'post',
820 'inclusionType' => 'include',
821 'displayType' => 'excerpt',
822 'titleFormat' => 'h1',
823 'titleAlignment' => 'left',
824 'titleIsLink' => false,
825 'imageFullWidth' => false,
826 'featuredImagePosition' => 'belowTitle',
827 'showAuthor' => 'no',
828 'authorPrecededBy' => 'Author:',
829 'showCategories' => 'no',
830 'categoriesPrecededBy' => 'Categories:',
831 'readMoreType' => 'button',
832 'readMoreText' => 'Read more',
833 'readMoreButton' =>
834 [
835 'text' => 'Read more',
836 'url' => '[postLink]',
837 'context' => 'automatedLatestContent.readMoreButton',
838 'styles' =>
839 [
840 'block' =>
841 [
842 'backgroundColor' => '#2ea1cd',
843 'borderColor' => '#0074a2',
844 'borderWidth' => '1px',
845 'borderRadius' => '5px',
846 'borderStyle' => 'solid',
847 'width' => '180px',
848 'lineHeight' => '40px',
849 'fontColor' => '#ffffff',
850 'fontFamily' => 'Verdana',
851 'fontSize' => '18px',
852 'fontWeight' => 'normal',
853 'textAlign' => 'center',
854 ],
855 ],
856 ],
857 'sortBy' => 'newest',
858 'showDivider' => true,
859 'divider' =>
860 [
861 'context' => 'automatedLatestContent.divider',
862 'styles' =>
863 [
864 'block' =>
865 [
866 'backgroundColor' => 'transparent',
867 'padding' => '13px',
868 'borderStyle' => 'solid',
869 'borderWidth' => '3px',
870 'borderColor' => '#aaaaaa',
871 ],
872 ],
873 ],
874 'backgroundColor' => '#ffffff',
875 'backgroundColorAlternate' => '#eeeeee',
876 ],
877 'automatedLatestContentLayout' =>
878 [
879 'amount' => '5',
880 'withLayout' => true,
881 'contentType' => 'post',
882 'inclusionType' => 'include',
883 'displayType' => 'excerpt',
884 'titleFormat' => 'h1',
885 'titleAlignment' => 'left',
886 'titleIsLink' => false,
887 'imageFullWidth' => false,
888 'featuredImagePosition' => 'alternate',
889 'showAuthor' => 'no',
890 'authorPrecededBy' => 'Author:',
891 'showCategories' => 'no',
892 'categoriesPrecededBy' => 'Categories:',
893 'readMoreType' => 'button',
894 'readMoreText' => 'Read more',
895 'readMoreButton' =>
896 [
897 'text' => 'Read more',
898 'url' => '[postLink]',
899 'context' => 'automatedLatestContentLayout.readMoreButton',
900 'styles' =>
901 [
902 'block' =>
903 [
904 'backgroundColor' => '#2ea1cd',
905 'borderColor' => '#0074a2',
906 'borderWidth' => '1px',
907 'borderRadius' => '5px',
908 'borderStyle' => 'solid',
909 'width' => '180px',
910 'lineHeight' => '40px',
911 'fontColor' => '#ffffff',
912 'fontFamily' => 'Verdana',
913 'fontSize' => '18px',
914 'fontWeight' => 'normal',
915 'textAlign' => 'center',
916 ],
917 ],
918 ],
919 'sortBy' => 'newest',
920 'showDivider' => true,
921 'divider' =>
922 [
923 'context' => 'automatedLatestContentLayout.divider',
924 'styles' =>
925 [
926 'block' =>
927 [
928 'backgroundColor' => 'transparent',
929 'padding' => '13px',
930 'borderStyle' => 'solid',
931 'borderWidth' => '3px',
932 'borderColor' => '#aaaaaa',
933 ],
934 ],
935 ],
936 'backgroundColor' => '#ffffff',
937 'backgroundColorAlternate' => '#eeeeee',
938 ],
939 'button' =>
940 [
941 'text' => 'Button',
942 'url' => '',
943 'styles' =>
944 [
945 'block' =>
946 [
947 'backgroundColor' => '#2ea1cd',
948 'borderColor' => '#0074a2',
949 'borderWidth' => '1px',
950 'borderRadius' => '5px',
951 'borderStyle' => 'solid',
952 'width' => '180px',
953 'lineHeight' => '40px',
954 'fontColor' => '#ffffff',
955 'fontFamily' => 'Verdana',
956 'fontSize' => '18px',
957 'fontWeight' => 'normal',
958 'textAlign' => 'center',
959 ],
960 ],
961 ],
962 'divider' =>
963 [
964 'styles' =>
965 [
966 'block' =>
967 [
968 'backgroundColor' => 'transparent',
969 'padding' => '18.5px',
970 'borderStyle' => 'solid',
971 'borderWidth' => '2px',
972 'borderColor' => '#ffcc00',
973 ],
974 ],
975 'type' => 'divider',
976 ],
977 'footer' =>
978 [
979 '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>',
980 'styles' =>
981 [
982 'block' =>
983 [
984 'backgroundColor' => 'transparent',
985 ],
986 'text' =>
987 [
988 'fontColor' => '#222222',
989 'fontFamily' => 'Arial',
990 'fontSize' => '12px',
991 'textAlign' => 'center',
992 ],
993 'link' =>
994 [
995 'fontColor' => '#6cb7d4',
996 'textDecoration' => 'none',
997 ],
998 ],
999 ],
1000 'posts' =>
1001 [
1002 'amount' => '10',
1003 'withLayout' => true,
1004 'contentType' => 'post',
1005 'postStatus' => 'publish',
1006 'inclusionType' => 'include',
1007 'displayType' => 'excerpt',
1008 'titleFormat' => 'h1',
1009 'titleAlignment' => 'left',
1010 'titleIsLink' => false,
1011 'imageFullWidth' => false,
1012 'featuredImagePosition' => 'alternate',
1013 'showAuthor' => 'no',
1014 'authorPrecededBy' => 'Author:',
1015 'showCategories' => 'no',
1016 'categoriesPrecededBy' => 'Categories:',
1017 'readMoreType' => 'link',
1018 'readMoreText' => 'Read more',
1019 'readMoreButton' =>
1020 [
1021 'text' => 'Read more',
1022 'url' => '[postLink]',
1023 'context' => 'posts.readMoreButton',
1024 'styles' =>
1025 [
1026 'block' =>
1027 [
1028 'backgroundColor' => '#2ea1cd',
1029 'borderColor' => '#0074a2',
1030 'borderWidth' => '1px',
1031 'borderRadius' => '5px',
1032 'borderStyle' => 'solid',
1033 'width' => '180px',
1034 'lineHeight' => '40px',
1035 'fontColor' => '#ffffff',
1036 'fontFamily' => 'Verdana',
1037 'fontSize' => '18px',
1038 'fontWeight' => 'normal',
1039 'textAlign' => 'center',
1040 ],
1041 ],
1042 ],
1043 'sortBy' => 'newest',
1044 'showDivider' => true,
1045 'divider' =>
1046 [
1047 'context' => 'posts.divider',
1048 'styles' =>
1049 [
1050 'block' =>
1051 [
1052 'backgroundColor' => 'transparent',
1053 'padding' => '13px',
1054 'borderStyle' => 'solid',
1055 'borderWidth' => '3px',
1056 'borderColor' => '#aaaaaa',
1057 ],
1058 ],
1059 ],
1060 'backgroundColor' => '#ffffff',
1061 'backgroundColorAlternate' => '#eeeeee',
1062 ],
1063 'social' =>
1064 [
1065 'iconSet' => 'official',
1066 'icons' =>
1067 [
1068 0 =>
1069 [
1070 'type' => 'socialIcon',
1071 'iconType' => 'facebook',
1072 'link' => 'http://www.facebook.com',
1073 'image' => $this->social_icon_url . '/11-official/Facebook.png',
1074 'height' => '32px',
1075 'width' => '32px',
1076 'text' => 'Facebook',
1077 ],
1078 1 =>
1079 [
1080 'type' => 'socialIcon',
1081 'iconType' => 'twitter',
1082 'link' => 'http://www.twitter.com',
1083 'image' => $this->social_icon_url . '/11-official/X.png',
1084 'height' => '32px',
1085 'width' => '32px',
1086 'text' => 'Twitter',
1087 ],
1088 2 =>
1089 [
1090 'type' => 'socialIcon',
1091 'iconType' => 'instagram',
1092 'link' => 'http://instagram.com',
1093 'image' => $this->social_icon_url . '/11-official/Instagram.png',
1094 'height' => '32px',
1095 'width' => '32px',
1096 'text' => 'Instagram',
1097 ],
1098 3 =>
1099 [
1100 'type' => 'socialIcon',
1101 'iconType' => 'youtube',
1102 'link' => 'http://www.youtube.com',
1103 'image' => $this->social_icon_url . '/11-official/Youtube.png',
1104 'height' => '32px',
1105 'width' => '32px',
1106 'text' => 'Youtube',
1107 ],
1108 ],
1109 'type' => 'social',
1110 ],
1111 'spacer' =>
1112 [
1113 'styles' =>
1114 [
1115 'block' =>
1116 [
1117 'backgroundColor' => 'transparent',
1118 'height' => '20px',
1119 ],
1120 ],
1121 'type' => 'spacer',
1122 ],
1123 'header' =>
1124 [
1125 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
1126 'styles' =>
1127 [
1128 'block' =>
1129 [
1130 'backgroundColor' => 'transparent',
1131 ],
1132 'text' =>
1133 [
1134 'fontColor' => '#222222',
1135 'fontFamily' => 'Arial',
1136 'fontSize' => '12px',
1137 'textAlign' => 'right',
1138 ],
1139 'link' =>
1140 [
1141 'fontColor' => '#6cb7d4',
1142 'textDecoration' => 'underline',
1143 ],
1144 ],
1145 'type' => 'header',
1146 ],
1147 ],
1148 ];
1149 }
1150 }
1151