logo, ali, hamdi

WordPress – Search Results

<?php
include 'head.php';
include 'menu.php';
?>

	<div class="BmenuSep"></div>
	<div class="clear-fix"></div>
	
<div class="container" id="Scontent">
    	<div class="row">
			<div class="col-md-8">
 <?php if ( have_posts() ) : ?>
                <div>
                    <h1 class="page-title">
                    	<?php printf(__('Search Results for : %s', 'shape'), '<span style="color:red;">' . get_search_query() . '</span>'); ?>		
                    </h1>
                </div>
				<div class="clear-fix"></div>	
				<div class="search-body">

                <?php /* Start the Loop */ ?>
                <?php while(have_posts()) : the_post(); ?>

                    <p><h2><img src="<?php bloginfo('template_url'); ?>/images/check.png" /><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2></p>

                <?php endwhile; ?>
            <?php else : ?>
				<div>
                    <h1 class="page-title">
                    	<?php printf(__('No Search Results for : %s', 'shape'), '<span style="color:red;">' . get_search_query() . '</span>'); ?>                    		
                    </h1>               
            	<?php endif; ?>		
            	</div>
           </div>
           
			<div class="col-md-4 side">				
				<?php get_sidebar(); ?>
			</div> 
	</div>
</div>

	<div class="clear-fix"></div>
	
<?php
include 'foot.php';
?>

This post has 3356 Views

Leave a Reply

Your email address will not be published. Required fields are marked *