<?php
/**
 * Title: Grid of posts, 3 columns
 * Slug: matchday/template-query-loop
 * Categories: query
 * Block Types: core/query
 * Description: A grid of posts, 3 columns, with featured image and post date.
 */
?>

<!-- wp:query {"queryId":2,"query":{"perPage":9,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[],"format":[]},"className":"matchday-query-loop"} -->
<div class="wp-block-query matchday-query-loop">
	<!-- wp:post-template {"layout":{"type":"grid","columnCount":null,"minimumColumnWidth":"21rem"}} -->
	<!-- wp:pattern {"slug":"matchday/card-post-2"} /-->
	<!-- /wp:post-template -->
	<!-- wp:group {"metadata":{"name":"Pagination Wrapper"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
	<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--50)">
		<!-- wp:query-pagination {"paginationArrow":"chevron","layout":{"type":"flex","justifyContent":"center"}} -->
		<!-- wp:query-pagination-previous {"label":"Previous"} /-->
		<!-- wp:query-pagination-numbers /-->
		<!-- wp:query-pagination-next {"label":"Next"} /-->
		<!-- /wp:query-pagination -->
	</div>
	<!-- /wp:group -->
	<!-- wp:query-no-results -->
	<!-- wp:pattern {"slug":"matchday/alert-warning"} /-->
	<!-- /wp:query-no-results -->
</div>
<!-- /wp:query -->
