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

get_header();
$goytoPostClass = '';
if (is_active_sidebar('sidebar-1')) {
	$goytoPostClass = 'col-lg-8 col-md-12 col-sm-12';
} else {
	$goytoPostClass = 'col-lg-10 offset-lg-1';
}
?>
<section id="gt-blog-list" class="gt-blog-list-section pt-120 pb-120">
	<div class="container">
		<div class="gt-blog-list-content">
			<div class="row">
				<!-- Content Side -->
				<div class="<?php echo esc_attr($goytoPostClass); ?>">
					<div class="gt-blog-list-item-wrap">
						<?php goyto_search_loop(); ?>
					</div>
				</div>
				<!-- Sidebar Side -->
				<?php get_sidebar(); ?>
			</div>
		</div>
	</div>
</section>

<?php
get_footer();
