<!-- Start .wishbone_postloop -->
<article <?php post_class( 'wishbone_list_item' ) ?> id="wishbone_list-post-<?php the_ID(); ?>">



	<!-- POST DETAIL WRAPPER -->
	<div class="wishbone_list_innerpost ">
		<!-- TITLE -->
		<div class="large-12 column">
			<div class="wishbone_list_posttitle">
				<div class="wishbone_upinfo">
					<?php echo get_avatar( get_the_author_meta('ID') , 25 ); ?>
					<div class="wishbone_authorname">
						<em>by</em> <?php the_author_posts_link(); ?>
					</div>
						<!-- DATE -->
					<div class="wishbone_list_posttime">
						<a href="<?php the_permalink(); ?>" class="wishbone_list_date">
							<?php lnr_icon('lnr-clock') ?>
							<em>on</em>
							<?php echo get_the_time(get_option('date_format'), $post->ID); ?>
						</a>

						<span class="wishbone_list_category">
							<?php lnr_icon('lnr-bookmark') ?>
							<em>in</em> <?php the_category( ' - ' ) ?>
						</span>
					</div>
				</div> <!-- .wishbone_upinfo -->

				<h2><a href="<?php the_permalink(); ?>"><?php the_title() ?></a></h2>
			</div> <!-- end .wishbone_posttitle -->
		</div>


		<div class="large-4 column">
			<?php
				if( has_post_thumbnail() ){
					the_post_thumbnail( 'medium' );
				}
			?>
		</div>

		<div class="large-8 column">



			<!-- POST TEXT -->
			<div class="wishbone_list_postexcerpt">
				<?php
				$content = '';
				$content = get_the_excerpt();
				$trimmed_content = wp_trim_words( $content, 35, null );
				echo '<p>';
				echo wishbone_pass_html( $trimmed_content );
				echo '</p>';
				?>
			</div> <!-- end .wishbone_postexcerpt -->
		</div>
		<div class="clear"></div>

	</div> <!-- end .wishbone_innerpost -->


	<!-- READMORE -->
	<div class="wishbone_list_bottom">
		<div class="wishbone_list_readmore left">
			<?php echo wishbone_get_simple_likes_button( $post->ID ); ?>
			<a href="<?php the_permalink() ?>#comments">
				<?php lnr_icon('lnr-bubble'); echo get_comments_number(); ?>
			</a>
		</div> <!-- end .wishbone_readmore -->

		<div class="wishbone_list_footer right">
			<a href="<?php the_permalink() ?>" class="wishbone_list_more"><?php esc_html_e('CONTINUE READING', 'jt-wishbone') ?> <?php lnr_icon('lnr-arrow-right'); ?></a>
		</div>
		<div class="clear"></div>
	</div>
	<div class="clear"></div>
</article> <!-- end .wishbone_postloop -->
