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

?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="main_content text-center text-lg-left">
  <div class="single_blog">
      <div class="post_detail">
	  <?php
		if ( is_singular() ) :
			the_title( '<h2 class="blog-heading">', '</h2>' );
		else :
			the_title( '<h2 class="blog-heading"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
		endif; 
		if ( 'post' === get_post_type() ) :
			?>
			<span class="blog-text">
				<?php
				elinalite_posted_on();
				elinalite_posted_by();
				?>
			</span><!-- .entry-meta -->
		<?php endif; ?>

	<!-- thummbnaul -->
	<div class="single_img">
          <div class="post-hover-effect">
	<?php elinalite_post_thumbnail(); ?>
		</div>
		  </div>
		  <!-- end -->

	<div class="entry-content">
		<?php
		the_content(
			sprintf(
				wp_kses(
					/* translators: %s: Name of current post. Only visible to screen readers */
					__( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'elina-lite-portfolio-gallery' ),
					array(
						'span' => array(
							'class' => array(),
						),
					)
				),
				wp_kses_post( get_the_title() )
			)
		);
		wp_link_pages(
			array(
				'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'elina-lite-portfolio-gallery' ),
				'after'  => '</div>',
			)
		);
		?>
	</div> <!-- .entry-content -->

	  </div><!-- .end-blog details -->
	 </div><!-- .end-single blog -->
   </div><!-- .end main content -->
</article><!-- #post-<?php the_ID(); ?> -->
<div class="clearfix"></div>
<div class="bootom-border"></div>

