2021-05-21 13:13:57 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Query: Grid.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
*/
|
|
|
|
|
|
|
|
return array(
|
2021-05-24 15:53:56 +02:00
|
|
|
'title' => _x( 'Grid', 'Block pattern title' ),
|
2021-05-21 13:13:57 +02:00
|
|
|
'blockTypes' => array( 'core/query' ),
|
|
|
|
'categories' => array( 'query' ),
|
2022-04-12 11:26:16 +02:00
|
|
|
'content' => '<!-- wp:query {"query":{"perPage":6,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3}} -->
|
2021-05-21 13:13:57 +02:00
|
|
|
<div class="wp-block-query">
|
2021-06-08 19:33:22 +02:00
|
|
|
<!-- wp:post-template -->
|
2021-06-25 17:52:22 +02:00
|
|
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}},"layout":{"inherit":false}} -->
|
|
|
|
<div class="wp-block-group" style="padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px"><!-- wp:post-title {"isLink":true} /-->
|
2021-07-15 20:55:29 +02:00
|
|
|
<!-- wp:post-excerpt /-->
|
2021-05-21 13:13:57 +02:00
|
|
|
<!-- wp:post-date /--></div>
|
|
|
|
<!-- /wp:group -->
|
2021-06-08 19:33:22 +02:00
|
|
|
<!-- /wp:post-template -->
|
2021-05-21 13:13:57 +02:00
|
|
|
</div>
|
|
|
|
<!-- /wp:query -->',
|
|
|
|
);
|