| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Grid of posts block pattern 4 * 5 * @package WordPress 6 * @subpackage Twenty_Twenty_Two 7 * @since Twenty Twenty-Two 1.0 8 */ 9 10 return array( 11 'title' => __( 'Grid of posts', 'twentytwentytwo' ), 12 'categories' => array( 'query' ), 13 'blockTypes' => array( 'core/query' ), 14 'content' => '<!-- wp:query {"query":{"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","sticky":"","perPage":12},"displayLayout":{"type":"flex","columns":3},"align":"wide","layout":{"inherit":true}} --> 15 <div class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide"} --> 16 <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"318px"} /--> 17 18 <!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /--> 19 20 <!-- wp:post-excerpt /--> 21 22 <!-- wp:post-date {"format":"F j, Y","isLink":true,"fontSize":"small"} /--> 23 <!-- /wp:post-template --> 24 25 <!-- wp:separator {"align":"wide","className":"is-style-wide"} --> 26 <hr class="wp-block-separator alignwide is-style-wide"/> 27 <!-- /wp:separator --> 28 29 <!-- wp:query-pagination {"paginationArrow":"arrow","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} --> 30 <!-- wp:query-pagination-previous {"fontSize":"small"} /--> 31 32 <!-- wp:query-pagination-numbers /--> 33 34 <!-- wp:query-pagination-next {"fontSize":"small"} /--> 35 <!-- /wp:query-pagination --></div> 36 <!-- /wp:query -->', 37 );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Sat Aug 8 08:20:21 2026 | Cross-referenced by PHPXref |