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

?>

<article id="post-<?php the_ID(); ?>" class="col-xl-6">
	<div class="blog-item mb-30">

		<div class="blog-content">
			<div class="post-meta">
				<span class="post-author"><?php edify_posted_by();?></span>
				<span class="post-date"><i class="fa fa-calendar-alt mr-2"></i><?php echo get_the_time('M d, Y');?></span>
				
			</div>
			<h3 class="post-title"> <a href="<?php the_permalink();?>"><?php the_title();?></a></h3>
			
			<?php echo edify_trip_content(18);?>
			<?php wp_link_pages(
			array(
				'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'edify' ),
				'after'  => '</div>',
			)
		); ?>
		</div>
	</div>
</article>