File: /home/slyfwmm/studiomilighetti/wp-content/themes/domik/search.php
<?php
/* banner-php */
$sb_w = domik_get_option('blog-sidebar-width') ? domik_get_option('blog-sidebar-width') : 3;
get_header();
get_header('inner');
?>
<section class="no-padding no-border">
<!-- page title -->
<div class="domik_container">
<div class="page-title">
<h1 class="title"><?php printf(__('Search Results for "%s" Query','domik'),get_search_query( ));?></h1>
</div>
</div>
</section>
<div class="clearfix"></div>
<div class="domik_container domik-blog">
<section>
<div class="row">
<?php if(domik_get_option('blog_layout')==='left_sidebar'):?>
<div class="col-md-<?php echo esc_attr($sb_w );?> blog-sidebar-column sidebar-left">
<div class="blog-sidebar">
<?php get_sidebar( ); ?>
</div>
</div>
<?php endif;?>
<?php if(domik_get_option('blog_layout')==='fullwidth'):?>
<div class="col-md-12 nosidebar blog-posts-column">
<?php else:?>
<div class="col-md-<?php echo (12 - $sb_w);?> hassidebar blog-posts-column">
<?php endif;?>
<div class="gallery-items <?php echo esc_attr( domik_get_option('blog_column') );?>-coulms grid-small-pad">
<div class="grid-sizer"></div>
<?php if(have_posts()) :
?>
<?php while(have_posts()) : the_post(); ?>
<?php get_template_part( 'template-parts/post/content', 'search'); ?>
<?php endwhile; ?>
<?php else: ?>
<?php get_template_part('template-parts/post/content','none' ); ?>
<?php endif; ?>
</div>
<?php if(domik_get_option('blog_layout')!=='fullwidth'):?>
<div class="index_nav">
<?php domik_pagination(esc_html__('« ','domik' ),esc_html__(' »','domik' ) );?>
</div>
<?php endif; ?>
</div>
<?php if(domik_get_option('blog_layout')==='right_sidebar'):?>
<div class="col-md-<?php echo esc_attr($sb_w );?> blog-sidebar-column sidebar-right">
<div class="blog-sidebar">
<?php get_sidebar( ); ?>
</div>
</div>
<?php endif;?>
</div>
</section>
<?php if(domik_get_option('blog_layout')==='fullwidth'):?>
<?php domik_pagination(esc_html__('« ','domik' ),esc_html__(' »','domik' ) );?>
<?php endif; ?>
</div>
<!-- end inner page -->
<?php
get_footer('inner');
get_footer();