upskill-event-manager/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/page-community-login.php
bengizmo 12e360b6e6 fix: Resolve Trainer Login page and link issues
- Fix shortcode registration for community login with correct namespace
- Create dedicated page template for community-login page
- Enable template_include filter to properly load custom page templates
- Fix early loading of Login_Handler class
- Update Trainer Login page title and template handling
- Ensure proper shortcode execution on the login page

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-19 17:54:43 -03:00

28 lines
No EOL
738 B
PHP

<?php
/**
* Template Name: HVAC Community Login
*
* This is the custom template for the community login page.
*
* @package HVAC_Community_Events
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<div class="hvac-community-login-container">
<h1 class="entry-title">
<?php esc_html_e('Trainer Login', 'hvac-ce'); ?>
</h1>
<div class="entry-content">
<?php
// Process the shortcode directly
echo do_shortcode('[hvac_community_login]');
?>
</div>
</div>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_footer(); ?>