File "general-previews-columns-small.php"

Full Path: /home/ycoalition/public_html/blog/wp-content/themes/poe/patterns/general-previews-columns-small.php
File size: 2.51 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * Title: Compact latest news section with three posts.
 * Slug: poe/general-previews-columns-small
 * Categories: poe-general
 */
?>
<!-- wp:group {"align":"wide"} -->
<div class="wp-block-group alignwide">
	<!-- wp:group -->
	<div class="wp-block-group">
		<!-- wp:separator {"backgroundColor":"tertiary","className":"is-style-wide"} -->
		<hr
			class="wp-block-separator has-text-color has-tertiary-color has-alpha-channel-opacity has-tertiary-background-color has-background is-style-wide" />
		<!-- /wp:separator -->

		<!-- wp:columns {"verticalAlignment":"center","style":{"spacing":{"margin":{"bottom":"32px"}}}} -->
		<div class="wp-block-columns are-vertically-aligned-center" style="margin-bottom:32px">
			<!-- wp:column {"verticalAlignment":"center"} -->
			<div class="wp-block-column is-vertically-aligned-center">
				<!-- wp:heading {"level":4} -->
				<h4>Latest News</h4>
				<!-- /wp:heading -->
			</div>
			<!-- /wp:column -->

			<!-- wp:column {"verticalAlignment":"center"} -->
			<div class="wp-block-column is-vertically-aligned-center">
			</div>
			<!-- /wp:column -->
		</div>
		<!-- /wp:columns -->
	</div>
	<!-- /wp:group -->

	<!-- wp:query {"queryId":27,"query":{"perPage":"3","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3},"align":"wide"} -->
	<div class="wp-block-query alignwide">
		<!-- wp:post-template -->
		<!-- wp:group {"align":"wide","style":{"border":{"radius":"16px"},"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
		<div class="wp-block-group alignwide" style="border-radius:16px;margin-top:0px;margin-bottom:0px">
			<!-- wp:columns {"align":"wide"} -->
			<div class="wp-block-columns alignwide">
				<!-- wp:column {"width":"100px"} -->
				<div class="wp-block-column" style="flex-basis:100px">
					<!-- wp:post-featured-image {"isLink":true,"width":"100px","height":"100px"} /-->
				</div>
				<!-- /wp:column -->

				<!-- wp:column {"width":""} -->
				<div class="wp-block-column">
					<!-- wp:post-date {"isLink":true,"textColor":"secondary","fontSize":"heading-6"} /-->

					<!-- wp:post-title {"level":3,"isLink":true,"style":{"spacing":{"margin":{"top":"0.25em"}}},"fontSize":"heading-6"} /-->

					<!-- wp:post-excerpt {"moreText":"Read More","fontSize":"small"} /-->
				</div>
				<!-- /wp:column -->
			</div>
			<!-- /wp:columns -->
		</div>
		<!-- /wp:group -->
		<!-- /wp:post-template -->
	</div>
	<!-- /wp:query -->
</div>
<!-- /wp:group -->