[ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Text-based grid of posts block pattern 4 */ 5 return array( 6 'title' => __( 'Text-based grid of posts', 'twentytwentytwo' ), 7 'categories' => array( 'query' ), 8 'blockTypes' => array( 'core/query' ), 9 '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}} --> 10 <div class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide"} --> 11 12 <!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /--> 13 14 <!-- wp:post-excerpt /--> 15 16 <!-- wp:post-date {"format":"F j, Y","isLink":true,"fontSize":"small"} /--> 17 <!-- /wp:post-template --> 18 19 <!-- wp:separator {"align":"wide","className":"is-style-wide"} --> 20 <hr class="wp-block-separator alignwide is-style-wide"/> 21 <!-- /wp:separator --> 22 23 <!-- wp:query-pagination {"paginationArrow":"arrow","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} --> 24 <!-- wp:query-pagination-previous {"fontSize":"small"} /--> 25 26 <!-- wp:query-pagination-numbers /--> 27 28 <!-- wp:query-pagination-next {"fontSize":"small"} /--> 29 <!-- /wp:query-pagination --></div> 30 <!-- /wp:query -->', 31 );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Nov 21 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |