equal
deleted
inserted
replaced
|
1 <?php |
|
2 /** |
|
3 * Query: Standard. |
|
4 * |
|
5 * @package WordPress |
|
6 */ |
|
7 |
|
8 return array( |
|
9 'title' => _x( 'Standard', 'Block pattern title' ), |
|
10 'blockTypes' => array( 'core/query' ), |
|
11 'categories' => array( 'query' ), |
|
12 'content' => '<!-- wp:query {"query":{"perPage":1,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} --> |
|
13 <div class="wp-block-query"> |
|
14 <!-- wp:post-template --> |
|
15 <!-- wp:post-title {"isLink":true} /--> |
|
16 <!-- wp:post-featured-image {"isLink":true,"align":"wide"} /--> |
|
17 <!-- wp:post-excerpt /--> |
|
18 <!-- wp:separator --> |
|
19 <hr class="wp-block-separator"/> |
|
20 <!-- /wp:separator --> |
|
21 <!-- wp:post-date /--> |
|
22 <!-- /wp:post-template --> |
|
23 </div> |
|
24 <!-- /wp:query -->', |
|
25 ); |