is_hvac_page() || !$this->is_trainer_logged_in()) { return; } // Enqueue Font Awesome for icons wp_enqueue_style( 'font-awesome', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css', array(), '6.0.0' ); wp_enqueue_style( 'hvac-help-system', HVAC_PLUGIN_URL . 'assets/css/hvac-help-system.css', array('hvac-common-style', 'font-awesome'), HVAC_PLUGIN_VERSION ); wp_enqueue_script( 'hvac-help-system', HVAC_PLUGIN_URL . 'assets/js/hvac-help-system.js', array('jquery'), HVAC_PLUGIN_VERSION, true ); wp_localize_script('hvac-help-system', 'hvacHelp', array( 'ajaxUrl' => admin_url('admin-ajax.php'), 'nonce' => wp_create_nonce('hvac_help_nonce'), 'showWelcome' => $this->should_show_welcome_guide() )); } /** * Check if current page is an HVAC custom page */ private function is_hvac_page() { $hvac_pages = array( 'hvac-dashboard', 'trainer-registration', 'community-login', 'trainer-profile', 'event-summary', 'email-attendees', 'certificate-reports', 'generate-certificates', 'hvac-documentation' ); foreach ($hvac_pages as $page) { if (is_page($page)) { return true; } } return false; } /** * Check if current user is a logged-in trainer */ private function is_trainer_logged_in() { return is_user_logged_in() && (current_user_can('hvac_trainer') || current_user_can('administrator')); } /** * Check if welcome guide should be shown */ private function should_show_welcome_guide() { if (!$this->is_trainer_logged_in()) { return false; } // Check cookie for dismissal if (isset($_COOKIE['hvac_welcome_dismissed'])) { return false; } // Only show on dashboard page return is_page('hvac-dashboard'); } /** * Render welcome guide modal */ public function render_welcome_guide() { if (!$this->should_show_welcome_guide()) { return; } $cards = $this->get_welcome_cards(); ?>
'fas fa-chalkboard-teacher', 'title' => 'Welcome to Your Training Hub', 'description' => 'As a verified HVAC trainer, you have access to powerful tools for managing your training business. Your dashboard shows real-time stats, upcoming events, and revenue tracking.' ), array( 'icon' => 'fas fa-calendar-plus', 'title' => 'Create Events in Minutes', 'description' => 'Click "Create Event" to set up new trainings. Add details, set pricing, and manage capacity. Your events appear immediately in your dashboard - no WordPress admin needed!' ), array( 'icon' => 'fas fa-certificate', 'title' => 'Professional Certificates Made Easy', 'description' => 'After your event, generate beautiful certificates with your name, attendee details, and the Upskill HVAC logo. Click "Certificate Issued" to view any certificate instantly.' ), array( 'icon' => 'fas fa-users', 'title' => 'Manage Everything in One Place', 'description' => 'Email attendees, track registrations, generate reports, and monitor your progress. Use the navigation menu to access all features - tooltips guide you every step of the way.' ) ); } /** * Handle AJAX request to dismiss welcome guide */ public function handle_welcome_dismissal() { if (!wp_verify_nonce($_POST['nonce'], 'hvac_help_nonce')) { wp_die('Invalid nonce'); } if (!$this->is_trainer_logged_in()) { wp_die('Unauthorized'); } // Set cookie to expire in 30 days setcookie('hvac_welcome_dismissed', '1', time() + (30 * 24 * 60 * 60), COOKIEPATH, COOKIE_DOMAIN); wp_send_json_success(); } /** * Render documentation page content */ public function render_documentation_page($atts) { if (!$this->is_trainer_logged_in()) { return 'Please log in to access the documentation.
'; } ob_start(); ?>Everything you need to know about managing your training events
Everything starts at your dashboard. See your total events, upcoming trainings, revenue progress, and quick links to all features. Track your performance metrics and manage everything from one place.
Go to DashboardYour trainer profile is your professional showcase in our directory. Complete your profile to appear in "Find A Trainer" searches and generate more training leads.
Edit ProfileReady to host training? Create events with pricing, capacity limits, and venue information. Your events integrate with The Events Calendar for seamless management.
Create EventOur platform integrates with The Events Calendar to provide comprehensive event management:
Manage your training infrastructure:
Your profile appears in our "Find A Trainer" directory where potential students can discover you:
When potential students find you in the directory, they can submit contact requests that appear in your Training Leads page:
The more you share your profile, the more training leads you can generate! Use social media, business cards, or the built-in QR code feature.
Generate beautiful completion certificates with the Upskill HVAC logo, your name as instructor, and attendee details. Each certificate has a unique number and can be verified.
Start by updating your trainer profile to appear in our directory, then create your first training event. Your dashboard provides an overview of everything.
Complete your profile and share it! The more visible you are in our "Find A Trainer" directory, the more potential students will contact you through the Training Leads system.
Venues are physical or virtual locations where you conduct training. Organizers are business entities (like your company) that host the training and can have logos and branding.
After your training event, you can generate professional certificates for attendees. Each certificate is uniquely numbered and includes your name as the instructor and the Upskill HVAC branding.
Yes! Your dashboard shows revenue tracking and analytics for all your training events. You can monitor your training business performance over time.
Click the "?" icon in the navigation menu to return to this documentation anytime. You can also reach out to our support team for additional assistance.
We\'ve tried to auto-create venues and organizers for you based on your profile information, but you may need to make corrections or updates to ensure everything is accurate.
Pro tip: The more complete your profile, the more professional you appear to potential students and the more training leads you\'ll generate!