The manage event JavaScript was running on all pages and injecting "Create Event"
header and instructions into any page with matching content selectors. Added URL
path checking to ensure the JavaScript only runs on the actual manage event pages.
This fixes the issue where the registration page was showing event creation content
instead of just the registration form.
Co-Authored-By: Ben Reed <ben@tealmaker.com>
The HVAC_Manage_Event class was using is_page('manage') which was too generic
and could match any page with 'manage' in its slug. Changed to check for
specific page slugs: 'manage-event' and 'trainer-event-manage' to ensure
the event creation content only appears on the actual event management page.
This resolves the issue where "Create Your Training Event" content was
incorrectly showing on the trainer registration page.
Ben Reed <ben@tealmaker.com>