<?php
/*
Template Name: Left Sidebar Layout
Template Post Type: post, page, event
*/
?>
<?php get_header();  
if (have_posts()) : while (have_posts()) : the_post();
?>

<?php if(has_post_format('quote')){?>
    <div class="container">
    <?php get_template_part('/post-types/post-quote-post' );} else {?>  
    
      
<div class="dnnc_single dnnc_sidebar_left" itemscope itemtype="http://schema.org/NewsArticle">
<meta itemscope itemprop="mainEntityOfPage"  content=""  itemType="https://schema.org/WebPage" itemid="<?php the_permalink(); ?>"/>

<div class="<?php if ( has_post_thumbnail()){echo 'dnnc_page_header dnnc_page_header_image';} else {echo 'dnnc_page_header page-header-plain';};?>">

    <?php if ( has_post_thumbnail()){
		
		the_post_thumbnail('sorsele_header',array('class' => 'dnnc_tranz dnnc_hero_img'));
    
    } ?>
    
    <div class="dnnc_container">
    
    	<div class="dnnc_column dnnc_column_12">
        
        	<div class="dnnc_post_head">
        
                <h1 class="post_title large_title"><span itemprop="name"><?php the_title(); ?></span></h1>
                
                <?php if (is_single()) {
                    sorsele_meta_front();
                } ?>
            
            </div>
        
        </div>
    
    </div>
        
</div>

<div id="dnnc_single_core" <?php post_class(); ?>>
   
    <div class="dnnc_container">
    
    	<div id="content_start" class="dnnc_anchor"></div>

        <div id="content" class="dnnc_column dnnc_content">
            
            <?php get_template_part('/single-content' ); ?>
               
        </div><!-- end #content -->
    
        <?php get_sidebar(); ?>
   
    </div><!-- end .postbar -->
    
</div> 

<?php }?>
        
        <?php endwhile; else: ?>
        
            <p><?php esc_html_e('Sorry, no posts matched your criteria','sorsele');?>.</p>
        
        <?php endif; ?>

</div><!-- end NewsArticle -->
   
<?php get_footer(); ?>