| Server IP : 62.72.47.131 / Your IP : 216.73.217.34 Web Server : Apache/2.4.66 (Debian) System : Linux 975cdb959a49 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : ( 501) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/themes/medicate/ |
Upload File : |
<?php
use peaceful\medicate\Helper;
/**
* The template for displaying search results pages
*
* @package WordPress
* @subpackage medicate
* @since medicate 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;
\peaceful\medicate\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(); ?>