[ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Query: Small image and title. 4 * 5 * @package WordPress 6 */ 7 8 return array( 9 'title' => _x( 'Small image and title', 'Block pattern title' ), 10 'blockTypes' => array( 'core/query' ), 11 'categories' => array( 'query' ), 12 'content' => '<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} --> 13 <div class="wp-block-query"> 14 <!-- wp:post-template --> 15 <!-- wp:columns {"verticalAlignment":"center"} --> 16 <div class="wp-block-columns are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"25%"} --> 17 <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:25%"><!-- wp:post-featured-image {"isLink":true} /--></div> 18 <!-- /wp:column --> 19 <!-- wp:column {"verticalAlignment":"center","width":"75%"} --> 20 <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:75%"><!-- wp:post-title {"isLink":true} /--></div> 21 <!-- /wp:column --></div> 22 <!-- /wp:columns --> 23 <!-- /wp:post-template --> 24 </div> 25 <!-- /wp:query -->', 26 );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Dec 25 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |