File: /home/hanode/public_html/wp-content/themes/kingstore/templates/content.php
<?php get_template_part('header'); ?>
<?php
$kingstore_sidebar_template = sw_options('sidebar_blog') ;
$kingstore_blog_styles = ( sw_options('blog_layout') ) ? sw_options('blog_layout') : 'list';
?>
<?php kingstore_breadcrumb_title(); ?>
<div class="container">
<div class="row sidebar-row">
<div class="category-contents col-lg-12 col-md-12 col-sm-12 col-xs-12">
<!-- No Result -->
<?php if (!have_posts()) : ?>
<?php get_template_part('templates/no-results'); ?>
<?php endif; ?>
<?php
$kingstore_blogclass = 'blog-content blog-content-'. $kingstore_blog_styles;
if( $kingstore_blog_styles == 'grid' ){
$kingstore_blogclass .= ' row';
}
?>
<div class="<?php echo esc_attr( $kingstore_blogclass ); ?>">
<?php
while( have_posts() ) : the_post();
get_template_part( 'templates/content', $kingstore_blog_styles );
endwhile;
?>
<?php get_template_part('templates/pagination'); ?>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
<?php get_template_part('footer'); ?>