- Created template integration class for automatic nav/breadcrumb injection
- Added trainer-header.php template part for consistent header
- Updated all trainer page templates to include navigation and breadcrumbs
- Navigation shows hierarchical menu with dropdowns
- Breadcrumbs provide context-aware navigation trail
All trainer pages now have consistent navigation structure
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
		
	
			
		
			
				
	
	
		
			27 lines
		
	
	
		
			No EOL
		
	
	
		
			710 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			No EOL
		
	
	
		
			710 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
|  * Template Name: Trainer Organizers List
 | |
|  * Description: Template for listing all training organizers
 | |
|  */
 | |
| 
 | |
| get_header();
 | |
| ?>
 | |
| 
 | |
| <div class="hvac-page-wrapper hvac-trainer-organizers-list-page">
 | |
|     <?php 
 | |
|     // Include trainer header with navigation and breadcrumbs
 | |
|     $plugin_dir = WP_PLUGIN_DIR . '/hvac-community-events/';
 | |
|     if (file_exists($plugin_dir . 'templates/template-parts/trainer-header.php')) {
 | |
|         include $plugin_dir . 'templates/template-parts/trainer-header.php';
 | |
|     }
 | |
|     ?>
 | |
|     <div class="container">
 | |
|         <?php
 | |
|         // Render the organizers list shortcode
 | |
|         echo do_shortcode('[hvac_trainer_organizers_list]');
 | |
|         ?>
 | |
|     </div>
 | |
| </div>
 | |
| 
 | |
| <?php
 | |
| get_footer();
 |