<?php
/**
 * The template for displaying search results pages.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result
 *
 * @package Electromix 
 */

get_header();
?>
<div class="post-section st-py-default3" id="search-page">
	<div class="container">
		<div class="row">
			<div class="<?php echo esc_attr(electromix_blog_column_layout()); ?> col-12">
				<div class="row">
					<?php if( have_posts() ): ?>
			
						<?php while( have_posts() ) : the_post(); ?>
						
						<div class="<?php echo esc_attr(electromix_post_layout()); ?> col-12 mb-4">
							<?php get_template_part('template-parts/content/content','search'); ?>
						</div>
					<?php endwhile; the_posts_navigation(); ?>
							
					<?php else: ?>
						
						<div class="col-12 mb-4">
							<?php get_template_part('template-parts/content/content','none'); ?>
						</div>
						
					<?php endif; ?>
				</div>
			</div>
			<?php  get_sidebar(); ?>
		</div>
	</div>
</section>
<?php get_footer(); ?>
