Pristine upstream, unpacked from the official wordpress.org tarball. https://wordpress.org/wordpress-7.1.1.tar.gz sha1 2a9d68474e8703aa3a66f80427b325e0941b6a1e (published by wordpress.org) sha256 3996fee13448ef12e07e9f0c77db2f655ffa1b7cde71c80a4965d3bf1fb956b3 This branch carries nothing but upstream releases, one commit each, and is never edited. It is the other side of the git-subtree merge that brings security releases into SiriusPress/wordpress/ — see SiriusPress/docs/upstream-merges.md.
49 lines
2.4 KiB
PHP
49 lines
2.4 KiB
PHP
<?php
|
|
/**
|
|
* Title: List of posts, 1 column
|
|
* Slug: twentytwentyfour/posts-1-col
|
|
* Categories: query
|
|
* Block Types: core/query
|
|
* Description: A list of posts, 1 column.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Twenty_Four
|
|
* @since Twenty Twenty-Four 1.0
|
|
*/
|
|
|
|
?>
|
|
|
|
<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":"0","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"layout":{"type":"constrained"}} -->
|
|
<div class="wp-block-query">
|
|
<!-- wp:query-no-results -->
|
|
<!-- wp:pattern {"slug":"twentytwentyfour/hidden-no-results"} /-->
|
|
<!-- /wp:query-no-results -->
|
|
|
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
|
|
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:0">
|
|
<!-- wp:post-template {"align":"full","style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"default","columnCount":3}} -->
|
|
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/2","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|20"}}}} /-->
|
|
<!-- wp:group {"style":{"spacing":{"blockGap":"8px"}},"layout":{"type":"flex","orientation":"vertical","flexWrap":"nowrap"}} -->
|
|
<div class="wp-block-group">
|
|
<!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"bottom":"0"}}},"fontSize":"x-large"} /-->
|
|
<!-- wp:template-part {"slug":"post-meta"} /-->
|
|
<!-- wp:post-excerpt {"fontSize":"small"} /-->
|
|
<!-- wp:spacer {"height":"var:preset|spacing|30"} -->
|
|
<div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer">
|
|
</div>
|
|
<!-- /wp:spacer -->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
<!-- /wp:post-template -->
|
|
<!-- wp:spacer {"height":"var:preset|spacing|50","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}}} -->
|
|
<div style="margin-top:0;margin-bottom:0;height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
|
|
<!-- /wp:spacer -->
|
|
<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
|
<!-- wp:query-pagination-previous /-->
|
|
<!-- wp:query-pagination-next /-->
|
|
<!-- /wp:query-pagination -->
|
|
|
|
</div>
|
|
<!-- /wp:group -->
|
|
</div>
|
|
<!-- /wp:query -->
|