<?php 
/*
 * Single Post Template File.
 */
get_header(); ?>


<section>

    <div class="breadcumb-bg">
	<div class="deserve-container container">
    	<div class="site-breadcumb">
			<div class="row">
			 <div class="col-md-6 col-sm-6">
				<h1><?php the_title(); ?></h1>
			</div>
			
			 <div class="col-md-6 col-sm-6">
				<ol class="breadcrumb breadcrumb-menubar">
				 <?php if (function_exists('deserve_custom_breadcrumbs')) deserve_custom_breadcrumbs(); ?>
				</ol>
			</div>
			</div>
        </div>
    </div>
    </div>    


  <div class="deserve-container">       
        <div class="col-md-9 col-sm-8  dblog"> 
        
        <?php while ( have_posts() ) : the_post(); ?>
         <div  id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
             
			<div class="blog-box">
          
            	<?php $deserve_image = wp_get_attachment_image_src(get_post_thumbnail_id(get_the_id()),'large'); ?>

            	 <?php if($deserve_image[0] != "") { ?>

					<img src="<?php echo esc_url($deserve_image[0]); ?>" width="<?php echo $deserve_image[1]; ?>" height="<?php echo $deserve_image[2]; ?>"  alt="<?php the_title(); ?>" class="img-responsive" />
	
                <?php } ?>
                   <div class="post-data">
					
					<h2 class="single-page-title"><?php the_title(); ?></h2>
					
					 <div class="post-meta">
						<ul>
							<?php deserve_entry_meta(); ?>
												
						</ul>
                    
                    </div>
                                          
                   
                     <?php the_content(); ?>
                   
                </div>         
            </div>	
            
            </div>		
	
			      <?php endwhile; ?> 
		
			      
			      <div class="prev-next-pagination">
					  
					 <?php wp_link_pages(); ?> 
					<nav class="deserve-nav"> 
						<?php
						 // Previous/next post navigation.
						 deserve_pagination();
						 ?>
					</nav>
			  <!-- .nav-single -->
            </div>
			
			
			<div class="comments-article">
				 <?php comments_template(); ?>
			</div>

        </div>
		
      
       
       <?php get_sidebar(); ?>  
    
    
    </div>

</section>

<?php get_footer(); ?>
