[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Title: List of posts, 3 columns 4 * Slug: twentytwentyfour/posts-3-col 5 * Categories: query 6 * Block Types: core/query 7 */ 8 ?> 9 10 <!-- wp:query {"query":{"perPage":10,"pages":0,"offset":"0","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"wide","layout":{"type":"default"}} --> 11 <div class="wp-block-query alignwide"> 12 <!-- wp:query-no-results --> 13 <!-- wp:pattern {"slug":"twentytwentyfour/hidden-no-results"} /--> 14 <!-- /wp:query-no-results --> 15 16 <!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} --> 17 <div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:0"> 18 19 <!-- wp:post-template {"align":"full","style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"grid","columnCount":3}} --> 20 21 <!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/4","style":{"spacing":{"margin":{"bottom":"0"},"padding":{"bottom":"var:preset|spacing|20"}}}} /--> 22 23 <!-- wp:group {"style":{"spacing":{"blockGap":"10px","margin":{"top":"var:preset|spacing|20"},"padding":{"top":"0"}}},"layout":{"type":"flex","orientation":"vertical","flexWrap":"nowrap"}} --> 24 <div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--20);padding-top:0"> 25 <!-- wp:post-title {"isLink":true,"style":{"layout":{"flexSize":"min(2.5rem, 3vw)","selfStretch":"fixed"}},"fontSize":"large"} /--> 26 27 <!-- wp:template-part {"slug":"post-meta"} /--> 28 29 <!-- wp:post-excerpt {"style":{"layout":{"flexSize":"min(2.5rem, 3vw)","selfStretch":"fixed"}},"textColor":"contrast-2","fontSize":"small"} /--> 30 31 <!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"min(2.5rem, 3vw)","selfStretch":"fixed"}}} --> 32 <div style="height:0px" aria-hidden="true" class="wp-block-spacer"> 33 </div> 34 <!-- /wp:spacer --> 35 </div> 36 <!-- /wp:group --> 37 38 <!-- /wp:post-template --> 39 40 <!-- wp:spacer {"height":"var:preset|spacing|40","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}}} --> 41 <div style="margin-top:0;margin-bottom:0;height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div> 42 <!-- /wp:spacer --> 43 44 <!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} --> 45 <!-- wp:query-pagination-previous /--> 46 <!-- wp:query-pagination-next /--> 47 <!-- /wp:query-pagination --> 48 49 </div> 50 <!-- /wp:group --> 51 </div> 52 <!-- /wp:query -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Tue Apr 30 08:20:01 2024 | Cross-referenced by PHPXref |