angelovcom.net

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

query-small-posts.php (1205B)


      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":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 {"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 );