<?php
/**
 * Template Name: Master Dashboard Debug
 * Description: Debug template for master dashboard
 */

get_header();

global $post;
?>

<div style="background: yellow; padding: 20px; margin: 20px;">
    <h2>Debug Information</h2>
    <p>Page ID: <?php echo $post->ID; ?></p>
    <p>Page Title: <?php echo $post->post_title; ?></p>
    <p>Page Slug: <?php echo $post->post_name; ?></p>
    <p>Page Parent: <?php echo $post->post_parent; ?></p>
    <p>Template: <?php echo get_post_meta($post->ID, '_wp_page_template', true); ?></p>
    <p>Request URI: <?php echo $_SERVER['REQUEST_URI']; ?></p>
</div>

<?php
// Render the master dashboard shortcode
echo do_shortcode('[hvac_master_dashboard]');

get_footer();