File: //proc/thread-self/cwd/wp-content/themes/codate/archive.php
<?php get_header();
$themnific_redux = get_option( 'themnific_redux' );?>
<div class="archive_title container">
<?php
the_archive_title( '<h2><span class="maintitle">', '</span></h2>' );
the_archive_description( '<div class="subtitle">', '</div>' );
?>
</div>
<?php // blog content - start ?>
<?php
$themnific_redux = get_option( 'themnific_redux' );
if (!empty($themnific_redux['tmnf-blog-layout'])) {
$themnific_blog_layout = $themnific_redux['tmnf-blog-layout'];
}
?>
<div id="core">
<div class="container_alt">
<div id="content" class="eightcol">
<div class="<?php if (empty($themnific_redux['tmnf-blog-layout'])) {echo 'blogger';} else {
if($themnific_blog_layout == 'blog_layout'){
echo 'blogger';
}elseif($themnific_blog_layout == 'blog_layout_2'){
echo 'blogger blog_layout_2';
}elseif($themnific_blog_layout == 'blog_layout_list'){
echo 'blogger blog_layout_list';
} else {
echo 'blogger';
}
} ?>">
<?php
if (have_posts()) : while (have_posts()) : the_post();
if (empty($themnific_redux['tmnf-blog-layout'])) {get_template_part('/post-types/post-classic-big');} else {
if($themnific_blog_layout == 'blog_layout'){
get_template_part('/post-types/post-classic-big');
}elseif($themnific_blog_layout == 'blog_layout_2'){
get_template_part('/post-types/post-classic');
}elseif($themnific_blog_layout == 'blog_layout_list'){
get_template_part('/post-types/post-classic');
} else {
get_template_part('/post-types/post-classic-big');
}
}
endwhile; ?><!-- end post -->
<div class="clearfix"></div>
</div><!-- end .blogger-->
<div class="clearfix"></div>
<div class="pagination"><?php the_posts_pagination(); ?></div>
<?php else : ?>
<div class="errorentry entry ghost">
<h1 class="post entry-title" itemprop="headline"><?php esc_html_e('Nothing found here','codate');?></h1>
<h4><?php esc_html_e('Perhaps You will find something interesting from these lists...','codate');?></h4>
<div class="hrline"></div>
<?php get_template_part('/includes/uni-404-content');?>
</div>
</div><!-- end .blogger 2nd -->
<?php endif; ?>
</div><!-- end .content -->
<?php get_sidebar();?>
</div><!-- end .container -->
</div><!-- end #core -->
<?php get_footer(); ?>