Skip to content

Commit 6e96a3b

Browse files
authored
Update posts-4.php
1 parent 48a5b88 commit 6e96a3b

1 file changed

Lines changed: 11 additions & 27 deletions

File tree

inc/patterns/loops/posts-4.php

Lines changed: 11 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -17,37 +17,21 @@
1717
'categories' => array( 'eduacademy', 'posts' ),
1818
'keywords' => array( 'posts', 'loop', 'blog' ),
1919
'content' => '
20-
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"blockGap":"40px","margin":{"top":"0px","bottom":"0px"}}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
21-
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained","justifyContent":"left"}} -->
22-
<div class="wp-block-group"><!-- wp:paragraph {"align":"center","style":{"typography":{"textTransform":"uppercase","fontStyle":"normal","fontWeight":"700"},"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}},"textColor":"ti-accent","fontSize":"small"} -->
23-
<p class="has-text-align-center has-ti-accent-color has-text-color has-link-color has-small-font-size" style="font-style:normal;font-weight:700;text-transform:uppercase"><strong>Sanctus Ipsum</strong></p>
24-
<!-- /wp:paragraph -->
20+
<!-- wp:group {"metadata":{"name":"Posts 4"},"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"blockGap":"40px","margin":{"top":"0px","bottom":"0px"}}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
21+
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:query {"queryId":1,"query":{"perPage":2,"pages":"3","offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide"} -->
22+
<div class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide","layout":{"type":"grid","columnCount":2}} -->
23+
<!-- wp:group {"style":{"spacing":{"blockGap":"0"},"border":{"radius":"16px"}},"layout":{"type":"constrained"}} -->
24+
<div class="wp-block-group" style="border-radius:16px"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/2","style":{"border":{"radius":{"topLeft":"16px","topRight":"16px"}}}} /-->
2525
26-
<!-- wp:heading {"textAlign":"center"} -->
27-
<h2 class="wp-block-heading has-text-align-center">Gloria in excelsis Deo, et pax hominibus bonae voluntatis.</h2>
28-
<!-- /wp:heading -->
26+
<!-- wp:group {"style":{"spacing":{"blockGap":"16px","padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}},"border":{"radius":{"bottomLeft":"16px","bottomRight":"16px"}}},"backgroundColor":"ti-bg","layout":{"type":"constrained"}} -->
27+
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-bottom-left-radius:16px;border-bottom-right-radius:16px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"><!-- wp:post-date {"style":{"typography":{"textTransform":"none"}},"fontSize":"small"} /-->
2928
30-
<!-- wp:separator {"align":"center","backgroundColor":"ti-accent"} -->
31-
<hr class="wp-block-separator aligncenter has-text-color has-ti-accent-color has-alpha-channel-opacity has-ti-accent-background-color has-background"/>
32-
<!-- /wp:separator --></div>
33-
<!-- /wp:group -->
34-
35-
<!-- wp:query {"queryId":1,"query":{"perPage":3,"pages":"3","offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide"} -->
36-
<div class="wp-block-query alignwide"><!-- wp:post-template {"layout":{"type":"grid","columnCount":3}} -->
37-
<!-- wp:post-featured-image {"isLink":true,"style":{"border":{"radius":"8px"}}} /-->
29+
<!-- wp:post-title {"isLink":true} /-->
3830
39-
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
40-
<div class="wp-block-group"><!-- wp:post-date {"textAlign":"center","style":{"typography":{"fontStyle":"normal","fontWeight":"700","textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}},"textColor":"ti-accent","fontSize":"small"} /-->
41-
42-
<!-- wp:post-title {"textAlign":"center","level":3,"isLink":true} /--></div>
31+
<!-- wp:post-excerpt {"moreText":"Continue Reading","style":{"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}}} /--></div>
32+
<!-- /wp:group --></div>
4333
<!-- /wp:group -->
44-
<!-- /wp:post-template -->
45-
46-
<!-- wp:query-no-results {"backgroundColor":"ti-bg"} -->
47-
<!-- wp:paragraph {"align":"center","placeholder":"Add text or blocks that will display when a query returns no results.","backgroundColor":"ti-bg-alt"} -->
48-
<p class="has-text-align-center has-ti-bg-alt-background-color has-background">No Posts were found</p>
49-
<!-- /wp:paragraph -->
50-
<!-- /wp:query-no-results --></div>
34+
<!-- /wp:post-template --></div>
5135
<!-- /wp:query --></div>
5236
<!-- /wp:group -->
5337
',

0 commit comments

Comments
 (0)