<?php
 global $theme_option;
get_header(); ?>

<!-- page title -->
<div class="page_title">
    <div class="container">
        <div class="leaft_title"><h1><?php printf( __( 'Search results for: %s', 'aoxhost' ), get_search_query() ); ?></h1> </div> 
        <?php aoxhost_breadcrumbs(); ?>       
    </div>
</div><!-- end page title -->  

<!-- content begin -->
<div id="content">
    <div class="container">
        <div class="row">
            <div class="col-md-9">
                <?php if(have_posts()) : ?> 
                <ul class="blog-list">
                 <?php 
                  while (have_posts()) : the_post();
                  get_template_part( 'content', get_post_format() ) ;   // End the loop.
                  endwhile;
                   ?>      
                </ul>
                <?php else: ?>
                <h1><?php _e('Nothing Found Here!', 'aoxhost'); ?></h1>
                <?php endif; ?> 
                <div class="pagination text-center ">
                    <ul>
                        <?php echo aoxhost_pagination(); ?>
                    </ul>
                </div>
            </div>

            <div class="col-md-3">
                <?php get_sidebar();?>
            </div>
        </div>
    </div>
</div>
<!-- content close -->
<?php get_footer(); ?>
