File: /home/newsnnno/public_html/khaodeedee/blog/wp-content/themes/newspaperss/archive.php
<?php get_header();
/**
* The template for displaying archive
*
* @package WordPress
* @subpackage newspaperss
* @since newspaperss 1.0
*/
?>
<?php if (true == get_theme_mod('on_of_postpagesubhead', true)) : ?>
<!--Call Sub Header-->
<?php newspaperss_subheader_post();?>
<!--Call Sub Header-->
<?php endif; ?>
<div id="blog-content">
<div class="grid-container">
<div class="grid-x grid-padding-x align-center ">
<div class="cell small-12 margin-vertical-1 <?php echo esc_attr(newspaperss_sidebar_layout());?>">
<div class="lates-post-blog lates-post-blogbig <?php if ( is_active_sidebar( 'right-sidebar' ) ) : ?> margin-no <?php else : ?> margin-right-post <?php endif;?> " >
<?php $newspaperss_layout_style = get_theme_mod( 'layout_page__gen', 'content3' );?>
<div class="grid-x <?php if ( 'content3' == $newspaperss_layout_style ) : ?> grid-margin-x <?php else : ?> align-center <?php endif;?>">
<?php if ( have_posts() ) : ?>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/*
* Include the Post-Format-specific template for the content.
* If newspaperss want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'parts/content', get_post_format() );
?>
<?php endwhile; ?>
<?php the_posts_pagination(); ?>
<?php else : ?>
<?php get_template_part( 'parts/content', 'none' ); ?>
<?php endif; ?>
</div><!--POST END-->
</div>
</div>
<?php $newspaperss_sidbar_position = get_theme_mod( 'sidbar_position', 'right' );?>
<?php if ( 'full' !== $newspaperss_sidbar_position) : ?>
<?php get_template_part('sidebar'); ?>
<?php endif;?>
<!--sidebar END-->
</div>
</div>
</div><!--container END-->
<?php get_footer(); ?>