<?php get_header();
$dannci_redux = get_option( 'dannci_redux' );?>

<?php	
	
	// slider - start
	$dannci_redux = get_option( 'dannci_redux' ); 
	if (empty($dannci_redux['dnnc-slider-dis'])) {} else {
        get_template_part('includes/home-slider' );
    }
	// slider - end 
	
	?>
    
<?php // blog content - start ?>
                        
<div class="dnnc_container dnnc_container_zero">

    <div id="content_start" class="dnnc_anchor"></div>

    <div class="dnnc_box">

        <div id="content" class="dnnc_content dnnc_border_main">
                
            <div class="dnnc_blogger dnnc_columns_wrap">

            <div class="item dnnc_column dnnc_column_12 placeholder_item"></div>
            
                <?php if (have_posts()) :  while (have_posts()) : the_post();?>
                
                <div class="item dnnc_column dnnc_column_12">
                
                <?php if(has_post_format('quote')){get_template_part('/post-types/post-quote-index');} 
                    
                    else {
                
                        get_template_part('/post-types/post-classic');
                        
                    } ?>
                    
                </div>
                
                <?php endwhile; ?><!-- end post -->
                
                <div class="clearfix"></div>
                        
            </div><!-- end latest posts section-->
            
            <div class="clearfix"></div>

                        <div class="pagination"><?php the_posts_pagination(); ?></div>

                        <?php else : ?>
                

                                <div class="errorentry entry dnnc_ghost">
                    
                                    <h1 class="post entry-title" itemprop="headline"><?php esc_html_e('Nothing found here','visby');?></h1>
                                
                                    <h4><?php esc_html_e('Perhaps You will find something interesting from these lists...','visby');?></h4>
                                
                                    <div class="hrline"></div>
                                
                                    <?php get_template_part('/includes/uni-404-content');?>
                                
                                </div>
                            
                            
                            </div><!-- end latest posts section-->
                            
                            
                        <?php endif; ?>               
        
            </div><!-- end #content -->
            
            <?php ?>

            <?php get_sidebar('left'); ?>
            
            <?php get_sidebar('right'); ?>

        </div><!-- end .dnnc_box -->

<div class="clearfix"></div>
        
</div><!-- end .container -->

<?php // blog content - end ?>

<?php get_footer(); ?>