[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Query: Offset. 4 * 5 * @package WordPress 6 */ 7 8 return array( 9 'title' => _x( 'Offset', 'Block pattern title' ), 10 'blockTypes' => array( 'core/query' ), 11 'categories' => array( 'query' ), 12 'content' => '<!-- wp:group {"style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}},"layout":{"inherit":false}} --> 13 <div class="wp-block-group" style="padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px"><!-- wp:columns --> 14 <div class="wp-block-columns"><!-- wp:column {"width":"50%"} --> 15 <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"}} --> 16 <div class="wp-block-query"><!-- wp:post-template --> 17 <!-- wp:post-featured-image /--> 18 <!-- wp:post-title /--> 19 <!-- wp:post-date /--> 20 <!-- wp:spacer {"height":200} --> 21 <div style="height:200px" aria-hidden="true" class="wp-block-spacer"></div> 22 <!-- /wp:spacer --> 23 <!-- /wp:post-template --></div> 24 <!-- /wp:query --></div> 25 <!-- /wp:column --> 26 <!-- wp:column {"width":"50%"} --> 27 <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"}} --> 28 <div class="wp-block-query"><!-- wp:post-template --> 29 <!-- wp:spacer {"height":200} --> 30 <div style="height:200px" aria-hidden="true" class="wp-block-spacer"></div> 31 <!-- /wp:spacer --> 32 <!-- wp:post-featured-image /--> 33 <!-- wp:post-title /--> 34 <!-- wp:post-date /--> 35 <!-- /wp:post-template --></div> 36 <!-- /wp:query --></div> 37 <!-- /wp:column --></div> 38 <!-- /wp:columns --></div> 39 <!-- /wp:group -->', 40 );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Sun Dec 22 08:20:01 2024 | Cross-referenced by PHPXref |