upskill-event-manager/includes
bengizmo a1abbf1577 fix: Resolve duplicate content and raw shortcode display on manage event page
- Strip WordPress block editor comments (<\!-- wp:shortcode -->) from content
- Prevent duplicate header rendering when using page template vs shortcode
- Add conditional header rendering based on URL path to avoid duplication
- Header now only renders for non-hierarchical URLs where template isn't used

The manage event page was showing duplicate "Create and Manage Your HVAC Training Events"
sections and raw block editor comments because both the template and the header class
were outputting content, and block editor wrapper comments weren't being stripped.

Co-Authored-By: Ben Reed <ben@tealmaker.com>
2025-07-30 10:06:49 -03:00
..
admin fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-attendee-profile.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-event-author-fixer.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-event-form-handler.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-access-control.php fix: Resolve duplicate content and raw shortcode display on manage event page 2025-07-30 10:06:49 -03:00
class-hvac-activator.php fix: Update activator to use new HVAC_Route_Manager class 2025-07-28 18:07:35 -03:00
class-hvac-approval-workflow.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-hvac-community-events.php fix: Resolve duplicate content and raw shortcode display on manage event page 2025-07-30 10:06:49 -03:00
class-hvac-dashboard-data-fixed.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-dashboard-data-refactored.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-dashboard-data.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-dashboard.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-hvac-deactivator.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-hvac-event-manage-header.php fix: Resolve duplicate content and raw shortcode display on manage event page 2025-07-30 10:06:49 -03:00
class-hvac-event-navigation.php feat: Implement trainer approval workflow with status management 2025-07-28 12:38:34 -03:00
class-hvac-form-builder.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-help-system.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-hvac-logger.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-manage-event.php fix: Resolve duplicate content and raw shortcode display on manage event page 2025-07-30 10:06:49 -03:00
class-hvac-master-dashboard-data.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-hvac-page-manager.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-hvac-plugin.php refactor: Implement new plugin architecture with single-responsibility classes 2025-07-28 18:04:48 -03:00
class-hvac-registration.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-hvac-roles.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-route-manager.php fix: Resolve duplicate content and raw shortcode display on manage event page 2025-07-30 10:06:49 -03:00
class-hvac-scripts-styles.php fix: Resolve duplicate content and raw shortcode display on manage event page 2025-07-30 10:06:49 -03:00
class-hvac-security.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-settings-refactored.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-settings.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-hvac-shortcodes.php fix: Resolve duplicate content and raw shortcode display on manage event page 2025-07-30 10:06:49 -03:00
class-hvac-template-loader.php fix: Resolve duplicate content and raw shortcode display on manage event page 2025-07-30 10:06:49 -03:00
class-hvac-trainer-status.php feat: Implement trainer approval workflow with status management 2025-07-28 12:38:34 -03:00
legacy-redirects.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00