<!-- Start .wishbone_masonry_item -->
<?php 
	$nothumbclass = '';
	if( !has_post_thumbnail() ){
		$nothumbclass = " wishbone_nothumb";
	}
?>
<article <?php post_class( 'wishbone_masonry_item' . $nothumbclass ) ?> id="wishbone_msn-post-<?php the_ID(); ?>">
	<div class="wishbone_widfakebg"></div>
	<!-- POST THUMBNAIL -->
	<div class="wishbone_msn_postthumb">
		<?php 
		if( has_post_thumbnail() ) { ?>
			<a href="<?php the_permalink(); ?>">
				<?php the_post_thumbnail( 'wishbone_masonry' );?>
			</a>
		<?php } ?>
	</div> <!-- end .wishbone_postthumb -->
	
	<!-- POST DETAIL WRAPPER -->
	<div class="wishbone_msn_innerpost">
		<!-- POST Identity -->
		<div class="wishbone_msn_postformat">
			<?php wishbone_postsymbol(); ?>
		</div>
		<!-- DATE -->
		<div class="wishbone_msn_posttime">
			<a href="<?php the_permalink(); ?>">
			<?php lnr_icon('lnr-clock') ?>
			<?php echo get_the_time(get_option('date_format'), $post->ID); ?></a> 
		</div>
		<!-- TITLE -->
		<div class="wishbone_msn_posttitle">
			<h2><a href="<?php the_permalink(); ?>"><?php the_title() ?></a></h2>
		</div> <!-- end .wishbone_posttitle -->
		
		<!-- CATEGORY -->
		<div class="wishbone_msn_postcat">
			<div class="wishbone_postcatdecor">
				<div class="wishbone_postcatdecor_inner">
					<?php the_category( ' - ' ) ?>
				</div> <!-- end .wishbone_postcat -->
			</div> <!-- end .wishbone_postcat -->
		</div> <!-- end .wishbone_postcat -->

		<!-- POST TEXT -->
		<div class="wishbone_msn_postexcerpt">
			<?php
			$content = '';
			$content = get_the_excerpt();
			$trimmed_content = wp_trim_words( $content, 25, null );
			echo '<p>';
			echo wishbone_pass_html( $trimmed_content );
			echo '</p>';
			?>
		</div> <!-- end .wishbone_postexcerpt -->
		
		<!-- READMORE -->
		<div class="wishbone_msn_readmore">
			<a href="<?php the_permalink() ?>"><?php esc_html_e('CONTINUE READING', 'jt-wishbone') ?> <?php lnr_icon('lnr-arrow-right'); ?></a>
		</div> <!-- end .wishbone_readmore -->
	</div> <!-- end .wishbone_innerpost -->
	
	<div class="wishbone_msn_postfooter">
		<div class="small-6 column">
			<?php echo wishbone_get_simple_likes_button( $post->ID ); ?>
		</div>
		<div class="small-6 column">
			<a href="<?php the_permalink() ?>">
				<svg class="lnr lnr-bubble"><use xlink:href="<?php echo get_template_directory_uri(); ?>/assets/svg/svgdefs.svg#lnr-bubble"></use></svg>
				<?php echo get_comments_number_text( '0', '1', false ) ?>
			</a>
		</div>
	</div> <!-- end .wishbone_msn_postfooter -->
</article> <!-- end .wishbone_postloop -->