44 lines
1.0 KiB
PHP
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();
|