Files
homeproz/wp-content/themes/homeproz/template-full-width.php
T
Hanson.xyz Dev 5e2bb8585a Initialize beads issue tracking and update git policy
- Initialize beads (.beads/ directory)
- Add Claude Code hooks for SessionStart/PreCompact
- Update CLAUDE.md to clarify all build artifacts are committed
- Update .gitignore to allow node_modules and dist
2025-11-30 01:55:50 -06:00

44 lines
1.1 KiB
PHP
Executable File

<?php
/**
* Template Name: Full Width
* Template for displaying full-width pages without sidebar constraints
*
* @package HomeProz
*/
// Prevent direct access
if (!defined('ABSPATH')) {
exit;
}
get_header();
?>
<main id="primary" class="site-main full-width-main">
<?php
while (have_posts()) :
the_post();
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('full-width-content'); ?>>
<?php if (has_post_thumbnail()) : ?>
<div class="full-width-hero">
<?php the_post_thumbnail('full'); ?>
</div>
<?php endif; ?>
<div class="container">
<header class="page-header">
<?php the_title('<h1 class="page-title">', '</h1>'); ?>
</header>
<div class="entry-content entry-content--wide">
<?php the_content(); ?>
</div>
</div>
</article>
<?php endwhile; ?>
</main>
<?php
get_footer();