Files
homeproz/wp-content/themes/homeproz/template-landing.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

75 lines
2.3 KiB
PHP
Executable File

<?php
/**
* Template Name: Landing Page
* Template for marketing/campaign landing pages with minimal header/footer
*
* @package HomeProz
*/
// Prevent direct access
if (!defined('ABSPATH')) {
exit;
}
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="https://gmpg.org/xfn/11">
<?php wp_head(); ?>
</head>
<body <?php body_class('landing-page'); ?>>
<?php wp_body_open(); ?>
<div id="page" class="site landing-page-site">
<!-- Minimal Header -->
<header class="landing-header">
<div class="container">
<div class="landing-header-content">
<a href="<?php echo esc_url(home_url('/')); ?>" class="landing-logo">
<?php
$custom_logo_id = get_theme_mod('custom_logo');
if ($custom_logo_id) {
echo wp_get_attachment_image($custom_logo_id, 'medium', false, array('class' => 'custom-logo'));
} else {
echo '<span class="site-title">' . esc_html(get_bloginfo('name')) . '</span>';
}
?>
</a>
</div>
</div>
</header>
<main id="primary" class="site-main landing-main">
<?php
while (have_posts()) :
the_post();
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('landing-content'); ?>>
<div class="entry-content">
<?php the_content(); ?>
</div>
</article>
<?php endwhile; ?>
</main>
<!-- Minimal Footer -->
<footer class="landing-footer">
<div class="container">
<p class="landing-footer-text">
&copy; <?php echo date('Y'); ?> <?php bloginfo('name'); ?>. All rights reserved.
<span class="landing-footer-links">
<a href="<?php echo esc_url(get_privacy_policy_url()); ?>">Privacy Policy</a>
</span>
</p>
</div>
</footer>
</div>
<?php wp_footer(); ?>
</body>
</html>