[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Query: Grid.
   4   *
   5   * @package WordPress
   6   */
   7  
   8  return array(
   9      'title'      => _x( 'Grid', 'Block pattern title' ),
  10      'blockTypes' => array( 'core/query' ),
  11      'categories' => array( 'query' ),
  12      'content'    => '<!-- wp:query {"query":{"perPage":6,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3}} -->
  13                      <div class="wp-block-query">
  14                      <!-- wp:post-template -->
  15                      <!-- wp:group {"style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}},"layout":{"inherit":false}} -->
  16                      <div class="wp-block-group" style="padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px"><!-- wp:post-title {"isLink":true} /-->
  17                      <!-- wp:post-excerpt /-->
  18                      <!-- wp:post-date /--></div>
  19                      <!-- /wp:group -->
  20                      <!-- /wp:post-template -->
  21                      </div>
  22                      <!-- /wp:query -->',
  23  );


Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref