🚨 CRITICAL: Fixed deployment blockers by adding missing core directories: **Community System (CRITICAL)** - includes/community/ - Login_Handler and all community classes - templates/community/ - Community login forms **Certificate System (CRITICAL)** - includes/certificates/ - 8+ certificate classes and handlers - templates/certificates/ - Certificate reports and generation templates **Core Individual Classes (CRITICAL)** - includes/class-hvac-event-summary.php - includes/class-hvac-trainer-profile-manager.php - includes/class-hvac-master-dashboard-data.php - Plus 40+ other individual HVAC classes **Major Feature Systems (HIGH)** - includes/database/ - Training leads database tables - includes/find-trainer/ - Find trainer directory and MapGeo integration - includes/google-sheets/ - Google Sheets integration system - includes/zoho/ - Complete Zoho CRM integration - includes/communication/ - Communication templates system **Template Infrastructure** - templates/attendee/, templates/email-attendees/ - templates/event-summary/, templates/status/ - templates/template-parts/ - Shared template components **Impact:** - 70+ files added covering 10+ missing directories - Resolves ALL deployment blockers and feature breakdowns - Plugin activation should now work correctly - Multi-machine deployment fully supported 🔧 Generated with Claude Code Co-Authored-By: Ben Reed <ben@tealmaker.com>
32 lines
No EOL
650 B
PHP
32 lines
No EOL
650 B
PHP
<?php
|
|
/**
|
|
* Trainer Header Template Part
|
|
*
|
|
* Displays navigation and breadcrumbs for trainer pages
|
|
*/
|
|
|
|
if (!defined('ABSPATH')) {
|
|
exit;
|
|
}
|
|
|
|
// Check if user has trainer capabilities
|
|
if (!current_user_can('hvac_trainer')) {
|
|
return;
|
|
}
|
|
?>
|
|
|
|
<div class="hvac-trainer-header">
|
|
<?php
|
|
// Render navigation
|
|
if (class_exists('HVAC_Trainer_Navigation')) {
|
|
$nav = new HVAC_Trainer_Navigation();
|
|
echo $nav->render_navigation();
|
|
}
|
|
|
|
// Render breadcrumbs
|
|
if (class_exists('HVAC_Breadcrumbs')) {
|
|
$breadcrumbs = new HVAC_Breadcrumbs();
|
|
echo $breadcrumbs->render_breadcrumbs();
|
|
}
|
|
?>
|
|
</div>
|