<?php
/**
 * Template part for displaying posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package Micologia_che_passione
 */

?>

<article id="post-<?php the_ID(); ?>" class="col-33">
	<header class="entry-header">
		<a href="<?php the_permalink(); ?>"><?php the_title( '<h2 class="entry-title">', '</h2>' ); ?></a>
	</header><!-- .entry-header -->
	<a href="<?php the_permalink(); ?>"><?php micologia_che_passione_post_thumbnail(); ?></a>
	<div class="entry-content">
		<?php the_excerpt(); ?>
		<span class="morelink small"><a href="<?php the_permalink(); ?>"><?php esc_html_e( 'Continue reading...', 'micologia-che-passione' ); ?> </a></span>
	<?php
		wp_link_pages(
			array(
				'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'micologia-che-passione' ),
				'after'  => '</div>',
			)
		);
		?>
	</div><!-- .entry-content -->
</article><!-- #post-<?php the_ID(); ?> -->
