PluginProbe
Post Grid Gutenberg Blocks – PostX / 1.2.2
Post Grid Gutenberg Blocks – PostX v1.2.2
5.0.39 5.0.38 5.0.37 5.0.36 5.0.35 5.0.34 5.0.33 5.0.32 5.0.31 5.0.30 5.0.29 5.0.28 5.0.27 5.0.26 5.0.25 5.0.23 5.0.24 5.0.22 5.0.21 5.0.20 5.0.19 5.0.18 5.0.17 2.1.1 2.1.2 All 237 releases
ultimate-post / blocks / Post_List_2.php

Post_List_2.php in Post Grid Gutenberg Blocks – PostX 1.2.2, at blocks/Post_List_2.php

2,376 lines 108.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace ULTP\blocks;
3
4 defined('ABSPATH') || exit;
5
6 class Post_List_2{
7
8 public function __construct() {
9 add_action('init', array($this, 'register'));
10 }
11
12 public function get_attributes($default = false){
13
14 $attributes = array(
15 'blockId' => [
16 'type' => 'string',
17 'default' => '',
18 ],
19 //--------------------------
20 // Query Setting
21 //--------------------------
22 'queryNumber' => [
23 'type' => 'string',
24 'default' => 5,
25 ],
26 'queryType' => [
27 'type' => 'string',
28 'default' => 'post'
29 ],
30 'queryTax' => [
31 'type' => 'string',
32 'default' => 'category'
33 ],
34 'queryCat' => [
35 'type' => 'string',
36 'default' => '[]',
37 'style' => [
38 (object)[
39 'depends' => [(object)['key' => 'queryTax','condition' => '==','value' => 'category']]
40 ],
41 ],
42 ],
43 'queryTag' => [
44 'type' => 'string',
45 'default' => '[]',
46 'style' => [
47 (object)[
48 'depends' => [(object)['key' => 'queryTax','condition' => '==','value' => 'tag']]
49 ],
50 ],
51 ],
52 'queryOrderBy' => [
53 'type' => 'string',
54 'default' => 'date',
55 ],
56 'metaKey' => [
57 'type' => 'string',
58 'default' => 'custom_meta_key',
59 'style' => [
60 (object)[
61 'depends' => [(object)['key' => 'queryOrderBy','condition' => '==','value' => 'meta_value_num']]
62 ],
63 ],
64 ],
65 'queryOrder' => [
66 'type' => 'string',
67 'default' => 'desc',
68 ],
69 'queryInclude' => [
70 'type' => 'string',
71 'default' => ''
72 ],
73 'queryExclude' => [
74 'type' => 'string',
75 'default' => ''
76 ],
77 'queryOffset' => [
78 'type' => 'string',
79 'default' => '0',
80 ],
81 //--------------------------
82 // General Setting
83 //--------------------------
84 'titleShow' => [
85 'type' => 'boolean',
86 'default' => true,
87 ],
88 'headingShow' => [
89 'type' => 'boolean',
90 'default' => true,
91 ],
92 'excerptShow' => [
93 'type' => 'boolean',
94 'default' => true
95 ],
96 'catShow' => [
97 'type' => 'boolean',
98 'default' => true,
99 ],
100 'metaShow' => [
101 'type' => 'boolean',
102 'default' => true,
103 ],
104 'showImage' => [
105 'type' => 'boolean',
106 'default' => true,
107 ],
108 'filterShow' => [
109 'type' => 'boolean',
110 'default' => false,
111 ],
112 'paginationShow' => [
113 'type' => 'boolean',
114 'default' => true,
115 ],
116 'readMore' => [
117 'type' => 'boolean',
118 'default' => true,
119 ],
120
121
122 //--------------------------
123 // Heading Setting/Style
124 //--------------------------
125 'headingText' => [
126 'type' => 'string',
127 'default' => 'Post List #2',
128 ],
129 'headingURL' => [
130 'type' => 'string',
131 'default' => '',
132 ],
133 'headingBtnText' => [
134 'type' => 'string',
135 'default' => 'View More',
136 'style' => [
137 (object)[
138 'depends' => [
139 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style11'],
140 ],
141 ],
142 ],
143 ],
144 'headingStyle' => [
145 'type' => 'string',
146 'default' => 'style9',
147 ],
148 'headingTag' => [
149 'type' => 'string',
150 'default' => 'h2',
151 ],
152 'headingAlign' => [
153 'type' => 'string',
154 'default' => 'left',
155 'style' => [(object)['selector' => '{{ULTP}} .ultp-heading-inner, {{ULTP}} .ultp-sub-heading-inner{ text-align:{{headingAlign}}; }']]
156 ],
157 'headingTypo' => [
158 'type' => 'object',
159 'default' => (object)['openTypography' => 1,'size' => (object)['lg' => '20', 'unit' => 'px'], 'height' => (object)['lg' => '', 'unit' => 'px'],'decoration' => 'none', 'transform' => 'uppercase', 'family'=>'','weight'=>'700'],
160 'style' => [(object)['selector' => '{{ULTP}} .ultp-heading-wrap .ultp-heading-inner']]
161 ],
162 'headingColor' => [
163 'type' => 'string',
164 'default' => '#0e1523',
165 'style' => [(object)['selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { color:{{headingColor}}; }']],
166 ],
167 'headingBorderBottomColor' => [
168 'type' => 'string',
169 'default' => '#0e1523',
170 'style' => [
171 (object)[
172 'depends' => [
173 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style3'],
174 ],
175 'selector'=>'{{ULTP}} .ultp-heading-inner { border-bottom-color:{{headingBorderBottomColor}}; }'
176 ],
177 (object)[
178 'depends' => [
179 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style4'],
180 ],
181 'selector'=>'{{ULTP}} .ultp-heading-inner { border-color:{{headingBorderBottomColor}}; }'
182 ],
183 (object)[
184 'depends' => [
185 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style6'],
186 ],
187 'selector'=>'{{ULTP}} .ultp-heading-inner span:before { background-color: {{headingBorderBottomColor}}; }'
188 ],
189 (object)[
190 'depends' => [
191 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style7'],
192 ],
193 'selector'=>'{{ULTP}} .ultp-heading-inner span:before { background-color: {{headingBorderBottomColor}}; }'
194 ],
195 (object)[
196 'depends' => [
197 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style8'],
198 ],
199 'selector'=>'{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor}}; }'
200 ],
201 (object)[
202 'depends' => [
203 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style9'],
204 ],
205 'selector'=>'{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor}}; }'
206 ],
207 (object)[
208 'depends' => [
209 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style10'],
210 ],
211 'selector'=>'{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor}}; }'
212 ],
213 (object)[
214 'depends' => [
215 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style13'],
216 ],
217 'selector'=>'{{ULTP}} .ultp-heading-inner { border-color:{{headingBorderBottomColor}}; }'
218 ],
219 (object)[
220 'depends' => [
221 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style14'],
222 ],
223 'selector'=>'{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor}}; }'
224 ],
225 (object)[
226 'depends' => [
227 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style15'],
228 ],
229 'selector'=>'{{ULTP}} .ultp-heading-inner span:before { background-color:{{headingBorderBottomColor}}; }'
230 ],
231 (object)[
232 'depends' => [
233 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style16'],
234 ],
235 'selector'=>'{{ULTP}} .ultp-heading-inner span:before { background-color:{{headingBorderBottomColor}}; }'
236 ],
237 (object)[
238 'depends' => [
239 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style17'],
240 ],
241 'selector'=>'{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor}}; }'
242 ],
243 (object)[
244 'depends' => [
245 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style18'],
246 ],
247 'selector'=>'{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor}}; }'
248 ],
249 (object)[
250 'depends' => [
251 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style19'],
252 ],
253 'selector'=>'{{ULTP}} .ultp-heading-inner:before { border-color:{{headingBorderBottomColor}}; }'
254 ],
255 ],
256 ],
257 'headingBorderBottomColor2' => [
258 'type' => 'string',
259 'default' => '#e5e5e5',
260 'style' => [
261 (object)[
262 'depends' => [
263 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style8'],
264 ],
265 'selector'=>'{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor2}}; }'
266 ],
267 (object)[
268 'depends' => [
269 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style10'],
270 ],
271 'selector'=>'{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor2}}; }'
272 ],
273 (object)[
274 'depends' => [
275 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style14'],
276 ],
277 'selector'=>'{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor2}}; }'
278 ],
279 (object)[
280 'depends' => [
281 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style19'],
282 ],
283 'selector'=>'{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor2}}; }'
284 ],
285 ],
286 ],
287 'headingBg' => [
288 'type' => 'string',
289 'default' => '#1740f5',
290 'style' => [
291 (object)[
292 'depends' => [
293 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style5'],
294 ],
295 'selector'=>'{{ULTP}} .ultp-heading-style5 .ultp-heading-inner span:before { border-color:{{headingBg}} transparent transparent; } {{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }'
296 ],
297 (object)[
298 'depends' => [
299 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style2'],
300 ],
301 'selector'=>'{{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }'
302 ],
303 (object)[
304 'depends' => [
305 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style3'],
306 ],
307 'selector'=>'{{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }'
308 ],
309 (object)[
310 'depends' => [
311 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style12'],
312 ],
313 'selector'=>'{{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }'
314 ],
315 (object)[
316 'depends' => [
317 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style13'],
318 ],
319 'selector'=>'{{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }'
320 ],
321 (object)[
322 'depends' => [
323 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style18'],
324 ],
325 'selector'=>'{{ULTP}} .ultp-heading-inner { background-color:{{headingBg}}; }'
326 ],
327 (object)[
328 'depends' => [
329 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style20'],
330 ],
331 'selector'=>'{{ULTP}} .ultp-heading-inner span:before { border-color:{{headingBg}} transparent transparent; } {{ULTP}} .ultp-heading-inner { background-color:{{headingBg}}; }'
332 ],
333 ],
334 ],
335 'headingBg2' => [
336 'type' => 'string',
337 'default' => '#e5e5e5',
338 'style' => [
339 (object)[
340 'depends' => [
341 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style12'],
342 ],
343 'selector'=>'{{ULTP}} .ultp-heading-inner { background-color:{{headingBg2}}; }'
344 ],
345 ],
346 ],
347 'headingBtnTypo' => [
348 'type' => 'object',
349 'default' => (object)['openTypography' => 1,'size' => (object)['lg' => '14', 'unit' => 'px'], 'height' => (object)['lg' => '', 'unit' => 'px'],'decoration' => 'none','family'=>''],
350 'style' => [
351 (object)[
352 'depends' => [
353 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style11'],
354 ],
355 'selector'=>'{{ULTP}} .ultp-heading-btn'
356 ],
357 ],
358 ],
359 'headingBtnColor' => [
360 'type' => 'string',
361 'default' => '#1740f5',
362 'style' => [
363 (object)[
364 'depends' => [
365 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style11'],
366 ],
367 'selector'=>'{{ULTP}} .ultp-heading-btn { color:{{headingBtnColor}}; } {{ULTP}} .ultp-heading-btn svg { fill:{{headingBtnColor}}; }'
368 ],
369 ],
370 ],
371 'headingBtnHoverColor' => [
372 'type' => 'string',
373 'default' => '#0a31da',
374 'style' => [
375 (object)[
376 'depends' => [
377 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style11'],
378 ],
379 'selector'=>'{{ULTP}} .ultp-heading-btn:hover { color:{{headingBtnHoverColor}}; } {{ULTP}} .ultp-heading-btn:hover svg { fill:{{headingBtnHoverColor}}; }'
380 ],
381 ],
382 ],
383
384 'headingBorder' => [
385 'type' => 'string',
386 'default' => '3',
387 'style' => [
388 (object)[
389 'depends' => [
390 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style3'],
391 ],
392 'selector'=>'{{ULTP}} .ultp-heading-inner { border-bottom-width:{{headingBorder}}px; }'
393 ],
394 (object)[
395 'depends' => [
396 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style4'],
397 ],
398 'selector'=>'{{ULTP}} .ultp-heading-inner { border-width:{{headingBorder}}px; }'
399 ],
400 (object)[
401 'depends' => [
402 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style6'],
403 ],
404 'selector'=>'{{ULTP}} .ultp-heading-inner span:before { width:{{headingBorder}}px; }'
405 ],
406 (object)[
407 'depends' => [
408 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style7'],
409 ],
410 'selector'=>'{{ULTP}} .ultp-heading-inner span:before { height:{{headingBorder}}px; }'
411 ],
412 (object)[
413 'depends' => [
414 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style8'],
415 ],
416 'selector'=>'{{ULTP}} .ultp-heading-inner:before, {{ULTP}} .ultp-heading-inner:after { height:{{headingBorder}}px; }'
417 ],
418 (object)[
419 'depends' => [
420 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style9'],
421 ],
422 'selector'=>'{{ULTP}} .ultp-heading-inner:before { height:{{headingBorder}}px; }'
423 ],
424 (object)[
425 'depends' => [
426 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style10'],
427 ],
428 'selector'=>'{{ULTP}} .ultp-heading-inner:before, {{ULTP}} .ultp-heading-inner:after { height:{{headingBorder}}px; }'
429 ],
430 (object)[
431 'depends' => [
432 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style13'],
433 ],
434 'selector'=>'{{ULTP}} .ultp-heading-inner { border-width:{{headingBorder}}px; }'
435 ],
436 (object)[
437 'depends' => [
438 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style14'],
439 ],
440 'selector'=>'{{ULTP}} .ultp-heading-inner:before, {{ULTP}} .ultp-heading-inner:after { height:{{headingBorder}}px; }'
441 ],
442 (object)[
443 'depends' => [
444 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style15'],
445 ],
446 'selector'=>'{{ULTP}} .ultp-heading-inner span:before { height:{{headingBorder}}px; }'
447 ],
448 (object)[
449 'depends' => [
450 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style16'],
451 ],
452 'selector'=>'{{ULTP}} .ultp-heading-inner span:before { height:{{headingBorder}}px; }'
453 ],
454 (object)[
455 'depends' => [
456 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style17'],
457 ],
458 'selector'=>'{{ULTP}} .ultp-heading-inner:before { height:{{headingBorder}}px; }'
459 ],
460 (object)[
461 'depends' => [
462 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style19'],
463 ],
464 'selector'=>'{{ULTP}} .ultp-heading-inner:after { width:{{headingBorder}}px; }'
465 ],
466 (object)[
467 'depends' => [
468 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style18'],
469 ],
470 'selector'=>'{{ULTP}} .ultp-heading-inner:after { width:{{headingBorder}}px; }'
471 ],
472 ],
473 ],
474 'headingSpacing' => [
475 'type' => 'object',
476 'default' => (object)['lg'=>30, 'unit'=>'px'],
477 'style' => [(object)['selector'=>'{{ULTP}} .ultp-heading-wrap {margin-top:0; margin-bottom:{{headingSpacing}}; }']]
478 ],
479
480
481 'headingRadius' => [
482 'type' => 'object',
483 'default' => (object)['lg' =>(object)['top' => '','bottom' => '','left' => '', 'right' => '', 'unit' =>'px']],
484 'style' => [
485 (object)[
486 'depends' => [
487 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style2'],
488 ],
489 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { border-radius:{{headingRadius}}; }'
490 ],
491 (object)[
492 'depends' => [
493 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style3'],
494 ],
495 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { border-radius:{{headingRadius}}; }'
496 ],
497 (object)[
498 'depends' => [
499 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style4'],
500 ],
501 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner { border-radius:{{headingRadius}}; }'
502 ],
503 (object)[
504 'depends' => [
505 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style5'],
506 ],
507 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { border-radius:{{headingRadius}}; }'
508 ],
509 (object)[
510 'depends' => [
511 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style12'],
512 ],
513 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner { border-radius:{{headingRadius}}; }'
514 ],
515 (object)[
516 'depends' => [
517 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style13'],
518 ],
519 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner { border-radius:{{headingRadius}}; }'
520 ],
521 (object)[
522 'depends' => [
523 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style18'],
524 ],
525 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner { border-radius:{{headingRadius}}; }'
526 ],
527 (object)[
528 'depends' => [
529 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style20'],
530 ],
531 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner { border-radius:{{headingRadius}}; }'
532 ],
533 ]
534 ],
535
536
537 'headingPadding' => [
538 'type' => 'object',
539 'default' => (object)['lg'=>'', 'unit'=>'px'],
540 'style' => [
541 (object)[
542 'depends' => [
543 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style2'],
544 ],
545 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }'
546 ],
547 (object)[
548 'depends' => [
549 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style3'],
550 ],
551 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }'
552 ],
553 (object)[
554 'depends' => [
555 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style4'],
556 ],
557 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }'
558 ],
559 (object)[
560 'depends' => [
561 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style5'],
562 ],
563 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }'
564 ],
565 (object)[
566 'depends' => [
567 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style6'],
568 ],
569 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }'
570 ],
571 (object)[
572 'depends' => [
573 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style12'],
574 ],
575 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }'
576 ],
577 (object)[
578 'depends' => [
579 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style13'],
580 ],
581 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }'
582 ],
583 (object)[
584 'depends' => [
585 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style18'],
586 ],
587 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }'
588 ],
589 (object)[
590 'depends' => [
591 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style19'],
592 ],
593 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }'
594 ],
595 (object)[
596 'depends' => [
597 (object)['key'=>'headingStyle','condition'=>'==','value'=>'style20'],
598 ],
599 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }'
600 ],
601 ]
602 ],
603 'subHeadingShow' => [
604 'type' => 'boolean',
605 'default' => false,
606 ],
607 'subHeadingText' => [
608 'type' => 'string',
609 'default' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer ut sem augue. Sed at felis ut enim dignissim sodales.',
610 'style' => [
611 (object)[
612 'depends' => [
613 (object)['key'=>'subHeadingShow','condition'=>'==','value'=>true],
614 ],
615 ],
616 ],
617 ],
618 'subHeadingTypo' => [
619 'type' => 'object',
620 'default' => (object)['openTypography'=>1,'size'=>(object)['lg'=>'16', 'unit'=>'px'], 'spacing'=>(object)[ 'lg'=>'0', 'unit'=>'px'], 'height'=>(object)[ 'lg'=>'27', 'unit'=>'px'],'decoration'=>'none','transform' => 'capitalize','family'=>'','weight'=>'500'],
621 'style' => [
622 (object)[
623 'depends' => [
624 (object)['key'=>'subHeadingShow','condition'=>'==','value'=>true],
625 ],
626 'selector'=>'{{ULTP}} .ultp-sub-heading div'
627 ],
628 ],
629 ],
630 'subHeadingColor' => [
631 'type' => 'string',
632 'default' => '#989898',
633 'style' => [
634 (object)[
635 'depends' => [
636 (object)['key'=>'subHeadingShow','condition'=>'==','value'=>true],
637 ],
638 'selector'=>'{{ULTP}} .ultp-sub-heading div{ color:{{subHeadingColor}}; }'
639 ],
640 ],
641 ],
642 'subHeadingSpacing' => [
643 'type' => 'object',
644 'default' => (object)['lg' =>(object)['unit' =>'px']],
645 'style' => [
646 (object)[
647 'depends' => [
648 (object)['key'=>'subHeadingShow','condition'=>'==','value'=>true],
649 ],
650 'selector'=>'{{ULTP}} div.ultp-sub-heading-inner{ margin:{{subHeadingSpacing}}; }'
651 ],
652 ],
653 ],
654
655
656 //--------------------------
657 // Title Setting/Style
658 //--------------------------
659 'titleTag' => [
660 'type' => 'string',
661 'default' => 'h3',
662 ],
663 'titlePosition' => [
664 'type' => 'boolean',
665 'default' => true,
666 ],
667 'titleColor' => [
668 'type' => 'string',
669 'default' => '#0e1523',
670 'style' => [
671 (object)[
672 'depends' => [
673 (object)['key'=>'titleShow','condition'=>'==','value'=>true],
674 ],
675 'selector'=>'{{ULTP}} .ultp-block-content .ultp-block-title a { color:{{titleColor}}; }'
676 ],
677 ],
678 ],
679 'titleHoverColor' => [
680 'type' => 'string',
681 'default' => '#828282',
682 'style' => [
683 (object)[
684 'depends' => [
685 (object)['key'=>'titleShow','condition'=>'==','value'=>true],
686 ],
687 'selector'=>'{{ULTP}} .ultp-block-content .ultp-block-title a:hover { color:{{titleHoverColor}}; }'
688 ],
689 ],
690 ],
691 'titleLgTypo' => [
692 'type' => 'object',
693 'default' => (object)['openTypography'=>1,'size'=>(object)['lg'=>'27', 'unit'=>'px'], 'spacing'=>(object)[ 'lg'=>'0', 'unit'=>'px'], 'height'=>(object)[ 'lg'=>'34', 'unit'=>'px'],'decoration'=>'none','transform' => 'capitalize','family'=>'','weight'=>'500'],
694 'style' => [
695 (object)[
696 'depends' => [
697 (object)['key'=>'titleShow','condition'=>'==','value'=>true],
698 ],
699 'selector'=>'{{ULTP}} .ultp-block-item:first-child .ultp-block-title, {{ULTP}} .ultp-block-item:first-child .ultp-block-title a'
700 ],
701 ],
702 ],
703 'titleTypo' => [
704 'type' => 'object',
705 'default' => (object)['openTypography'=>1,'size'=>(object)['lg'=>'18', 'unit'=>'px'], 'spacing'=>(object)[ 'lg'=>'0', 'unit'=>'px'], 'height'=>(object)['lg'=>'26', 'unit'=>'px'],'transform' => 'uppercase', 'decoration'=>'none','family'=>'','weight'=>'500'],
706 'style' => [
707 (object)[
708 'depends' => [
709 (object)['key'=>'titleShow','condition'=>'==','value'=>true],
710 ],
711 'selector'=>'{{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-title, {{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-title a'
712 ],
713 ],
714 ],
715 'titlePadding' => [
716 'type' => 'object',
717 'default' => (object)['lg'=>(object)['top'=>10,'bottom'=>5, 'unit'=>'px']],
718 'style' => [
719 (object)[
720 'depends' => [
721 (object)['key'=>'titleShow','condition'=>'==','value'=>true],
722 ],
723 'selector'=>'{{ULTP}} .ultp-block-content .ultp-block-title { padding:{{titlePadding}}; }'
724 ],
725 ],
726 ],
727
728 //--------------------------
729 // Content Setting/Style
730 //--------------------------
731
732 'varticalAlign' => [
733 'type' => 'string',
734 'default' => 'middle',
735 'style' => [
736 (object)[
737 'depends' => [
738 (object)['key'=>'varticalAlign','condition'=>'==','value'=>'top'],
739 ],
740 'selector'=>'{{ULTP}} .ultp-block-content-top .ultp-block-content { -ms-flex-item-align: flex-start;-ms-grid-row-align: flex-start;align-self: flex-start; }'
741 ],
742 (object)[
743 'depends' => [
744 (object)['key'=>'varticalAlign','condition'=>'==','value'=>'middle'],
745 ],
746 'selector'=>'{{ULTP}} .ultp-block-content-middle .ultp-block-content { -ms-flex-item-align: center;-ms-grid-row-align: center;align-self: center; }'
747 ],
748 (object)[
749 'depends' => [
750 (object)['key'=>'varticalAlign','condition'=>'==','value'=>'bottom'],
751 ],
752 'selector'=>'{{ULTP}} .ultp-block-content-bottom .ultp-block-content { -ms-flex-item-align: flex-end;-ms-grid-row-align: flex-end;align-self: flex-end; }'
753 ],
754 ],
755 ],
756
757 'showSmallExcerpt' => [
758 'type' => 'boolean',
759 'default'=> true,
760 ],
761 'showFullExcerpt' => [
762 'type' => 'boolean',
763 'default' => false,
764 ],
765 'excerptLimit' => [
766 'type' => 'string',
767 'default' => 20,
768 'style' => [
769 (object)[
770 'depends' => [
771 (object)['key'=>'showFullExcerpt','condition'=>'==','value'=>false],
772 ],
773 ],
774 ],
775 ],
776 'excerptColor' => [
777 'type' => 'string',
778 'default' => '#777',
779 'style' => [
780 (object)[
781 'depends' => [
782 (object)['key'=>'excerptShow','condition'=>'==','value'=>true],
783 ],
784 'selector'=>'{{ULTP}} .ultp-block-excerpt { color:{{excerptColor}}; }'
785 ],
786 ],
787 ],
788 'excerptTypo' => [
789 'type' => 'object',
790 'default' => (object)['openTypography' => 1,'size' => (object)['lg' =>14, 'unit' =>'px'],'height' => (object)['lg' =>20, 'unit' =>'px'], 'decoration' => 'none','family'=>''],
791 'style' => [
792 (object)[
793 'depends' => [
794 (object)['key'=>'excerptShow','condition'=>'==','value'=>true],
795 ],
796 'selector'=>'{{ULTP}} .ultp-block-excerpt'
797 ],
798 ],
799 ],
800 'excerptPadding' => [
801 'type' => 'object',
802 'default' => (object)['lg' =>(object)['top' => 5,'bottom' => '', 'unit' =>'px']],
803 'style' => [
804 (object)[
805 'depends' => [
806 (object)['key'=>'excerptShow','condition'=>'==','value'=>true],
807 ],
808 'selector'=>'{{ULTP}} .ultp-block-excerpt{ padding: {{excerptPadding}}; }'
809 ],
810 ],
811 ],
812
813 //--------------------------
814 // Category Setting/Style
815 //--------------------------
816 'showSmallCat' => [
817 'type' => 'boolean',
818 'default' => true,
819 ],
820 'catStyle' => [
821 'type' => 'string',
822 'default' => 'classic',
823 ],
824 'catPosition' => [
825 'type' => 'string',
826 'default' => 'aboveTitle',
827 ],
828 'catLineWidth' => [
829 'type' => 'object',
830 'default' => (object)['lg'=>'20'],
831 'style' => [
832 (object)[
833 'depends' => [
834 (object)['key'=>'catStyle','condition'=>'!=','value'=>'classic'],
835 ],
836 'selector' => '{{ULTP}} .ultp-category-borderRight .ultp-category-in:before, {{ULTP}} .ultp-category-borderBoth .ultp-category-in:before, {{ULTP}} .ultp-category-borderBoth .ultp-category-in:after, {{ULTP}} .ultp-category-borderLeft .ultp-category-in:before { width:{{catLineWidth}}px; }'
837 ],
838 ]
839 ],
840 'catLineSpacing' => [
841 'type' => 'object',
842 'default' => (object)['lg'=>'30'],
843 'style' => [
844 (object)[
845 'depends' => [
846 (object)['key'=>'catStyle','condition'=>'!=','value'=>'classic'],
847 ],
848 'selector' => '{{ULTP}} .ultp-category-borderBoth .ultp-category-in { padding-left: {{catLineSpacing}}px; padding-right: {{catLineSpacing}}px; }
849 {{ULTP}} .ultp-category-borderLeft .ultp-category-in { padding-left: {{catLineSpacing}}px; }
850 {{ULTP}} .ultp-category-borderRight .ultp-category-in { padding-right:{{catLineSpacing}}px; }'
851 ],
852 ]
853 ],
854 'catLineColor' => [
855 'type' => 'string',
856 'default' => '#828282',
857 'style' => [
858 (object)[
859 'depends' => [
860 (object)['key'=>'catStyle','condition'=>'!=','value'=>'classic'],
861 ],
862 'selector' => '{{ULTP}} .ultp-category-borderRight .ultp-category-in:before, {{ULTP}} .ultp-category-borderLeft .ultp-category-in:before, {{ULTP}} .ultp-category-borderBoth .ultp-category-in:after, {{ULTP}} .ultp-category-borderBoth .ultp-category-in:before { background:{{catLineColor}}; }'
863 ],
864 ]
865 ],
866 'catLineHoverColor' => [
867 'type' => 'string',
868 'default' => '#1740f5',
869 'style' => [
870 (object)[
871 'depends' => [
872 (object)['key'=>'catStyle','condition'=>'!=','value'=>'classic'],
873 ],
874 'selector' => '{{ULTP}} .ultp-category-borderBoth:hover .ultp-category-in:before, {{ULTP}} .ultp-category-borderBoth:hover .ultp-category-in:after, {{ULTP}} .ultp-category-borderLeft:hover .ultp-category-in:before, {{ULTP}} .ultp-category-borderRight:hover .ultp-category-in:before { background:{{catLineHoverColor}}; }'
875 ],
876 ]
877 ],
878 'catTypo' => [
879 'type' => 'object',
880 'default' => (object)['openTypography' => 1, 'size' => (object)['lg' =>14, 'unit' =>'px'], 'height' => (object)['lg' =>20, 'unit' =>'px'], 'spacing' => (object)['lg' =>0, 'unit' =>'px'], 'transform' => 'capitalize', 'weight' => '400', 'decoration' => 'none','family'=>'' ],
881 'style' => [
882 (object)[
883 'depends' => [
884 (object)['key'=>'catShow','condition'=>'==','value'=>true],
885 ],
886 'selector'=>'{{ULTP}} .ultp-category-grid a'
887 ],
888 ],
889 ],
890 'catColor' => [
891 'type' => 'string',
892 'default' => '#1740f5',
893 'style' => [
894 (object)[
895 'depends' => [
896 (object)['key'=>'catShow','condition'=>'==','value'=>true],
897 ],
898 'selector'=>'{{ULTP}} .ultp-category-grid a { color:{{catColor}}; }'
899 ],
900 ],
901 ],
902 'catBgColor' => [
903 'type' => 'object',
904 'default' => (object)['openColor' => 1,'type' => 'color', 'color' => ''],
905 'style' => [
906 (object)[
907 'depends' => [
908 (object)['key'=>'catShow','condition'=>'==','value'=>true],
909 ],
910 'selector'=>'{{ULTP}} .ultp-category-grid a'
911 ],
912 ],
913 ],
914 'catBorder' => [
915 'type' => 'object',
916 'default' => (object)['openBorder'=>0, 'width' => (object)[ 'top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid' ],
917 'style' => [
918 (object)[
919 'depends' => [
920 (object)['key'=>'catShow','condition'=>'==','value'=>true],
921 ],
922 'selector'=>'{{ULTP}} .ultp-category-grid a'
923 ],
924 ],
925 ],
926 'catRadius' => [
927 'type' => 'object',
928 'default' => (object)['lg' =>'', 'unit' =>'px'],
929 'style' => [
930 (object)[
931 'depends' => [
932 (object)['key'=>'catShow','condition'=>'==','value'=>true],
933 ],
934 'selector'=>'{{ULTP}} .ultp-category-grid a { border-radius:{{catRadius}}; }'
935 ],
936 ],
937 ],
938 'catHoverColor' => [
939 'type' => 'string',
940 'default' => '#828282',
941 'style' => [
942 (object)[
943 'depends' => [
944 (object)['key'=>'catShow','condition'=>'==','value'=>true],
945 ],
946 'selector'=>'{{ULTP}} .ultp-category-grid a:hover { color:{{catHoverColor}}; }'
947 ],
948 ],
949 ],
950 'catBgHoverColor' => [
951 'type' => 'object',
952 'default' => (object)['openColor' => 1, 'type' => 'color', 'color' => ''],
953 'style' => [
954 (object)[
955 'depends' => [
956 (object)['key'=>'catShow','condition'=>'==','value'=>true],
957 ],
958 'selector'=>'{{ULTP}} .ultp-category-grid a:hover'
959 ],
960 ],
961 ],
962 'catHoverBorder' => [
963 'type' => 'object',
964 'default' => (object)['openBorder'=>0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid'],
965 'style' => [
966 (object)[
967 'depends' => [
968 (object)['key'=>'catShow','condition'=>'==','value'=>true],
969 ],
970 'selector'=>'{{ULTP}} .ultp-category-grid a:hover'
971 ],
972 ],
973 ],
974 'catSacing' => [
975 'type' => 'object',
976 'default' => (object)['lg' =>(object)['top' => 5,'bottom' => 5,'left' => 0,'right' => 0, 'unit' =>'px']],
977 'style' => [
978 (object)[
979 'depends' => [
980 (object)['key'=>'catShow','condition'=>'==','value'=>true],
981 ],
982 'selector'=>'{{ULTP}} .ultp-category-grid { margin:{{catSacing}}; }'
983 ],
984 ],
985 ],
986 'catPadding' => [
987 'type' => 'object',
988 'default' => (object)['lg' =>(object)['top' => "0",'bottom' => "0",'left' => "0",'right' => "0", 'unit' =>'px']],
989 'style' => [
990 (object)[
991 'depends' => [
992 (object)['key'=>'catShow','condition'=>'==','value'=>true],
993 ],
994 'selector'=>'{{ULTP}} .ultp-category-grid a { padding:{{catPadding}}; }'
995 ],
996 ],
997 ],
998
999 //--------------------------
1000 // Meta Setting/Style
1001 //--------------------------
1002 'metaPosition' => [
1003 'type' => 'string',
1004 'default' => 'top',
1005 ],
1006 'metaStyle' => [
1007 'type' => 'string',
1008 'default' => 'icon',
1009 ],
1010 'metaSeparator' => [
1011 'type' => 'string',
1012 'default' => 'dot',
1013 ],
1014 'metaList' => [
1015 'type' => 'string',
1016 'default' => '["metaAuthor","metaDate","metaRead"]',
1017 ],
1018 'metaListSmall' => [
1019 'type' => 'string',
1020 'default' => '["metaAuthor","metaDate"]',
1021 ],
1022 'metaTypo' => [
1023 'type' => 'object',
1024 'default' => (object)['openTypography' => 1,'size' => (object)['lg' =>12, 'unit' =>'px'],'height' => (object)['lg' =>20, 'unit' =>'px'], 'decoration' => 'none','family'=>''],
1025 'style' => [
1026 (object)[
1027 'depends' => [
1028 (object)['key'=>'metaShow','condition'=>'==','value'=>true],
1029 ],
1030 'selector'=>'{{ULTP}} .ultp-block-meta span, {{ULTP}} .ultp-block-meta span a'
1031 ],
1032 ],
1033 ],
1034 'metaColor' => [
1035 'type' => 'string',
1036 'default' => '#989898',
1037 'style' => [
1038 (object)[
1039 'depends' => [
1040 (object)['key'=>'metaShow','condition'=>'==','value'=>true],
1041 ],
1042 'selector'=>'{{ULTP}} .ultp-block-meta span { color: {{metaColor}}; } {{ULTP}} .ultp-block-meta span svg { fill: {{metaColor}}; } {{ULTP}} .ultp-block-meta span a { color: {{metaColor}}; }{{ULTP}} .ultp-block-meta-dot span:after { background:{{metaColor}}; } {{ULTP}} .ultp-block-meta span:after { color:{{metaColor}}; }'
1043 ],
1044 ],
1045 ],
1046 'metaHoverColor' => [
1047 'type' => 'string',
1048 'default' => '#000',
1049 'style' => [
1050 (object)[
1051 'depends' => [
1052 (object)['key'=>'metaShow','condition'=>'==','value'=>true],
1053 ],
1054 'selector'=>'{{ULTP}} .ultp-block-meta span a:hover { color: {{metaHoverColor}}; }'
1055 ],
1056 ],
1057 ],
1058 'metaSpacing' => [
1059 'type' => 'object',
1060 'default' => (object)['lg' =>'15', 'unit' =>'px'],
1061 'style' => [
1062 (object)[
1063 'depends' => [
1064 (object)['key'=>'metaShow','condition'=>'==','value'=>true],
1065 ],
1066 'selector'=>'{{ULTP}} .ultp-block-meta span { margin-right:{{metaSpacing}}; } {{ULTP}} .ultp-block-meta span { padding-left: {{metaSpacing}}; } .rtl {{ULTP}} .ultp-block-meta span {margin-right:0; margin-left:{{metaSpacing}}; } .rtl {{ULTP}} .ultp-block-meta span { padding-left:0; padding-right: {{metaSpacing}}; }'
1067 ],
1068 ],
1069 ],
1070 'metaMargin' => [
1071 'type' => 'object',
1072 'default' => (object)['lg' =>(object)['top' => '','bottom' => '10', 'left'=>'','right'=>'', 'unit' =>'px']],
1073 'style' => [
1074 (object)[
1075 'depends' => [
1076 (object)['key'=>'metaShow','condition'=>'==','value'=>true],
1077 ],
1078 'selector'=>'{{ULTP}} .ultp-block-meta { margin:{{metaMargin}}; }'
1079 ],
1080 ],
1081 ],
1082 'metaPadding' => [
1083 'type' => 'object',
1084 'default' => (object)['lg' =>(object)['top' => '5','bottom' => '5', 'left'=>'','right'=>'', 'unit' =>'px']],
1085 'style' => [
1086 (object)[
1087 'depends' => [
1088 (object)['key'=>'metaShow','condition'=>'==','value'=>true],
1089 ],
1090 'selector'=>'{{ULTP}} .ultp-block-meta { padding:{{metaPadding}}; }'
1091 ],
1092 ],
1093 ],
1094 'metaBorder' => [
1095 'type' => 'object',
1096 'default' => (object)['openBorder'=>0, 'width' => (object)['top' => 1, 'right' => '0', 'bottom' => '0', 'left' => '0'],'color' => '#009fd4','type' => 'solid'],
1097 'style' => [
1098 (object)[
1099 'depends' => [
1100 (object)['key'=>'metaShow','condition'=>'==','value'=>true],
1101 ],
1102 'selector'=>'{{ULTP}} .ultp-block-meta'
1103 ],
1104 ],
1105 ],
1106 'metaBg' => [
1107 'type' => 'string',
1108 'default' => '',
1109 'style' => [
1110 (object)[
1111 'depends' => [
1112 (object)['key'=>'metaShow','condition'=>'==','value'=>true],
1113 ],
1114 'selector'=>'{{ULTP}} .ultp-block-meta { background:{{metaBg}}; }'
1115 ],
1116 ],
1117 ],
1118
1119
1120 //--------------------------
1121 // Inner Content Setting/Style
1122 //--------------------------
1123 'contentAlign' => [
1124 'type' => 'string',
1125 'default' => "left",
1126 'style' => [
1127 (object)[
1128 'depends' => [
1129 (object)['key'=>'contentAlign','condition'=>'==','value'=>'left'],
1130 ],
1131 'selector'=>'{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } {{ULTP}} .ultp-block-meta {justify-content: flex-start;}'
1132 ],
1133 (object)[
1134 'depends' => [
1135 (object)['key'=>'contentAlign','condition'=>'==','value'=>'center'],
1136 ],
1137 'selector'=>'{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } {{ULTP}} .ultp-block-meta {justify-content: center;}'
1138 ],
1139 (object)[
1140 'depends' => [
1141 (object)['key'=>'contentAlign','condition'=>'==','value'=>'right'],
1142 ],
1143 'selector'=>'{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } {{ULTP}} .ultp-block-meta {justify-content: flex-end;}'
1144 ],
1145 ],
1146 ],
1147 'contentWrapBg' => [
1148 'type' => 'string',
1149 'default' => '',
1150 'style' => [
1151 (object)[
1152 'selector'=>'{{ULTP}} .ultp-block-content-wrap { background:{{contentWrapBg}}; }'
1153 ],
1154 ],
1155 ],
1156 'contentWrapHoverBg' => [
1157 'type' => 'string',
1158 'style' => [
1159 (object)[
1160 'selector'=>'{{ULTP}} .ultp-block-content-wrap:hover { background:{{contentWrapHoverBg}}; }'
1161 ],
1162 ],
1163 ],
1164 'contentWrapBorder' => [
1165 'type' => 'object',
1166 'default' => (object)['openBorder'=>0, 'width' => (object)[ 'top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid' ],
1167 'style' => [
1168 (object)[
1169 'selector'=>'{{ULTP}} .ultp-block-content-wrap'
1170 ],
1171 ],
1172 ],
1173 'contentWrapHoverBorder' => [
1174 'type' => 'object',
1175 'default' => (object)['openBorder'=>0, 'width' => (object)[ 'top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid' ],
1176 'style' => [
1177 (object)[
1178 'selector'=>'{{ULTP}} .ultp-block-content-wrap:hover'
1179 ],
1180 ],
1181 ],
1182 'contentWrapRadius' => [
1183 'type' => 'object',
1184 'default' => (object)['lg' =>(object)['top' => '','bottom' => '', 'unit' =>'px']],
1185 'style' => [
1186 (object)[
1187 'selector'=>'{{ULTP}} .ultp-block-content-wrap { border-radius: {{contentWrapRadius}}; }'
1188 ],
1189 ],
1190 ],
1191 'contentWrapHoverRadius' => [
1192 'type' => 'object',
1193 'default' => (object)['lg' =>(object)['top' => '','bottom' => '', 'unit' =>'px']],
1194 'style' => [
1195 (object)[
1196 'selector'=>'{{ULTP}} .ultp-block-content-wrap:hover { border-radius: {{contentWrapHoverRadius}}; }'
1197 ],
1198 ],
1199 ],
1200 'contentWrapShadow' => [
1201 'type' => 'object',
1202 'default' => (object)['openShadow' => 0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4'],
1203 'style' => [
1204 (object)[
1205 'selector'=>'{{ULTP}} .ultp-block-content-wrap'
1206 ],
1207 ],
1208 ],
1209 'contentWrapHoverShadow' => [
1210 'type' => 'object',
1211 'default' => (object)['openShadow' => 0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4'],
1212 'style' => [
1213 (object)[
1214 'selector'=>'{{ULTP}} .ultp-block-content-wrap:hover'
1215 ],
1216 ],
1217 ],
1218
1219 'contentWrapInnerPadding' => [
1220 'type' => 'object',
1221 'default' => (object)['lg' =>(object)['top' => '','bottom' => '', 'left'=>'','right'=>'', 'unit' =>'px']],
1222 'style' => [
1223 (object)[
1224 'selector'=>'{{ULTP}} .ultp-block-content { padding: {{contentWrapInnerPadding}}; }'
1225 ],
1226 ],
1227 ],
1228 'contentWrapPadding' => [
1229 'type' => 'object',
1230 'default' => (object)['lg' =>(object)['top' => '','bottom' => '', 'left'=>'','right'=>'', 'unit' =>'px']],
1231 'style' => [
1232 (object)[
1233 'selector'=>'{{ULTP}} .ultp-block-content-wrap { padding: {{contentWrapPadding}}; }'
1234 ],
1235 ],
1236 ],
1237
1238
1239 //--------------------------
1240 // Image Setting/Style
1241 //--------------------------
1242 'imgFlip' => [
1243 'type' => 'boolean',
1244 'default' => false,
1245 'style' => [
1246 (object)[
1247 'depends' => [
1248 (object)['key'=>'imgFlip','condition'=>'==','value'=>true],
1249 ],
1250 'selector'=>'{{ULTP}} .ultp-block-content-true .ultp-block-media, {{ULTP}} .ultp-block-content-1 .ultp-block-media { flex-direction: row-reverse; }'
1251 ]
1252 ],
1253 ],
1254 'imgCrop' => [
1255 'type' => 'string',
1256 'default' => 'full',
1257 'depends' => [(object)['key' => 'showImage','condition' => '==','value' => 'true']]
1258 ],
1259 'imgCropSmall' => [
1260 'type' => 'string',
1261 'default' => 'ultp_layout_square',
1262 'depends' => [(object)['key' => 'showImage','condition' => '==','value' => 'true']]
1263 ],
1264 'imgWidth' => [
1265 'type' => 'object',
1266 'default' => (object)['lg' =>'45', 'sm' =>'100', 'xs' =>'100', 'unit' =>'%'],
1267 'style' => [
1268 (object)[
1269 'depends' => [
1270 (object)['key'=>'showImage','condition'=>'==','value'=>true],
1271 ],
1272 'selector'=>'{{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image { max-width: {{imgWidth}}; }'
1273 ],
1274 ],
1275 ],
1276 'imgHeight' => [
1277 'type' => 'object',
1278 'default' => (object)['lg' =>'', 'unit' =>'px'],
1279 'style' => [
1280 (object)[
1281 'depends' => [
1282 (object)['key'=>'showImage','condition'=>'==','value'=>true],
1283 ],
1284 'selector'=>'{{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image img {object-fit: cover; height: {{imgHeight}}; }'
1285 ],
1286 ],
1287 ],
1288 'imgAnimation' => [
1289 'type' => 'string',
1290 'default' => 'opacity',
1291 ],
1292 'imgGrayScale' => [
1293 'type' => 'object',
1294 'default' => (object)['lg' =>'0', 'unit' =>'%'],
1295 'style' => [
1296 (object)[
1297 'depends' => [
1298 (object)['key'=>'showImage','condition'=>'==','value'=>true],
1299 ],
1300 'selector'=>'{{ULTP}} .ultp-block-image { filter: grayscale({{imgGrayScale}}); }'
1301 ],
1302 ],
1303 ],
1304 'imgHoverGrayScale' => [
1305 'type' => 'object',
1306 'default' => (object)['lg' =>'0', 'unit' =>'%'],
1307 'style' => [
1308 (object)[
1309 'depends' => [
1310 (object)['key'=>'showImage','condition'=>'==','value'=>true],
1311 ],
1312 'selector'=>'{{ULTP}} .ultp-block-item:hover .ultp-block-image { filter: grayscale({{imgHoverGrayScale}}); }'
1313 ],
1314 ],
1315 ],
1316 'imgRadius' => [
1317 'type' => 'object',
1318 'default' => (object)['lg' =>'', 'unit' =>'px'],
1319 'style' => [
1320 (object)[
1321 'depends' => [
1322 (object)['key'=>'showImage','condition'=>'==','value'=>true],
1323 ],
1324 'selector'=>'{{ULTP}} .ultp-block-image { border-radius:{{imgRadius}}; }'
1325 ],
1326 ],
1327 ],
1328 'imgHoverRadius' => [
1329 'type' => 'object',
1330 'default' => (object)['lg' =>'', 'unit' =>'px'],
1331 'style' => [
1332 (object)[
1333 'depends' => [
1334 (object)['key'=>'showImage','condition'=>'==','value'=>true],
1335 ],
1336 'selector'=>'{{ULTP}} .ultp-block-item:hover .ultp-block-image { border-radius:{{imgHoverRadius}}; }'
1337 ],
1338 ],
1339 ],
1340 'imgShadow' => [
1341 'type' => 'object',
1342 'default' => (object)['openShadow' => 0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4'],
1343 'style' => [
1344 (object)[
1345 'depends' => [
1346 (object)['key'=>'showImage','condition'=>'==','value'=>true],
1347 ],
1348 'selector'=>'{{ULTP}} .ultp-block-image'
1349 ],
1350 ],
1351 ],
1352 'imgHoverShadow' => [
1353 'type' => 'object',
1354 'default' => (object)['openShadow' => 0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4'],
1355 'style' => [
1356 (object)[
1357 'depends' => [
1358 (object)['key'=>'showImage','condition'=>'==','value'=>true],
1359 ],
1360 'selector'=>'{{ULTP}} .ultp-block-item:hover .ultp-block-image'
1361 ],
1362 ],
1363 ],
1364 'imgSpacing' => [
1365 'type' => 'object',
1366 'default' => (object)['lg'=>'20'],
1367 'style' => [
1368 (object)[
1369 'depends' => [
1370 (object)['key'=>'showImage','condition'=>'==','value'=>true],
1371 (object)['key'=>'imgFlip','condition'=>'==','value'=>false],
1372 ],
1373 'selector'=>'{{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image { margin-right: {{imgSpacing}}px; } .rtl {{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image { margin-right: 0; margin-left: {{imgSpacing}}px; }'
1374 ],
1375 (object)[
1376 'depends' => [
1377 (object)['key'=>'showImage','condition'=>'==','value'=>true],
1378 (object)['key'=>'imgFlip','condition'=>'==','value'=>true],
1379 ],
1380 'selector'=>'{{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image { margin-left: {{imgSpacing}}px; } .rtl {{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image { margin-left: 0; margin-right: {{imgSpacing}}px; }'
1381 ],
1382 ],
1383 ],
1384 'imgOverlay' => [
1385 'type' => 'boolean',
1386 'default' => false,
1387 ],
1388 'imgOverlayType' => [
1389 'type' => 'string',
1390 'default' => 'default',
1391 'style' => [
1392 (object)[
1393 'depends' => [
1394 (object)['key'=>'imgOverlay','condition'=>'==','value'=>true],
1395 ]
1396 ],
1397 ]
1398 ],
1399 'overlayColor' => [
1400 'type' => 'object',
1401 'default' => (object)['openColor' => 1, 'type' => 'color', 'color' => '#0e1523'],
1402 'style' => [
1403 (object)[
1404 'depends' => [
1405 (object)['key'=>'imgOverlayType','condition'=>'==','value'=>'custom'],
1406 ],
1407 'selector'=>'{{ULTP}} .ultp-block-image-custom > a::before'
1408 ],
1409 ],
1410
1411 ],
1412 'imgOpacity' => [
1413 'type' => 'string',
1414 'default' => .7,
1415 'style' => [
1416 (object)[
1417 'depends' => [
1418 (object)['key'=>'imgOverlayType','condition'=>'==','value'=>'custom'],
1419 ],
1420 'selector'=>'{{ULTP}} .ultp-block-image-custom > a::before { opacity: {{imgOpacity}}; }'
1421 ],
1422 ],
1423 ],
1424
1425 //--------------------------
1426 // Separator
1427 //--------------------------
1428 'separatorShow' => [
1429 'type' => 'boolean',
1430 'default' => true,
1431 ],
1432 'septColor' => [
1433 'type' => 'string',
1434 'default' => '#e5e5e5',
1435 'style' => [
1436 (object)[
1437 'depends' => [
1438 (object)['key'=>'separatorShow','condition'=>'==','value'=>true],
1439 ],
1440 'selector'=>'{{ULTP}} .ultp-block-item:not(:first-child) { border-bottom-color:{{septColor}}; }'
1441 ],
1442 ],
1443 ],
1444 'septStyle' => [
1445 'type' => 'string',
1446 'default' => 'dashed',
1447 'style' => [
1448 (object)[
1449 'depends' => [
1450 (object)['key'=>'separatorShow','condition'=>'==','value'=>true],
1451 ],
1452 'selector'=>'{{ULTP}} .ultp-block-item:not(:first-child) { border-bottom-style:{{septStyle}}; }'
1453 ],
1454 ],
1455 ],
1456 'septSize' => [
1457 'type' => 'string',
1458 'default' => (object)['lg'=>'1'],
1459 'style' => [
1460 (object)[
1461 'depends' => [
1462 (object)['key'=>'separatorShow','condition'=>'==','value'=>true],
1463 ],
1464 'selector'=>'{{ULTP}} .ultp-block-item:not(:first-child) { border-bottom-width: {{septSize}}px; }'
1465 ],
1466 ],
1467 ],
1468 'septSpace' => [
1469 'type' => 'object',
1470 'default' => (object)['lg'=>'30'],
1471 'style' => [
1472 (object)[
1473 'selector'=>'{{ULTP}} .ultp-block-item:not(:first-child) { padding-bottom: {{septSpace}}px; } {{ULTP}} .ultp-block-item:not(:first-child) { margin-bottom: {{septSpace}}px; }'
1474 ],
1475 ],
1476 ],
1477
1478 //--------------------------
1479 // Read more Setting/Style
1480 //--------------------------
1481 'showSmallBtn' => [
1482 'type' => 'boolean',
1483 'default' => true,
1484 ],
1485 'readMoreText' => [
1486 'type' => 'string',
1487 'default' => ''
1488 ],
1489 'readMoreIcon' => [
1490 'type' => 'string',
1491 'default' => 'rightArrowLg',
1492 ],
1493 'readMoreTypo' => [
1494 'type' => 'object',
1495 'default' => (object)['openTypography' => 1, 'size' => (object)['lg' =>12, 'unit' =>'px'], 'height' => (object)['lg' =>'', 'unit' =>'px'], 'spacing' => (object)['lg' =>1, 'unit' =>'px'], 'transform' => 'uppercase', 'weight' => '400', 'decoration' => 'none','family'=>'' ],
1496 'style' => [
1497 (object)[
1498 'depends' => [
1499 (object)['key'=>'readMore','condition'=>'==','value'=>true],
1500 ],
1501 'selector'=>'{{ULTP}} .ultp-block-readmore a'
1502 ],
1503 ],
1504 ],
1505 'readMoreIconSize' => [
1506 'type' => 'object',
1507 'default' => (object)['lg' =>'', 'unit' =>'px'],
1508 'style' => [
1509 (object)[
1510 'depends' => [
1511 (object)['key'=>'readMore','condition'=>'==','value'=>true],
1512 ],
1513 'selector' => '{{ULTP}} .ultp-block-readmore svg{ width:{{readMoreIconSize}}; }'
1514 ],
1515 ]
1516 ],
1517 'readMoreColor' => [
1518 'type' => 'string',
1519 'default' => '#0d1523',
1520 'style' => [
1521 (object)[
1522 'depends' => [
1523 (object)['key'=>'readMore','condition'=>'==','value'=>true],
1524 ],
1525 'selector'=>'{{ULTP}} .ultp-block-readmore a { color:{{readMoreColor}}; } {{ULTP}} .ultp-block-readmore a svg { fill:{{readMoreColor}}; }'
1526 ],
1527 ],
1528 ],
1529 'readMoreBgColor' => [
1530 'type' => 'object',
1531 'default' => (object)['openColor' => 0,'type' => 'color', 'color' => ''],
1532 'style' => [
1533 (object)[
1534 'depends' => [
1535 (object)['key'=>'readMore','condition'=>'==','value'=>true],
1536 ],
1537 'selector'=>'{{ULTP}} .ultp-block-readmore a'
1538 ],
1539 ],
1540 ],
1541 'readMoreBorder' => [
1542 'type' => 'object',
1543 'default' => (object)['openBorder'=>0, 'width' => (object)[ 'top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid' ],
1544 'style' => [
1545 (object)[
1546 'depends' => [
1547 (object)['key'=>'readMore','condition'=>'==','value'=>true],
1548 ],
1549 'selector'=>'{{ULTP}} .ultp-block-readmore a'
1550 ],
1551 ],
1552 ],
1553 'readMoreRadius' => [
1554 'type' => 'object',
1555 'default' => (object)['lg' =>'', 'unit' =>'px'],
1556 'style' => [
1557 (object)[
1558 'depends' => [
1559 (object)['key'=>'readMore','condition'=>'==','value'=>true],
1560 ],
1561 'selector'=>'{{ULTP}} .ultp-block-readmore a { border-radius:{{readMoreRadius}}; }'
1562 ],
1563 ],
1564 ],
1565 'readMoreHoverColor' => [
1566 'type' => 'string',
1567 'default' => '#0c32d8',
1568 'style' => [
1569 (object)[
1570 'depends' => [
1571 (object)['key'=>'readMore','condition'=>'==','value'=>true],
1572 ],
1573 'selector'=>'{{ULTP}} .ultp-block-readmore a:hover { color:{{readMoreHoverColor}}; } {{ULTP}} .ultp-block-readmore a:hover svg { fill:{{readMoreHoverColor}}; }'
1574 ],
1575 ],
1576 ],
1577 'readMoreBgHoverColor' => [
1578 'type' => 'object',
1579 'default' => (object)['openColor' => 0, 'type' => 'color', 'color' => ''],
1580 'style' => [
1581 (object)[
1582 'depends' => [
1583 (object)['key'=>'readMore','condition'=>'==','value'=>true],
1584 ],
1585 'selector'=>'{{ULTP}} .ultp-block-readmore a:hover'
1586 ],
1587 ],
1588 ],
1589 'readMoreHoverBorder' => [
1590 'type' => 'object',
1591 'default' => (object)['openBorder'=>0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid'],
1592 'style' => [
1593 (object)[
1594 'depends' => [
1595 (object)['key'=>'readMore','condition'=>'==','value'=>true],
1596 ],
1597 'selector'=>'{{ULTP}} .ultp-block-readmore a:hover'
1598 ],
1599 ],
1600 ],
1601 'readMoreHoverRadius' => [
1602 'type' => 'object',
1603 'default' => (object)['lg' =>'', 'unit' =>'px'],
1604 'style' => [
1605 (object)[
1606 'depends' => [
1607 (object)['key'=>'readMore','condition'=>'==','value'=>true],
1608 ],
1609 'selector'=>'{{ULTP}} .ultp-block-readmore a:hover { border-radius:{{readMoreHoverRadius}}; }'
1610 ],
1611 ],
1612 ],
1613 'readMoreSacing' => [
1614 'type' => 'object',
1615 'default' => (object)['lg' =>(object)['top' => 15,'bottom' => '','left' => '','right' => '', 'unit' =>'px']],
1616 'style' => [
1617 (object)[
1618 'depends' => [
1619 (object)['key'=>'readMore','condition'=>'==','value'=>true],
1620 ],
1621 'selector'=>'{{ULTP}} .ultp-block-readmore { margin:{{readMoreSacing}}; }'
1622 ],
1623 ],
1624 ],
1625 'readMorePadding' => [
1626 'type' => 'object',
1627 'default' => (object)['lg' =>(object)['top' => '','bottom' => '','left' => '','right' => '', 'unit' =>'px']],
1628 'style' => [
1629 (object)[
1630 'depends' => [
1631 (object)['key'=>'readMore','condition'=>'==','value'=>true],
1632 ],
1633 'selector'=>'{{ULTP}} .ultp-block-readmore a { padding:{{readMorePadding}}; }'
1634 ],
1635 ],
1636 ],
1637
1638 //--------------------------
1639 // Filter Setting/Style
1640 //--------------------------
1641 'filterType' => [
1642 'type' => 'string',
1643 'default' => 'category'
1644 ],
1645 'filterText' => [
1646 'type' => 'string',
1647 'default' => 'all'
1648 ],
1649 'filterCat' => [
1650 'type' => 'string',
1651 'default' => '[]',
1652 'style' => [
1653 (object)[
1654 'depends' => [(object)['key' => 'filterType','condition' => '==','value' => 'category']]
1655 ],
1656 ],
1657 ],
1658 'filterTag' => [
1659 'type' => 'string',
1660 'default' => '[]',
1661 'style' => [
1662 (object)[
1663 'depends' => [(object)['key' => 'filterType','condition' => '==','value' => 'post_tag']]
1664 ],
1665 ],
1666 ],
1667 'fliterTypo' => [
1668 'type' => 'object',
1669 'default' => (object)['openTypography' => 1,'size' => (object)['lg' =>14, 'unit' =>'px'],'height' => (object)['lg' =>18, 'unit' =>'px'], 'decoration' => 'none','family'=>'','weight'=>500],
1670 'style' => [
1671 (object)[
1672 'depends' => [
1673 (object)['key'=>'filterShow','condition'=>'==','value'=>true],
1674 ],
1675 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li a'
1676 ],
1677 ],
1678 ],
1679 'filterColor' => [
1680 'type' => 'string',
1681 'default' => '#0e1523',
1682 'style' => [
1683 (object)[
1684 'depends' => [
1685 (object)['key'=>'filterShow','condition'=>'==','value'=>true],
1686 ],
1687 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li a { color:{{filterColor}}; }'
1688 ],
1689 ],
1690 ],
1691 'filterHoverColor' => [
1692 'type' => 'string',
1693 'default' => '#828282',
1694 'style' => [
1695 (object)[
1696 'depends' => [
1697 (object)['key'=>'filterShow','condition'=>'==','value'=>true],
1698 ],
1699 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li a:hover, {{ULTP}} .ultp-filter-wrap ul li a.filter-active { color:{{filterHoverColor}}; }'
1700 ],
1701 ],
1702 ],
1703 'filterBgColor' => [
1704 'type' => 'string',
1705 'style' => [
1706 (object)[
1707 'depends' => [
1708 (object)['key'=>'filterShow','condition'=>'==','value'=>true],
1709 ],
1710 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { background:{{filterBgColor}}; }'
1711 ],
1712 ],
1713 ],
1714 'filterHoverBgColor' => [
1715 'type' => 'string',
1716 'style' => [
1717 (object)[
1718 'depends' => [
1719 (object)['key'=>'filterShow','condition'=>'==','value'=>true],
1720 ],
1721 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover, {{ULTP}} .ultp-filter-wrap ul li.filter-item > a.filter-active { background:{{filterHoverBgColor}}; }'
1722 ],
1723 ],
1724 ],
1725 'filterBorder' => [
1726 'type' => 'object',
1727 'default' => (object)['openBorder'=>0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid'],
1728 'style' => [
1729 (object)[
1730 'depends' => [
1731 (object)['key'=>'filterShow','condition'=>'==','value'=>true],
1732 ],
1733 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.filter-item > a'
1734 ],
1735 ],
1736 ],
1737 'filterHoverBorder' => [
1738 'type' => 'object',
1739 'default' => (object)['openBorder'=>0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid'],
1740 'style' => [
1741 (object)[
1742 'depends' => [
1743 (object)['key'=>'filterShow','condition'=>'==','value'=>true],
1744 ],
1745 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover'
1746 ],
1747 ],
1748 ],
1749 'filterRadius' => [
1750 'type' => 'object',
1751 'default' => (object)['lg' =>'', 'unit' =>'px'],
1752 'style' => [
1753 (object)[
1754 'depends' => [
1755 (object)['key'=>'filterShow','condition'=>'==','value'=>true],
1756 ],
1757 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { border-radius:{{filterRadius}}; }'
1758 ],
1759 ],
1760 ],
1761 'fliterSpacing' => [
1762 'type' => 'object',
1763 'default' => (object)['lg' =>(object)['top' => '','bottom' => '', 'right' => '', 'left' => '20', 'unit' =>'px']],
1764 'style' => [
1765 (object)[
1766 'depends' => [
1767 (object)['key'=>'filterShow','condition'=>'==','value'=>true],
1768 ],
1769 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li { margin:{{fliterSpacing}}; }'
1770 ],
1771 ],
1772 ],
1773 'fliterPadding' => [
1774 'type' => 'object',
1775 'default' => (object)['lg' =>(object)['top' => '','bottom' => '', 'unit' =>'px']],
1776 'style' => [
1777 (object)[
1778 'depends' => [
1779 (object)['key'=>'filterShow','condition'=>'==','value'=>true],
1780 ],
1781 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { padding:{{fliterPadding}}; }'
1782 ],
1783 ],
1784 ],
1785 'filterDropdownColor' => [
1786 'type' => 'string',
1787 'default' => '#0e1523',
1788 'style' => [
1789 (object)[
1790 'depends' => [
1791 (object)['key'=>'filterShow','condition'=>'==','value'=>true],
1792 ],
1793 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a { color:{{filterDropdownColor}}; }'
1794 ],
1795 ],
1796 ],
1797 'filterDropdownHoverColor' => [
1798 'type' => 'string',
1799 'default' => '#1740f5',
1800 'style' => [
1801 (object)[
1802 'depends' => [
1803 (object)['key'=>'filterShow','condition'=>'==','value'=>true],
1804 ],
1805 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a:hover { color:{{filterDropdownHoverColor}}; }'
1806 ],
1807 ],
1808 ],
1809 'filterDropdownBg' => [
1810 'type' => 'string',
1811 'default' => '#fff',
1812 'style' => [
1813 (object)[
1814 'depends' => [
1815 (object)['key'=>'filterShow','condition'=>'==','value'=>true],
1816 ],
1817 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { background:{{filterDropdownBg}}; }'
1818 ],
1819 ],
1820 ],
1821 'filterDropdownRadius' => [
1822 'type' => 'object',
1823 'default' => (object)['lg'=>'0'],
1824 'style' => [
1825 (object)[
1826 'depends' => [
1827 (object)['key'=>'filterShow','condition'=>'==','value'=>true],
1828 ],
1829 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { border-radius:{{filterDropdownRadius}}; }'
1830 ],
1831 ],
1832 ],
1833 'filterDropdownPadding' => [
1834 'type' => 'object',
1835 'default' => (object)['lg' =>(object)['top' => '15','bottom' => '15','left' => '20','right' => '20', 'unit' =>'px']],
1836 'style' => [
1837 (object)[
1838 'depends' => [
1839 (object)['key'=>'filterShow','condition'=>'==','value'=>true],
1840 ],
1841 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { padding:{{filterDropdownPadding}}; }'
1842 ],
1843 ],
1844 ],
1845
1846 //--------------------------
1847 // Pagination Setting/Style
1848 //--------------------------
1849 'paginationType' => [
1850 'type' => 'string',
1851 'default' => 'pagination',
1852 ],
1853 'loadMoreText' => [
1854 'type' => 'string',
1855 'default' => 'Load More',
1856 'style' => [
1857 (object)[
1858 'depends' => [
1859 (object)['key'=>'paginationType','condition'=>'==','value'=>'loadMore'],
1860 ],
1861 ],
1862 ],
1863 ],
1864 'paginationNav' => [
1865 'type' => 'string',
1866 'default' => 'textArrow',
1867 'style' => [
1868 (object)[
1869 'depends' => [
1870 (object)['key'=>'paginationType','condition'=>'==','value'=>'pagination'],
1871 ],
1872 ],
1873 ],
1874 ],
1875 'paginationAjax' => [
1876 'type' => 'boolean',
1877 'default' => true,
1878 'style' => [
1879 (object)[
1880 'depends' => [
1881 (object)['key'=>'paginationType','condition'=>'==','value'=>'pagination'],
1882 ],
1883 ],
1884 ],
1885 ],
1886 'navPosition' => [
1887 'type' => 'string',
1888 'default' => 'topRight',
1889 'style' => [
1890 (object)[
1891 'depends' => [
1892 (object)['key'=>'paginationType','condition'=>'==','value'=>'navigation'],
1893 ],
1894 ],
1895 ],
1896 ],
1897 'pagiAlign' => [
1898 'type' => 'object',
1899 'default' => (object)['lg' =>'left'],
1900 'style' => [
1901 (object)[
1902 'depends' => [
1903 (object)['key'=>'paginationShow','condition'=>'==','value'=>true],
1904 ],
1905 'selector'=>'{{ULTP}} .ultp-loadmore, {{ULTP}} .ultp-next-prev-wrap ul, {{ULTP}} .ultp-pagination { text-align:{{pagiAlign}}; }'
1906 ],
1907 ],
1908 ],
1909 'pagiTypo' => [
1910 'type' => 'object',
1911 'default' => (object)['openTypography' => 1,'size' => (object)['lg' =>14, 'unit' =>'px'],'height' => (object)['lg' =>20, 'unit' =>'px'], 'decoration' => 'none','family'=>''],
1912 'style' => [
1913 (object)[
1914 'depends' => [
1915 (object)['key'=>'paginationShow','condition'=>'==','value'=>true],
1916 ],
1917 'selector'=>'{{ULTP}} .ultp-pagination li a, {{ULTP}} .ultp-loadmore-action'
1918 ],
1919 ],
1920
1921 ],
1922 'pagiArrowSize' => [
1923 'type' => 'object',
1924 'default' => (object)['lg'=>'14'],
1925 'style' => [
1926 (object)[
1927 'depends' => [
1928 (object)['key'=>'paginationType','condition'=>'==','value'=>'navigation'],
1929 ],
1930 'selector'=>'{{ULTP}} .ultp-next-prev-wrap ul li a { font-size:{{pagiArrowSize}}px; }'
1931 ],
1932 ],
1933
1934 ],
1935 'pagiColor' => [
1936 'type' => 'string',
1937 'default' => '#fff',
1938 'style' => [
1939 (object)[
1940 'depends' => [
1941 (object)['key'=>'paginationShow','condition'=>'==','value'=>true],
1942 ],
1943 'selector'=>'{{ULTP}} .ultp-pagination li a, {{ULTP}} .ultp-next-prev-wrap ul li a, {{ULTP}} .ultp-loadmore-action { color:{{pagiColor}}; } .ultp-next-prev-wrap ul li a svg { fill:{{pagiColor}}; } .ultp-pagination li a svg { fill:{{pagiColor}}; }'
1944 ],
1945 ],
1946 ],
1947 'pagiBgColor' => [
1948 'type' => 'object',
1949 'default' => (object)['openColor' => 1, 'type' => 'color', 'color' => '#0e1523'],
1950 'style' => [
1951 (object)[
1952 'depends' => [
1953 (object)['key'=>'paginationShow','condition'=>'==','value'=>true],
1954 ],
1955 'selector'=>'{{ULTP}} .ultp-pagination li a, {{ULTP}} .ultp-next-prev-wrap ul li a, {{ULTP}} .ultp-loadmore-action'
1956 ],
1957 ],
1958 ],
1959 'pagiBorder' => [
1960 'type' => 'object',
1961 'default' => (object)['openBorder'=>0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid'],
1962 'style' => [
1963 (object)[
1964 'depends' => [
1965 (object)['key'=>'paginationShow','condition'=>'==','value'=>true],
1966 ],
1967 'selector'=>'{{ULTP}} .ultp-pagination li a, {{ULTP}} .ultp-next-prev-wrap ul li a, {{ULTP}} .ultp-loadmore-action'
1968 ],
1969 ],
1970 ],
1971 'pagiShadow' => [
1972 'type' => 'object',
1973 'default' => (object)['openShadow' => 0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4'],
1974 'style' => [
1975 (object)[
1976 'depends' => [
1977 (object)['key'=>'paginationShow','condition'=>'==','value'=>true],
1978 ],
1979 'selector'=>'{{ULTP}} .ultp-pagination li a, {{ULTP}} .ultp-next-prev-wrap ul li a, {{ULTP}} .ultp-loadmore-action'
1980 ],
1981 ],
1982 ],
1983 'pagiRadius' => [
1984 'type' => 'object',
1985 'default' => (object)['lg' =>(object)['top' => '2','bottom' => '2','left' => '2','right' => '2', 'unit' =>'px']],
1986 'style' => [
1987 (object)[
1988 'depends' => [
1989 (object)['key'=>'paginationShow','condition'=>'==','value'=>true],
1990 ],
1991 'selector'=>'{{ULTP}} .ultp-pagination li a, {{ULTP}} .ultp-next-prev-wrap ul li a, {{ULTP}} .ultp-loadmore-action { border-radius:{{pagiRadius}}; }'
1992 ],
1993 ],
1994 ],
1995 'pagiHoverColor' => [
1996 'type' => 'string',
1997 'default' => '#fff',
1998 'style' => [
1999 (object)[
2000 'depends' => [
2001 (object)['key'=>'paginationShow','condition'=>'==','value'=>true],
2002 ],
2003 'selector'=>'{{ULTP}} .ultp-pagination li.pagination-active a, {{ULTP}} .ultp-next-prev-wrap ul li a:hover, {{ULTP}} .ultp-loadmore-action:hover { color:{{pagiHoverColor}}; } {{ULTP}} .ultp-pagination li a:hover svg { fill:{{pagiHoverColor}}; } {{ULTP}} .ultp-next-prev-wrap ul li a:hover svg { fill:{{pagiHoverColor}}; } @media (min-width: 768px) { {{ULTP}} .ultp-pagination li a:hover { color:{{pagiHoverColor}};}}'
2004 ],
2005 ],
2006 ],
2007 'pagiHoverbg' => [
2008 'type' => 'object',
2009 'default' => (object)['openColor' => 1, 'type' => 'color', 'color' => '#1740f5','replace'=>1],
2010 'style' => [
2011 (object)[
2012 'depends' => [
2013 (object)['key'=>'paginationShow','condition'=>'==','value'=>true],
2014 ],
2015 'selector'=>'{{ULTP}} .ultp-pagination li.pagination-active a, {{ULTP}} .ultp-next-prev-wrap ul li a:hover, {{ULTP}} .ultp-loadmore-action:hover { {{pagiHoverbg}} } @media (min-width: 768px) { {{ULTP}} .ultp-pagination li a:hover { {{pagiHoverbg}} }}'
2016 ],
2017 ],
2018 ],
2019 'pagiHoverBorder' => [
2020 'type' => 'object',
2021 'default' => (object)['openBorder'=>0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid'],
2022 'style' => [
2023 (object)[
2024 'depends' => [
2025 (object)['key'=>'paginationShow','condition'=>'==','value'=>true],
2026 ],
2027 'selector'=>'{{ULTP}} .ultp-pagination li a:hover, {{ULTP}} .ultp-pagination li.pagination-active a, {{ULTP}} .ultp-next-prev-wrap ul li a:hover, {{ULTP}} .ultp-loadmore-action:hover'
2028 ],
2029 ],
2030 ],
2031 'pagiHoverShadow' => [
2032 'type' => 'object',
2033 'default' => (object)['openShadow' => 0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4'],
2034 'style' => [
2035 (object)[
2036 'depends' => [
2037 (object)['key'=>'paginationShow','condition'=>'==','value'=>true],
2038 ],
2039 'selector'=>'{{ULTP}} .ultp-pagination li a:hover, {{ULTP}} .ultp-pagination li.pagination-active a, {{ULTP}} .ultp-next-prev-wrap ul li a:hover, {{ULTP}} .ultp-loadmore-action:hover'
2040 ],
2041 ],
2042 ],
2043 'pagiHoverRadius' => [
2044 'type' => 'object',
2045 'default' => (object)['lg' =>(object)['top' => '2','bottom' => '2','left' => '2','right' => '2', 'unit' =>'px']],
2046 'style' => [
2047 (object)[
2048 'depends' => [
2049 (object)['key'=>'paginationShow','condition'=>'==','value'=>true],
2050 ],
2051 'selector'=>'{{ULTP}} .ultp-pagination li a:hover, {{ULTP}} .ultp-next-prev-wrap ul li a:hover, {{ULTP}} .ultp-loadmore-action:hover { border-radius:{{pagiHoverRadius}}; }'
2052 ],
2053 ],
2054 ],
2055 'pagiPadding' => [
2056 'type' => 'object',
2057 'default' => (object)['lg' =>(object)['top' => '8','bottom' => '8','left' => '14','right' => '14', 'unit' =>'px']],
2058 'style' => [
2059 (object)[
2060 'depends' => [
2061 (object)['key'=>'paginationShow','condition'=>'==','value'=>true],
2062 ],
2063 'selector'=>'{{ULTP}} .ultp-pagination li a, {{ULTP}} .ultp-next-prev-wrap ul li a, {{ULTP}} .ultp-loadmore-action { padding:{{pagiPadding}}; }'
2064 ],
2065 ],
2066 ],
2067 'navMargin' => [
2068 'type' => 'object',
2069 'default' => (object)['lg' =>(object)['top' => '0', 'right' => '0', 'bottom' => '0', 'left' => '0', 'unit' =>'px']],
2070 'style' => [
2071 (object)[
2072 'depends' => [
2073 (object)['key'=>'paginationType','condition'=>'==','value'=>'navigation'],
2074 ],
2075 'selector'=>'{{ULTP}} .ultp-next-prev-wrap ul { margin:{{navMargin}}; }'
2076 ],
2077 ],
2078 ],
2079 'pagiMargin' => [
2080 'type' => 'object',
2081 'default' => (object)['lg' =>(object)['top' => '50', 'right' => '0', 'bottom' => '0', 'left' => '0', 'unit' =>'px']],
2082 'style' => [
2083 (object)[
2084 'depends' => [
2085 (object)['key'=>'paginationType','condition'=>'!=','value'=>'navigation'],
2086 ],
2087 'selector'=>'{{ULTP}} .ultp-pagination, {{ULTP}} .ultp-loadmore { margin:{{pagiMargin}}; }'
2088 ],
2089 ],
2090 ],
2091
2092 //--------------------------
2093 // Wrapper Style
2094 //--------------------------
2095 'wrapBg' => [
2096 'type' => 'object',
2097 'default' => (object)['openColor' => 0, 'type' => 'color', 'color' => '#f5f5f5'],
2098 'style' => [
2099 (object)[
2100 'selector'=>'{{ULTP}} .ultp-block-wrapper'
2101 ],
2102 ],
2103 ],
2104 'wrapBorder' => [
2105 'type' => 'object',
2106 'default' => (object)['openBorder'=>0, 'width' =>(object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid'],
2107 'style' => [
2108 (object)[
2109 'selector'=>'{{ULTP}} .ultp-block-wrapper'
2110 ],
2111 ],
2112 ],
2113 'wrapShadow' => [
2114 'type' => 'object',
2115 'default' => (object)['openShadow' => 0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4'],
2116 'style' => [
2117 (object)[
2118 'selector'=>'{{ULTP}} .ultp-block-wrapper'
2119 ],
2120 ],
2121 ],
2122 'wrapRadius' => [
2123 'type' => 'object',
2124 'default' => (object)['lg' =>'', 'unit' =>'px'],
2125 'style' => [
2126 (object)[
2127 'selector'=>'{{ULTP}} .ultp-block-wrapper { border-radius:{{wrapRadius}}; }'
2128 ],
2129 ],
2130 ],
2131 'wrapHoverBackground' => [
2132 'type' => 'object',
2133 'default' => (object)['openColor' => 0, 'type' => 'color', 'color' => '#1740f5'],
2134 'style' => [
2135 (object)[
2136 'selector'=>'{{ULTP}} .ultp-block-wrapper:hover'
2137 ],
2138 ],
2139 ],
2140 'wrapHoverBorder' => [
2141 'type' => 'object',
2142 'default' => (object)['openBorder'=>0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid'],
2143 'style' => [
2144 (object)[
2145 'selector'=>'{{ULTP}} .ultp-block-wrapper:hover'
2146 ],
2147 ],
2148 ],
2149 'wrapHoverRadius' => [
2150 'type' => 'object',
2151 'default' => (object)['lg' =>'', 'unit' =>'px'],
2152 'style' => [
2153 (object)[
2154 'selector'=>'{{ULTP}} .ultp-block-wrapper:hover { border-radius:{{wrapHoverRadius}}; }'
2155 ],
2156 ],
2157 ],
2158 'wrapHoverShadow' => [
2159 'type' => 'object',
2160 'default' => (object)['openShadow' => 0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4'],
2161 'style' => [
2162 (object)[
2163 'selector'=>'{{ULTP}} .ultp-block-wrapper:hover'
2164 ],
2165 ],
2166 ],
2167 'wrapMargin' => [
2168 'type' => 'object',
2169 'default' => (object)['lg' =>(object)['top' => '','bottom' => '', 'unit' =>'px']],
2170 'style' => [
2171 (object)[
2172 'selector'=>'{{ULTP}} .ultp-block-wrapper { margin:{{wrapMargin}}; }'
2173 ],
2174 ],
2175 ],
2176 'wrapOuterPadding' => [
2177 'type' => 'object',
2178 'default' => (object)['lg' =>(object)['top' => '','bottom' => '','left' => '', 'right' => '', 'unit' =>'px']],
2179 'style' => [
2180 (object)[
2181 'selector'=>'{{ULTP}} .ultp-block-wrapper { padding:{{wrapOuterPadding}}; }'
2182 ],
2183 ],
2184 ],
2185 'wrapInnerPadding' => [
2186 'type' => 'object',
2187 'default' => (object)['lg' =>(object)['unit' =>'px']],
2188 'style' => [
2189 (object)[
2190 'selector'=>'{{ULTP}} .ultp-block-wrapper { padding:{{wrapInnerPadding}}; }'
2191 ],
2192 ],
2193 ],
2194 'advanceId' => [
2195 'type' => 'string',
2196 'default' => '',
2197 ],
2198 'advanceZindex' => [
2199 'type' => 'number',
2200 'default' => '',
2201 'style' => [
2202 (object)[
2203 'selector' => '{{ULTP}} {z-index:{{advanceZindex}};}'
2204 ],
2205 ],
2206 ],
2207 'advanceCss' => [
2208 'type' => 'string',
2209 'default' => '',
2210 'style' => [(object)['selector' => '']],
2211 ]
2212 );
2213
2214 if( $default ){
2215 $temp = array();
2216 foreach ($attributes as $key => $value) {
2217 if( isset($value['default']) ){
2218 $temp[$key] = $value['default'];
2219 }
2220 }
2221 return $temp;
2222 }else{
2223 return $attributes;
2224 }
2225 }
2226
2227 public function register() {
2228 register_block_type( 'ultimate-post/post-list-2',
2229 array(
2230 'attributes' => $this->get_attributes(),
2231 'description' => __( 'Listing your post with top big post.' ),
2232 'keywords' => [__( 'grid' ), __( 'post' ), __( 'article' ), __('listing')],
2233 'render_callback' => array($this, 'content')
2234 )
2235 );
2236 }
2237
2238 public function content($attr, $noAjax) {
2239
2240 if(!$noAjax){
2241 $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
2242 $attr['paged'] = $paged;
2243 }
2244
2245 $block_name = 'post-list-2';
2246 $page_post_id = get_the_ID();
2247 $wraper_before = $wraper_after = $post_loop = '';
2248 $recent_posts = new \WP_Query( ultimate_post()->get_query( $attr ) );
2249 $pageNum = ultimate_post()->get_page_number($attr, $recent_posts->found_posts);
2250
2251 if ($recent_posts->have_posts()) {
2252
2253 $wraper_before .= '<div '.($attr['advanceId']?'id="'.$attr['advanceId'].'" ':'').' class="wp-block-ultimate-post-'.$block_name.' ultp-block-'.$attr["blockId"].' '.(isset($attr["className"])?$attr["className"]:'').'">';
2254 $wraper_before .= '<div class="ultp-block-wrapper">';
2255
2256 // Loading
2257 $wraper_before .= ultimate_post()->loading();
2258
2259 if ($attr['headingShow'] || $attr['filterShow'] || $attr['paginationShow']) {
2260 $wraper_before .= '<div class="ultp-heading-filter">';
2261 $wraper_before .= '<div class="ultp-heading-filter-in">';
2262
2263 // Heading
2264 include ULTP_PATH.'blocks/template/heading.php';
2265
2266 if ($attr['filterShow'] || $attr['paginationShow']) {
2267 $wraper_before .= '<div class="ultp-filter-navigation">';
2268
2269 // Filter
2270 if($attr['filterShow']) {
2271 include ULTP_PATH.'blocks/template/filter.php';
2272 }
2273
2274 // Navigation
2275 if($attr['paginationShow'] && ($attr['paginationType'] == 'navigation') && ($attr['navPosition'] == 'topRight')) {
2276 include ULTP_PATH.'blocks/template/navigation-before.php';
2277 }
2278 $wraper_before .= '</div>';
2279 }
2280
2281 $wraper_before .= '</div>';
2282 $wraper_before .= '</div>';
2283 }
2284
2285 $wraper_before .= '<div class="ultp-block-items-wrap ultp-block-content-'.$attr['varticalAlign'].' ultp-block-content-'.$attr['imgFlip'].'">';
2286 $idx = $noAjax ? 1 : 0;
2287 while ( $recent_posts->have_posts() ): $recent_posts->the_post();
2288
2289 include ULTP_PATH.'blocks/template/data.php';
2290
2291 include ULTP_PATH.'blocks/template/category.php';
2292
2293 $post_loop .= '<div class="ultp-block-item ultp-block-media">';
2294 $post_loop .= '<div class="ultp-block-content-wrap">';
2295 if( has_post_thumbnail() && $attr['showImage'] ){
2296 $post_loop .= '<div class="ultp-block-image ultp-block-image-'.$attr['imgAnimation'].($attr["imgOverlay"] ? ' ultp-block-image-overlay ultp-block-image-'.$attr["imgOverlayType"].' ultp-block-image-'.$attr["imgOverlayType"].$idx : '' ).'">';
2297 if ($idx == 0) {
2298 $post_loop .= '<a href="'.$titlelink.'"><img alt="'.$title.'" src="'.wp_get_attachment_image_url( $post_thumb_id, ($attr['imgCrop'] ? $attr['imgCrop'] : 'full') ).'" /></a>';
2299 } else {
2300 $post_loop .= '<a href="'.$titlelink.'"><img alt="'.$title.'" src="'.wp_get_attachment_image_url( $post_thumb_id, ($attr['imgCropSmall'] ? $attr['imgCropSmall'] : 'full') ).'" /></a>';
2301 }
2302 if( ($attr['catPosition'] != 'aboveTitle') && ($idx == 0 || $attr['showSmallCat']) && $attr['catShow'] ) {
2303 $post_loop .= '<div class="ultp-category-img-grid">'.$category.'</div>';
2304 }
2305 $post_loop .= '</div>';
2306 }
2307 $post_loop .= '<div class="ultp-block-content">';
2308
2309 // Category
2310 if(($attr['catPosition'] == 'aboveTitle') && ($idx == 0 || $attr['showSmallCat'] ) && $attr['catShow']) {
2311 $post_loop .= $category;
2312 }
2313
2314 // Title
2315 if ($title && $attr['titleShow'] && $attr['titlePosition'] == 1) {
2316 include ULTP_PATH.'blocks/template/title.php';
2317 }
2318
2319 // Meta
2320 include ULTP_PATH.'blocks/template/meta.php';
2321
2322 // Title
2323 if ($title && $attr['titleShow'] && $attr['titlePosition'] == 0) {
2324 include ULTP_PATH.'blocks/template/title.php';
2325 }
2326
2327 // Excerpt
2328 if(($idx == 0 || $attr['showSmallExcerpt']) && $attr['excerptShow']) {
2329 if ( $attr['showFullExcerpt']== 0 ) {
2330 $post_loop .= '<div class="ultp-block-excerpt">'.ultimate_post()->excerpt($post_id, $attr['excerptLimit']).'</div>';
2331 } else {
2332 $post_loop .= '<div class="ultp-block-excerpt">'.get_the_excerpt().'</div>';
2333 }
2334 }
2335
2336 // Read More
2337 if ($attr['readMore'] && ($idx == 0 || $attr['showSmallBtn'])) {
2338 $post_loop .= '<div class="ultp-block-readmore"><a href="'.$titlelink.'">'.($attr['readMoreText'] ? $attr['readMoreText'] : __( "Read More", "ultimate-post" )).ultimate_post()->svg_icon($attr['readMoreIcon']).'</a></div>';
2339 }
2340 $post_loop .= '</div>';
2341 $post_loop .= '</div>';
2342 $post_loop .= '</div>';
2343 $idx ++;
2344 endwhile;
2345
2346 if($attr['paginationShow'] && ($attr['paginationType'] == 'loadMore')) {
2347 $wraper_after .= '<span class="ultp-loadmore-insert-before"></span>';
2348 }
2349
2350 $wraper_after .= '</div>';//ultp-block-items-wrap
2351
2352 // Load More
2353 if ($attr['paginationShow'] && ($attr['paginationType'] == 'loadMore')) {
2354 include ULTP_PATH.'blocks/template/loadmore.php';
2355 }
2356
2357 // Navigation
2358 if ($attr['paginationShow'] && ($attr['paginationType'] == 'navigation') && ($attr['navPosition'] != 'topRight')) {
2359 include ULTP_PATH.'blocks/template/navigation-after.php';
2360 }
2361
2362 // Pagination
2363 if ($attr['paginationShow'] && ($attr['paginationType'] == 'pagination')) {
2364 include ULTP_PATH.'blocks/template/pagination.php';
2365 }
2366
2367 $wraper_after .= '</div>';
2368 $wraper_after .= '</div>';
2369
2370 wp_reset_query();
2371 }
2372
2373 return $noAjax ? $post_loop : $wraper_before.$post_loop.$wraper_after;
2374 }
2375
2376 }