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.
40 lines
977 B
PHP
40 lines
977 B
PHP
<?php
|
|
/**
|
|
* Template Name: Home
|
|
*/
|
|
|
|
get_header();
|
|
?>
|
|
|
|
<div class="home-container">
|
|
<div class="home-left-column">
|
|
<div class="home-content">
|
|
<?php
|
|
if (have_posts()) :
|
|
while (have_posts()) :
|
|
the_post();
|
|
the_content();
|
|
endwhile;
|
|
else :
|
|
?>
|
|
<div class="no-content">
|
|
<h2><?php esc_html_e('Welcome', 'bd-murphy'); ?></h2>
|
|
<p><?php esc_html_e('Latest news and updates from the author.', 'bd-murphy'); ?></p>
|
|
</div>
|
|
<?php
|
|
endif;
|
|
?>
|
|
</div>
|
|
</div>
|
|
|
|
<aside class="home-right-column">
|
|
<?php if (is_active_sidebar('home-sidebar')) : ?>
|
|
<div class="home-sidebar">
|
|
<?php dynamic_sidebar('home-sidebar'); ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
</aside>
|
|
</div>
|
|
|
|
<?php
|
|
get_footer();
|