<?php
/**
 * This file handles how search results will look like.
 * @version:1.0
 */
get_header();
?>

<div class="category-author-wrapper">
  <section class="blog-sec">
    <div class="container">
      <div class="row">
        <div class="col-md-8">

        <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'plumbing-lite' ), get_search_query() ); ?></h1>

          <?php if(have_posts() ) : while ( have_posts() ) : the_post(); ?>   
              
              <?php get_template_part('content'); ?>

          <?php   
              endwhile;
          ?>

          <div class="pagination-container">
              <?php navthemes_number_post_nav(); ?>
          </div>

          <?php else: ?>

              <div class="content_wrap">
                 <?php get_template_part('content','none'); ?>
            </div>  

            <?php 
            endif;
          ?>  
      
      
        </div>
       
       <?php get_sidebar(); ?>   
         
      </div>        
    </div>
  </section>

  <div class="clearboth h100"></div>

</div> 

<?php
get_footer();