summaryrefslogtreecommitdiffstats
path: root/wp-content/themes/twentytwentyfour/patterns/posts-images-only-offset-4-col.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
commita415c29efee45520ae252d2aa28f1083a521cd7b (patch)
treef4ade4b6668ecc0765de7e1424f7c1427ad433ff /wp-content/themes/twentytwentyfour/patterns/posts-images-only-offset-4-col.php
parentInitial commit. (diff)
downloadwordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.tar.xz
wordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.zip
Adding upstream version 6.4.3+dfsg1.upstream/6.4.3+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-content/themes/twentytwentyfour/patterns/posts-images-only-offset-4-col.php')
-rw-r--r--wp-content/themes/twentytwentyfour/patterns/posts-images-only-offset-4-col.php83
1 files changed, 83 insertions, 0 deletions
diff --git a/wp-content/themes/twentytwentyfour/patterns/posts-images-only-offset-4-col.php b/wp-content/themes/twentytwentyfour/patterns/posts-images-only-offset-4-col.php
new file mode 100644
index 0000000..808754b
--- /dev/null
+++ b/wp-content/themes/twentytwentyfour/patterns/posts-images-only-offset-4-col.php
@@ -0,0 +1,83 @@
+<?php
+/**
+ * Title: Offset posts with featured images only, 4 columns
+ * Slug: twentytwentyfour/posts-images-only-offset-4-col
+ * Categories: posts
+ */
+?>
+
+<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
+<div class="wp-block-group alignfull" style="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:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"0","left":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"}}}} -->
+ <div class="wp-block-columns alignwide" style="margin-top:0;margin-bottom:0">
+ <!-- wp:column {"style":{"spacing":{"blockGap":"0"}}} -->
+ <div class="wp-block-column">
+ <!-- wp:query {"query":{"perPage":"3","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
+ <div class="wp-block-query">
+ <!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"default"}} -->
+ <!-- wp:post-featured-image {"isLink":true,"align":"wide","style":{"spacing":{"margin":{"bottom":"0"}}}} /-->
+ <!-- /wp:post-template -->
+ </div>
+ <!-- /wp:query -->
+ </div>
+ <!-- /wp:column -->
+
+ <!-- wp:column {"style":{"spacing":{"blockGap":"0","padding":{"top":"0"}}}} -->
+ <div class="wp-block-column" style="padding-top:0">
+ <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
+ <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer">
+ </div>
+ <!-- /wp:spacer -->
+
+ <!-- wp:query {"query":{"perPage":"3","pages":0,"offset":"3","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false}} -->
+ <div class="wp-block-query">
+ <!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"default"}} -->
+ <!-- wp:post-featured-image {"isLink":true,"align":"wide","style":{"spacing":{"margin":{"bottom":"0","top":"0"}}}} /-->
+ <!-- /wp:post-template -->
+ </div>
+ <!-- /wp:query -->
+
+ <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
+ <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer">
+ </div>
+ <!-- /wp:spacer -->
+ </div>
+ <!-- /wp:column -->
+
+ <!-- wp:column {"style":{"spacing":{"blockGap":"0"}}} -->
+ <div class="wp-block-column">
+ <!-- wp:query {"query":{"perPage":"3","pages":0,"offset":"6","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false}} -->
+ <div class="wp-block-query">
+ <!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"default"}} -->
+ <!-- wp:post-featured-image {"isLink":true,"align":"wide","style":{"spacing":{"margin":{"bottom":"0"}}}} /-->
+ <!-- /wp:post-template -->
+ </div>
+ <!-- /wp:query -->
+ </div>
+ <!-- /wp:column -->
+
+ <!-- wp:column {"style":{"spacing":{"blockGap":"0","padding":{"top":"0"}}}} -->
+ <div class="wp-block-column" style="padding-top:0">
+ <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
+ <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer">
+ </div>
+ <!-- /wp:spacer -->
+
+ <!-- wp:query {"query":{"perPage":"3","pages":0,"offset":"9","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false}} -->
+ <div class="wp-block-query">
+ <!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"default"}} -->
+ <!-- wp:post-featured-image {"isLink":true,"align":"wide","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}}} /-->
+ <!-- /wp:post-template -->
+ </div>
+ <!-- /wp:query -->
+
+ <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
+ <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer">
+ </div>
+ <!-- /wp:spacer -->
+ </div>
+ <!-- /wp:column -->
+ </div>
+ <!-- /wp:columns -->
+</div>
+<!-- /wp:group -->