Access Denied

You do not have permission to access this page.

If you believe this is an error, please contact an administrator.

Return to Home
render_master_menu(); } // Render breadcrumbs if (class_exists('HVAC_Breadcrumbs')) { echo HVAC_Breadcrumbs::instance()->render_breadcrumbs(); } echo '
'; echo '
'; // Render the master events content echo '

Events Management

'; echo '
'; // First try the_content() to get any shortcode from post_content ob_start(); if (have_posts()) { while (have_posts()) { the_post(); the_content(); } } $post_content = ob_get_clean(); // If post_content is empty or just contains the shortcode without rendering, try direct shortcode if (empty(trim(strip_tags($post_content))) || strpos($post_content, '[hvac_master_events]') !== false) { // Ensure the shortcode class is initialized if (class_exists('HVAC_Master_Events_Overview')) { $instance = HVAC_Master_Events_Overview::instance(); if (method_exists($instance, 'render_events_overview')) { echo $instance->render_events_overview(); } else { echo do_shortcode('[hvac_master_events]'); } } else { echo '
Master events system is not available. Please contact an administrator.
'; } } else { echo $post_content; } echo '
'; // .hvac-master-events-content echo '
'; // .container echo '
'; // .hvac-page-wrapper get_footer();