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. No need to access WordPress admin!
Go to DashboardClick "Create Event" from any page. Fill in the simple form - event title, description, date, and pricing. Your event saves as a draft automatically.
Create EventAdd your credentials and business info to build trust with trainees. A complete profile helps your events get found and booked faster.
Edit ProfileClick "View Summary" on any event to see everything at a glance: attendee list, revenue, check-in status, and quick links to email attendees or generate certificates.
Your dashboard shows registration counts. Click "View Attendees" on any event to see the full list with names, emails, and check-in status.
Click "Email Attendees" to send updates. Select all attendees or just those who are checked in. Add CC recipients and your message is sent instantly.
During your event, use the attendee list to check people in. This helps track completion for certificates and keeps accurate records.
Generate professional certificates with the Upskill HVAC logo, your name as instructor, and attendee details. Each certificate has a unique number and can be verified.
The Certificate Reports page shows all certificates you\'ve issued. Filter by event, search by name, and download certificates anytime.
Start at your dashboard! It shows everything you need. Click "Create Event" to add your first training, or "My Events" to see what you\'ve already created.
From your dashboard, find the event and click its title. You\'ll go straight to the edit page. Make changes and click "Update Event" to save.
After your event, go to "Generate Certificates" and select your event. Choose which attendees get certificates (usually those who were checked in). Click generate and they\'re ready! Each certificate shows your name, the attendee\'s name, and has the Upskill HVAC logo.
Yes! On the Generate Certificates page, you\'ll see "Certificate Issued" under each attendee who has one. Click this text to open their certificate - you can share this link with them.
This is your annual goal to maintain your trainer status. The progress bar shows how close you are. Keep creating quality events and you\'ll reach it!
Click "Email Attendees" from the menu or from any event summary. Select who to email, write your message, and send. You can CC yourself or others too.
No! Everything you need is in your trainer dashboard and the connected pages. The system is designed so you never need to access the WordPress backend.
Attendees pay through Stripe when they register. You receive 100% of ticket sales (minus Stripe\'s standard 2.9% + 30ยข fee) directly to your connected account.
Look for the (?) tooltips throughout the site - hover over them for quick help. This documentation is always available from the Help link. For urgent issues, contact support.