File "blog-grid-cols-3.php"

Full Path: /home/ycoalition/public_html/blog/wp-content/themes/panama/patterns/blog-grid-cols-3.php
File size: 2.11 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * Title: Three column grid with featured image, title, and post date.
 * Slug: poe/blog-grid-cols-3
 * Categories: poe-blog
 */
?>
<!-- wp:group {"align":"wide","layout":{"inherit":true}} -->
<div class="wp-block-group alignwide">
	<!-- wp:query {"queryId":1,"query":{"perPage":"10","pages":"100","offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","sticky":"","inherit":true},"displayLayout":{"type":"flex","columns":3},"align":"wide"} -->
	<div class="wp-block-query alignwide">
		<!-- wp:post-template -->
		<!-- wp:post-featured-image {"isLink":true,"style":{"spacing":{"margin":{"bottom":"1em"}}}} /-->

		<!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"0px","bottom":"0.33em"}}},"fontSize":"heading-6"} /-->

		<!-- wp:post-date {"isLink":true,"textColor":"secondary","fontSize":"heading-6"} /-->
		<!-- /wp:post-template -->

		<!-- wp:group {"layout":{"inherit":true}} -->
		<div class="wp-block-group">
			<!-- wp:group {"align":"wide"} -->
			<div class="wp-block-group alignwide">
				<!-- wp:separator {"color":"tertiary","className":"is-style-wide"} -->
				<hr class="wp-block-separator has-text-color has-background has-tertiary-background-color has-tertiary-color is-style-wide" />
				<!-- /wp:separator -->

				<!-- wp:group {"style":{"spacing":{"padding":{"top":"1em","bottom":"1em"}}}} -->
				<div class="wp-block-group" style="padding-top:1em;padding-bottom:1em">
					<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
					<!-- wp:query-pagination-previous {"fontSize":"heading-6"} /-->

					<!-- wp:query-pagination-next {"fontSize":"heading-6"} /-->
					<!-- /wp:query-pagination -->
				</div>
				<!-- /wp:group -->

				<!-- wp:separator {"color":"tertiary","className":"is-style-wide"} -->
				<hr class="wp-block-separator has-text-color has-background has-tertiary-background-color has-tertiary-color is-style-wide" />
				<!-- /wp:separator -->
			</div>
			<!-- /wp:group -->
		</div>
		<!-- /wp:group -->
	</div>
	<!-- /wp:query -->
</div>
<!-- /wp:group -->