- 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>
28 lines
No EOL
738 B
PHP
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(); ?>
|