upskill-event-manager/templates/page-trainer-profile-edit.php
bengizmo ef87f555a0 feat: Integrate navigation and breadcrumbs into all trainer templates
- 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>
2025-07-30 17:31:54 -03:00

27 lines
No EOL
690 B
PHP

<?php
/**
* Template Name: Trainer Profile Edit
* Description: Template for editing trainer profile
*/
get_header();
?>
<div class="hvac-page-wrapper hvac-trainer-profile-edit-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 profile edit shortcode
echo do_shortcode('[hvac_trainer_profile_edit]');
?>
</div>
</div>
<?php
get_footer();