• Add user role field to registration, profile display, and profile edit
- 10 role options: technician, installer, supervisor, manager, trainer, consultant, sales rep, engineer, business owner, other
- Required field with server-side validation
- Radio buttons in registration, dropdown in profile edit
- Displays in profile with proper capitalization
• Implement advanced certification tracking system
- Date Certified: HTML5 date picker with validation (no future dates)
- Certification Type: dropdown with "Certified measureQuick Trainer" and "Certified measureQuick Champion"
- Certification Status: color-coded status badges (Active/Expired/Pending/Disabled)
• Add sophisticated role-based access control
- Regular trainers: read-only access to certification fields
- Administrators & master trainers: full edit access to certification fields
- Visual indicators for read-only fields
- Server-side permission validation
• Enhance plugin activation system
- Initialize all 36 user meta fields for existing users
- Smart default assignment based on user capabilities
- Backward compatibility maintained
• Add professional UI styling
- Blue-bordered certification section with trophy icon
- Color-coded status badges with proper contrast
- Read-only field styling with visual indicators
- Enhanced form controls with focus states
• Comprehensive testing and documentation
- E2E test coverage with visual verification
- Updated API reference with new meta fields
- Access control patterns documented
- 100% test pass rate on staging environment
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Scoped all CSS rules to .hvac-event-manage-wrapper to prevent theme conflicts
- Moved navigation header directly into page template to avoid duplication
- Disabled duplicate header hook in HVAC_Event_Manage_Header class
- Added theme override styles to enforce 1200px max-width and 20px padding
- Updated CSS methodology to use consistent spacing and remove CSS variables
- Added HVAC_Page_Content_Fixer class to clean escaped HTML comments
- Updated documentation with CSS architecture details
- Enhanced theme compatibility with higher specificity selectors
The event manage page now displays correctly with:
- Single navigation header (no duplicates)
- Proper white background and shadows
- Consistent button styling matching other pages
- Clean 1200px max-width layout with 20px padding
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- 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>
- Created 14 new page template files for trainer/master trainer pages
- Added page-templates.css for consistent layout across all HVAC pages
- Templates use appropriate shortcodes for each page functionality
- Ensures proper content display without sidebars
- Fixes blank page issues on staging
Templates added:
- Trainer profile, event management, certificates
- Email attendees, communication templates/schedules
- Master dashboard, Google Sheets, certificate diagnostics
- Account status pages (pending, disabled, registration pending)
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
- Create HVAC_Shortcodes class to centralize shortcode management
- Create HVAC_Scripts_Styles class for all script/style enqueuing
- Create HVAC_Route_Manager class for URL routing and redirects
- Update HVAC_Plugin to use new architecture components
- Remove duplicate functionality from HVAC_Community_Events
- Add comprehensive refactoring plan documentation
This refactoring resolves duplicate initialization issues and creates
a cleaner, more maintainable architecture with clear separation of concerns.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>