File: /home/dacusvillerec/public_html/wp-content/themes/exponent/search.php
<?php
/**
* Search Template
*/
$sidebar = be_themes_get_option( 'blog_loop_sidebar' );
$sidebar_position = be_themes_get_option( 'blog_loop_sidebar_position' );
$blog_style = be_themes_get_option( 'blog_archive_style' );
$list_styles = array( 'style1', 'style4' );
$full_width = !in_array( $blog_style, $list_styles ) && be_themes_get_option( 'blog_grid_full_width' );
get_header();
do_action( 'be_themes_before_post_archive' );
?>
<div class="be-search-archive">
<?php
get_template_part( 'template-parts/partials/content-pad', 'start' );
get_template_part( 'template-parts/partials/wrap', 'start' );
if( !empty( $sidebar ) ) {
set_query_var( 'be_sidebar_position', $sidebar_position );
if( !empty( $full_width ) ) {
set_query_var( 'be_sidebar_with_margin', true );
}
get_template_part( 'template-parts/posts/sidebar', 'start' );
}
get_template_part( 'template-parts/posts/archive' );
if( !empty( $sidebar ) ) {
get_template_part( 'template-parts/posts/sidebar', 'end' );
}
get_template_part( 'template-parts/partials/wrap', 'end' );
get_template_part( 'template-parts/partials/content-pad', 'end' );
?>
</div>
<?php
do_action( 'be_themes_after_post_archive' );
get_footer();