Files
Bookshelf/Old/bd-murphy-author/front-page.php
2026-10-18 19:01:01 -07:00

44 lines
1.0 KiB
PHP

<?php
// Copyright 2026 Umbra Tools (umbratools.com)
// SPDX-License-Identifier: Apache-2.0
/**
* 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();