CoreFiles by mySites.guru
general-featured-posts.php25 lines, 1,145 bytes, from wordpress-5.9-beta2.zip
Raw History Compare with 5.9-beta1
md5
fae8e78c73e6546a2091138bc9820df9
sha1
81408c048cd66cece985655356179d24b2999f93
sha256
e184ab9796067469a8a91da3674642848daab158809e3bc9dc2a7c6bf8364ae0
<?php
/**
 * Featured posts block pattern
 */
return array(
	'title'      => __( 'Featured posts', 'twentytwentytwo' ),
	'categories' => array( 'twentytwentytwo-general' ),
	'content'    => '<!-- wp:group {"align":"wide","layout":{"inherit":false}} -->
					<div class="wp-block-group alignwide"><!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"}}} -->
					<p style="text-transform:uppercase">' . esc_html__( 'Latest posts', 'twentytwentytwo' ) . '</p>
					<!-- /wp:paragraph -->

					<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"displayLayout":{"type":"flex","columns":3}} -->
					<div class="wp-block-query"><!-- wp:post-template -->
					<!-- wp:post-featured-image {"isLink":true,"width":"","height":"310px"} /-->

					<!-- wp:post-title {"isLink":true,"fontSize":"medium"} /-->

					<!-- wp:post-excerpt /-->

					<!-- wp:post-date {"fontSize":"small"} /-->
					<!-- /wp:post-template --></div>
					<!-- /wp:query --></div>
					<!-- /wp:group -->',
);

The same content is in 2 releases, WordPress 5.9-beta1 to 5.9-beta2. See them all, or every version of this file.