HEX
Server: Apache
System: Linux sg2plzcpnl508220.prod.sin2.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: dpknvn09897v (10807170)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /home/dpknvn09897v/public_html/golz.in/wp-content/themes/nutritius/search.php
<?php
use peaceful\nutritius\Helper;
/**
 * The template for displaying search results pages
 *
 * @package WordPress
 * @subpackage nutritius
 * @since nutritius 1.0
 */

get_header(); ?>
<div class="peacefulthemes-contain-area">
	<div id="primary" class="content-area">
		<main id="main" class="site-main">
			<div class="container">
				<div class="row">
					<?php if ( ! is_active_sidebar('sidebar-1') ) { ?>
						<div class="col-md-12 col-sm-12">
					<?php } else{ ?>
						<div class="col-md-8 col-sm-12">
					<?php } ?>
						<?php
						if ( have_posts() ) : ?>
							<?php
							/* Start the Loop */
							while ( have_posts() ) : the_post();
								/*
								* Include the Post-Format-specific template for the content.
								* If you want to override this in a child theme, then include a file
								* called content-___.php (where ___ is the Post Format name) and that will be used instead.
								*/
								get_template_part( 'template-parts/post/content', get_post_format() );
							endwhile;
							Helper::instance()->pagination();
						else :
							get_template_part( 'template-parts/post/content', 'none' );
						endif; ?>
					</div>
					<?php if ( is_active_sidebar('sidebar-1') ) { ?>		
					<div class="col-md-4 col-sm-12">
						<?php get_sidebar(); ?>
					</div>
					<?php } ?>
				</div>			
			</div><!-- container -->
		</main><!-- #main -->
	</div><!-- #primary -->
</main>
<?php get_footer(); ?>