File: /home/retoti4c1e1s/public_html/longevitystructures.com/wp-content/themes/codate/search.php
<?php get_header();
$themnific_redux = get_option( 'themnific_redux' );?>
<div class="archive_title container">
<h2><span class="maintitle"><?php echo esc_attr($s); ?></span></h2>
<div class="subtitle"><?php esc_html_e('Search Results','codate');?></div>
</div>
<?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 latest posts section-->
<div class="clearfix"></div>
<div class="pagination"><?php the_posts_pagination(); ?></div>
<?php else : ?>
<div class="item item-no-search-results">
<div class="no-search-results">
<h2 itemprop="headline"><?php esc_html_e('Oops! Nothing found here','codate');?></h2>
<p><?php esc_html_e('Take a moment and do a search below','codate');?></p>
<?php get_search_form();?>
</div>
</div>
</div><!-- end latest posts section-->
<?php endif; ?>
</div><!-- end .content -->
<?php get_sidebar();?>
</div><!-- end .container -->
</div><!-- end #core -->
<?php get_footer(); ?>