[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/block-patterns/ -> query-medium-posts.php (source)

   1  <?php
   2  /**
   3   * Query: Image at left.
   4   *
   5   * @package WordPress
   6   */
   7  
   8  return array(
   9      'title'      => _x( 'Image at left', '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 {"align":"wide"} -->
  16                      <div class="wp-block-columns alignwide"><!-- wp:column {"width":"66.66%"} -->
  17                      <div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:post-featured-image {"isLink":true} /--></div>
  18                      <!-- /wp:column -->
  19                      <!-- wp:column {"width":"33.33%"} -->
  20                      <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:post-title {"isLink":true} /-->
  21                      <!-- wp:post-excerpt /--></div>
  22                      <!-- /wp:column --></div>
  23                      <!-- /wp:columns -->
  24                      <!-- /wp:post-template -->
  25                      </div>
  26                      <!-- /wp:query -->',
  27  );


Generated: Sat Apr 27 01:00:02 2024 Cross-referenced by PHPXref 0.7.1