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.
59 lines
1.4 KiB
PHP
59 lines
1.4 KiB
PHP
<?php
|
|
get_header();
|
|
?>
|
|
|
|
<div class="content-area">
|
|
<main id="primary" class="site-main">
|
|
|
|
<?php
|
|
if (have_posts()) :
|
|
|
|
if (is_home() && !is_front_page()) :
|
|
?>
|
|
<header>
|
|
<h1 class="page-title"><?php single_post_title(); ?></h1>
|
|
</header>
|
|
<?php
|
|
endif;
|
|
|
|
while (have_posts()) :
|
|
the_post();
|
|
?>
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
<?php if (has_post_thumbnail()) : ?>
|
|
<div class="post-thumbnail">
|
|
<a href="<?php the_permalink(); ?>">
|
|
<?php the_post_thumbnail(); ?>
|
|
</a>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<header class="entry-header">
|
|
<h2 class="entry-title">
|
|
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
|
|
</h2>
|
|
</header>
|
|
|
|
<div class="entry-summary">
|
|
<?php the_excerpt(); ?>
|
|
</div>
|
|
</article>
|
|
|
|
<?php
|
|
endwhile;
|
|
|
|
the_posts_navigation();
|
|
|
|
else :
|
|
?>
|
|
<p class="no-posts"><?php esc_html_e('No posts found.', 'bd-murphy'); ?></p>
|
|
<?php
|
|
endif;
|
|
?>
|
|
|
|
</main>
|
|
</div>
|
|
|
|
<?php
|
|
get_footer();
|