Dashboard
PHP:
8.3.17
OS:
Linux
User:
www-data
/
/
var
/
www
/
html
/
wp-content
/
themes
/
seozie
📤 Upload
📝 New File
📁 New Folder
Close
Editing: search.php
<?php /** * The template for displaying search results pages * * @package WordPress * @subpackage seozie * @since seozie 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; seozie_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(); ?>
Save
Cancel