Files
Bookshelf/Old/bd-murphy-author/search.php
bdm 38cdebd0c6 Track Bookshelf WordPress theme, plugins and specs
Initial import of the bdmurphy Bookshelf work: the bd-bookshelf theme,
bd-bookshelf-plugin, bd-bookshelfhelper and bd-simpleemail plugins, plus
the specification documents, mockups and release archives.
2026-09-28 06:24:25 -07:00

42 lines
1.1 KiB
PHP

<?php
/**
* Search Results Template
*/
get_header();
?>
<div class="search-container">
<header class="page-header">
<h1 class="page-title">
<?php
printf(esc_html__('Search Results for: %s', 'bd-murphy'), '<span>' . get_search_query() . '</span>');
?>
</h1>
</header>
<div class="search-results">
<?php
if (have_posts()) :
while (have_posts()) :
the_post();
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('search-entry'); ?>>
<h2 class="search-entry-title">
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
</h2>
<div class="search-entry-excerpt">
<?php the_excerpt(); ?>
</div>
</article>
<?php
endwhile;
else :
?>
<p class="no-results"><?php esc_html_e('No results found. Please try a different search.', 'bd-murphy'); ?></p>
<?php endif; ?>
</div>
</div>
<?php
get_footer();