HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: /home/bristolfilton.co.uk/public_html/wp-content/themes/promote/search.php
<?php get_header(); ?>

<div class="row ">
  <div id="search_term">
    <h2 class="postsearch"><?php printf( esc_attr__( 'Search Results for: %s', 'promote' ), '<span>' . esc_html( get_search_query() ) . '</span>'); ?></h2>
      <h5 class="search_count"><?php esc_attr__('Total posts found - ', 'promote'); ?> <?php global $wp_query; echo $wp_query->found_posts; wp_reset_query(); ?></h5>
          <ul class="medium-6 medium-centered columns">
            <?php get_search_form(); ?>
          </ul>
  </div>
</div>
<!--Content-->
<section class="blog-content-section">
    <div class="row">
      <div class="large-9 medium-8 small-12 left-column sidebar-type-2 columns <?php if ( !is_active_sidebar( 'sidebar' ) ){ ?> nosid <?php }?>">
          <?php if ( have_posts() ) : ?>

          <?php /* Start the Loop */ ?>
            <?php while ( have_posts() ) : the_post(); ?>
              <?php
              /*
              * Include the Post-Format-specific template for the content.
               * If promote 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( 'content', get_post_format() );
              ?>

           <?php endwhile; ?>

        <?php get_template_part('pagination'); ?>

      <?php else : ?>

    <?php get_template_part( 'content', 'none' ); ?>

  <?php endif; ?>
  </div><!--POST END-->

    <div class=" wow fadeIn large-3 small-12 columns">

        <?php get_sidebar();?>

    </div><!--sidebar END-->
 </div><!--row END-->
</section><!--section END-->
<?php get_footer(); ?>