equal
deleted
inserted
replaced
|
1 <?php |
|
2 /** |
|
3 * Query: Image at left. |
|
4 * |
|
5 * @package WordPress |
|
6 */ |
|
7 |
|
8 return array( |
|
9 'title' => _x( 'Image at left', '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:columns {"align":"wide"} --> |
|
16 <div class="wp-block-columns alignwide"><!-- wp:column {"width":"66.66%"} --> |
|
17 <div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:post-featured-image {"isLink":true} /--></div> |
|
18 <!-- /wp:column --> |
|
19 <!-- wp:column {"width":"33.33%"} --> |
|
20 <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:post-title {"isLink":true} /--> |
|
21 <!-- wp:post-excerpt /--></div> |
|
22 <!-- /wp:column --></div> |
|
23 <!-- /wp:columns --> |
|
24 <!-- /wp:post-template --> |
|
25 </div> |
|
26 <!-- /wp:query -->', |
|
27 ); |