PHP Classes

File: wordpress/wp-includes/block-patterns/query-standard-posts.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   WordPress Docker Swarm   wordpress/wp-includes/block-patterns/query-standard-posts.php   Download  
File: wordpress/wp-includes/block-patterns/query-standard-posts.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: WordPress Docker Swarm
Deploy WordPress to multiple containers
Author: By
Last change:
Date: 15 days ago
Size: 808 bytes
 

Contents

Class file image Download
<?php
/**
 * Query: Standard.
 *
 * @package WordPress
 */

return array(
   
'title' => _x( 'Standard', 'Block pattern title' ),
   
'blockTypes' => array( 'core/query' ),
   
'categories' => array( 'query' ),
   
'content' => '<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
                    <div class="wp-block-query">
                    <!-- wp:post-template -->
                    <!-- wp:post-title {"isLink":true} /-->
                    <!-- wp:post-featured-image {"isLink":true,"align":"wide"} /-->
                    <!-- wp:post-excerpt /-->
                    <!-- wp:separator -->
                    <hr class="wp-block-separator"/>
                    <!-- /wp:separator -->
                    <!-- wp:post-date /-->
                    <!-- /wp:post-template -->
                    </div>
                    <!-- /wp:query -->'
,
);