2021-05-21 07:13:57 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Query: Offset.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
*/
|
|
|
|
|
|
|
|
return array(
|
2021-05-24 09:53:56 -04:00
|
|
|
'title' => _x( 'Offset', 'Block pattern title' ),
|
2021-05-21 07:13:57 -04:00
|
|
|
'blockTypes' => array( 'core/query' ),
|
|
|
|
'categories' => array( 'query' ),
|
2021-06-25 11:52:22 -04:00
|
|
|
'content' => '<!-- 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:columns -->
|
2021-05-21 07:13:57 -04:00
|
|
|
<div class="wp-block-columns"><!-- wp:column {"width":"50%"} -->
|
2022-04-12 05:26:16 -04:00
|
|
|
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:query {"query":{"perPage":2,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"list"}} -->
|
2021-06-08 13:33:22 -04:00
|
|
|
<div class="wp-block-query"><!-- wp:post-template -->
|
2021-05-21 07:13:57 -04:00
|
|
|
<!-- wp:post-featured-image /-->
|
|
|
|
<!-- wp:post-title /-->
|
|
|
|
<!-- wp:post-date /-->
|
|
|
|
<!-- wp:spacer {"height":200} -->
|
|
|
|
<div style="height:200px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
|
|
<!-- /wp:spacer -->
|
2021-06-08 13:33:22 -04:00
|
|
|
<!-- /wp:post-template --></div>
|
2021-05-21 07:13:57 -04:00
|
|
|
<!-- /wp:query --></div>
|
|
|
|
<!-- /wp:column -->
|
|
|
|
<!-- wp:column {"width":"50%"} -->
|
2022-04-12 05:26:16 -04:00
|
|
|
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:query {"query":{"perPage":2,"pages":0,"offset":2,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"list"}} -->
|
2021-06-08 13:33:22 -04:00
|
|
|
<div class="wp-block-query"><!-- wp:post-template -->
|
2021-05-21 07:13:57 -04:00
|
|
|
<!-- wp:spacer {"height":200} -->
|
|
|
|
<div style="height:200px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
|
|
<!-- /wp:spacer -->
|
|
|
|
<!-- wp:post-featured-image /-->
|
|
|
|
<!-- wp:post-title /-->
|
|
|
|
<!-- wp:post-date /-->
|
2021-06-08 13:33:22 -04:00
|
|
|
<!-- /wp:post-template --></div>
|
2021-05-21 07:13:57 -04:00
|
|
|
<!-- /wp:query --></div>
|
|
|
|
<!-- /wp:column --></div>
|
2021-06-25 11:52:22 -04:00
|
|
|
<!-- /wp:columns --></div>
|
2021-05-21 07:13:57 -04:00
|
|
|
<!-- /wp:group -->',
|
|
|
|
);
|