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