<?php
/**
 * The template part for displaying results in search pages
 *
 * @package WordPress
 * @subpackage Twenty_Sixteen
 * @since Twenty Sixteen 1.0
 */
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<li class="col-md-12 col-sm-12 col-xs-12" style="list-style:none;">
									<div class="row">
										<div class="first-blog">
										    <h2><a href="<?php echo get_permalink(); ?>"><?php echo the_title(); ?></a></h2>
										    <h3 class="col-md-6 col-sm-6 col-xs-12">
												<i class="fa fa-calendar" aria-hidden="true"></i>
												<?php echo get_the_date();?>
											</h3>
											<h3 class="col-md-6 col-sm-6 col-xs-12">
												<i class="fa fa-comments" aria-hidden="true"></i>
												<?php comments_number(); ?>
											</h3>
											<div class="thumb">
											<a href="<?php echo get_permalink(); ?>"><?php the_post_thumbnail('large'); ?></a></div>
											<p class="singlecontent"><?php echo wp_trim_words( get_the_excerpt() ); ?></p>
											
											<div class="readmore">
												<div class="on-center">
													<a href="<?php echo get_permalink(); ?>" class="btn"><span class="btn_text">Read more</span></a>
												</div>
											</div>
										</div>
									</div>
								</li>
</article><!-- #post-## -->

