<?php

get_header(); 


$meta = _WSH()->get_term_meta( '_sh_category_settings' );

_WSH()->page_settings = $meta; 

$layout = sh_set( $meta, 'layout', 'full' );
$sidebar = sh_set( $meta, 'sidebar', 'blog-sidebar' );
$view = sh_set( $meta, 'view', 'list' );

$classes = ( !$layout || $layout == 'full' ) ? ' col-lg-12 col-md-12' : ' col-lg-8 col-md-8';?>

<?php //get_template_part( 'content', 'header' ); ?>
<!-- === START PATH SECTION === -->
        <section class="path-section">
            <div class="bg-cover">
                <div class="container">
                    <h2><?php echo get_the_breadcrumb(); ?></h2>
                </div>
            </div>
        </section>
<!-- === END PATH SECTION === -->

<!-- === START BLOG SECTION === -->

        <!-- === START POST SECTION === -->
        <section class="post-section" id="post-section">
            <div class="container">
                <div class="row">
					
                    
					<div class="col-lg-9 col-xs-12">
                        
						<?php if( have_posts() ): ?>
						
                        <?php while( have_posts() ): the_post(); ?>
                			
							<div id="" <?php post_class(); ?> >
								<?php get_template_part( 'blog', get_post_format() ); ?>
								<hr />
							</div>
							
						<?php endwhile; ?>
                        
						<?php _the_pagination(); ?>
						
						<?php else: ?>
	
							<p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', SH_NAME ); ?></p>
							<div class="sidebar">
							<?php get_search_form(); ?>	
							</div>
								
						<?php endif; ?>

                    </div>

				
				
					<div class="col-md-3">
						<div class="sidebar">
							<?php dynamic_sidebar( 'default-sidebar' ); ?>
						</div>
					</div>
				
					
                </div>
            </div>
        </section>
<!-- === END POST SECTION === -->

<!-- === END BLOG SECTION === -->

<?php get_footer(); ?>