Permalink
Cannot retrieve contributors at this time
neag/search.php
Go to file<?php | |
/** | |
* The template for displaying Search Results pages. | |
* | |
* @package cornerstone | |
*/ | |
get_header(); ?> | |
<div id="page-search"> | |
<div class="row"> | |
<div class="col-md-8"> | |
<section id="primary" class="content-area"> | |
<main id="main" class="site-main" role="main"> | |
<?php if ( have_posts() ) : ?> | |
<header class="entry-header"> | |
<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'cs' ), '<span>' . get_search_query() . '</span>' ); ?></h1> | |
</header><!-- .page-header --> | |
<hr /> | |
<?php /* Start the Loop */ ?> | |
<?php while ( have_posts() ) : the_post(); ?> | |
<h3><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h3> | |
<p><?php the_excerpt(); ?></p> | |
<hr /> | |
<?php endwhile; ?> | |
<?php cs_paging_nav(); ?> | |
<?php else : ?> | |
<?php get_template_part( 'content', 'none' ); ?> | |
<?php endif; ?> | |
</main><!-- #main --> | |
</section><!-- #primary --> | |
</div> | |
<?php get_sidebar(); ?> | |
</div> | |
</div> | |
<?php get_footer(); ?> |