<?php
/**
 * The template part for displaying single posts
 *
 * @package WordPress
 * @subpackage menda
 * @since menda Theme 1.0
 */
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	
	<div class="img-responsive"><?php ebid_post_thumbnail(); ?></div>

	<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>

	<?php ebid_excerpt(); ?>
	
	<div class="single-content">	  
		<?php
			the_content();

	    	wp_link_pages( array(
				'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'menda' ) . '</span>',
				'after'       => '</div>',
				'link_before' => '<span>',
				'link_after'  => '</span>',
				'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'menda' ) . ' </span>%',
				'separator'   => '<span class="screen-reader-text">, </span>',
			) );

			if ( '' !== get_the_author_meta( 'description' ) ) {
				get_template_part( 'template-parts/biography' );
			}
		?>
	</div>

	<?php  //ebid_entry_meta(); ?>

	<div class="clearfix"> </div>
	
	<?php if ( has_tag() ): ?>

		<div class="single-tag">
			
			<div class="tag-title col-sm-1 col-md-1">
				<?php esc_html_e( 'tags :' , 'menda' ); ?>
			</div>
			
			<div class="tag-view col-sm-11 col-md-11">
				<?php the_tags( '<ul><li>', '</li><li>', '</li></ul>' ); ?>
		    </div>

	    	<div class="clearfix"> </div>

		</div>

	<?php endif; ?>		

</article><!-- #post-## -->