[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Query: Standard.
   4   *
   5   * @package WordPress
   6   */
   7  
   8  return array(
   9      'title'      => _x( 'Standard', '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:post-title {"isLink":true} /-->
  16                      <!-- wp:post-featured-image  {"isLink":true,"align":"wide"} /-->
  17                      <!-- wp:post-excerpt /-->
  18                      <!-- wp:separator -->
  19                      <hr class="wp-block-separator"/>
  20                      <!-- /wp:separator -->
  21                      <!-- wp:post-date /-->
  22                      <!-- /wp:post-template -->
  23                      </div>
  24                      <!-- /wp:query -->',
  25  );


Generated: Sat Nov 23 01:00:02 2024 Cross-referenced by PHPXref 0.7.1