diff --git a/includes/class-hvac-documentation-content.php b/includes/class-hvac-documentation-content.php new file mode 100644 index 00000000..ba9fdf7b --- /dev/null +++ b/includes/class-hvac-documentation-content.php @@ -0,0 +1,481 @@ + + +

Upskill HVAC Training Platform Guide

+

Welcome to the comprehensive guide for creating and managing HVAC training events on the Upskill platform.

+ +

Platform Overview

+

The Upskill HVAC Training Network connects skilled trainers with trainees throughout the HVAC industry. Our mission is to elevate the entire industry through accessible, high-quality training opportunities.

+ +
+

Why Choose Upskill HVAC?

+ +
+ +

Core Concepts

+

Understanding these key components will help you navigate the platform effectively:

+ +
+
+

🎯 Events

+

Your training sessions, workshops, or classes. Each event has its own page with details, registration options, and venue information.

+
+ +
+

📍 Venues

+

Physical or virtual locations where training occurs. Venues can be reused across multiple events.

+
+ +
+

🏢 Organizers

+

The entity hosting the training (you, your company, or affiliated organization). Helps attendees identify who's providing the training.

+
+ +
+

🎫 Tickets

+

Paid registration options for your events. Set prices, early bird discounts, and capacity limits.

+
+ +
+

📝 RSVPs

+

Free registration option for events. Perfect for community events or when you want to track attendance without charging.

+
+ +
+

📊 Orders

+

Completed registrations for your events. Track who's attending and manage check-ins.

+
+ +
+

🏆 Certificates

+

Professional completion certificates for attendees. Automatically generated with unique IDs for verification.

+
+
+ +

Customizing Your Profile

+

Your trainer profile is your public face on the Upskill platform. It appears in the "Find a Trainer" directory and helps potential trainees discover your expertise.

+ +

Profile Setup Steps:

+
    +
  1. Navigate to Your Profile: Click "Profile" → "Trainer Profile" in the navigation menu
  2. +
  3. Upload Your Photo: Add a professional headshot to build trust with potential trainees
  4. +
  5. Complete Your Bio: Share your experience, certifications, and training philosophy
  6. +
  7. Add Contact Information: Include your business email and phone number
  8. +
  9. Specify Your Location: Help local trainees find you easily
  10. +
  11. List Certifications: Highlight your measureQuick certifications and other credentials
  12. +
  13. Set Training Preferences: Indicate your training formats, audience types, and specialties
  14. +
+ +
+ 💡 Pro Tip: Your profile was auto-created when you registered, but it likely needs updates. A complete profile generates 3x more training leads than incomplete ones. +
+ +

Managing Venues & Organizers

+

Venues and organizers were automatically created for you during registration, but they need your attention to be fully effective.

+ +

Updating Your Venues

+
    +
  1. Review Existing Venues: Go to "Profile" → "Training Venues" to see your auto-created venue
  2. +
  3. Edit Venue Details: Click "Edit" to update address, capacity, and amenities
  4. +
  5. Add Photos: Upload images of your training facility to attract attendees
  6. +
  7. Create Additional Venues: If you train at multiple locations, create a venue for each
  8. +
  9. Check for Duplicates: Before creating new venues, search existing ones to avoid duplicates
  10. +
+ +

Managing Organizers

+
    +
  1. Access Organizers: Navigate to "Profile" → "Training Organizers"
  2. +
  3. Update Your Organization: Add your company logo and description
  4. +
  5. Set Contact Information: Ensure phone and email are current
  6. +
  7. Add Affiliated Entities: Create additional organizers for partner organizations
  8. +
  9. Use Existing When Possible: You can select any existing organizer when creating events
  10. +
+ +
+ ⚠️ Important: You can only edit venues and organizers that you created, but you can use any existing venue or organizer when setting up events. Always check for existing entries before creating new ones. +
+ +

Creating & Managing Events

+

Events are the heart of your training business on Upskill. Here's how to create compelling training opportunities:

+ +

Creating Your First Event

+
    +
  1. Start Creation: Click "Events" → "New Event" in the navigation menu
  2. +
  3. Choose Event Type: + +
  4. +
  5. Set Essential Details: + +
  6. +
  7. Write Compelling Description: + +
  8. +
  9. Add Event Image: Upload an eye-catching image (recommended: 1920x1080px)
  10. +
  11. Configure Registration: + +
  12. +
  13. Virtual Event Settings: If online, add: + +
  14. +
+ +

Event Approval Process

+
+ 📋 Note: New events must be approved by a Master Trainer (currently Joe Medosch) before appearing publicly. This ensures quality and consistency across the platform. Approval typically occurs within 24 hours. +
+ +

Editing Existing Events

+ + +

Managing Event Attendance

+

Efficiently tracking attendance ensures accurate certificates and helps build your training reputation.

+ +

Check-In Methods

+ +

Method 1: Manual Check-In (Web Interface)

+
    +
  1. Go to your event page
  2. +
  3. Click "View Attendees"
  4. +
  5. Mark attendees as "Checked In" as they arrive
  6. +
  7. Add notes for partial attendance if needed
  8. +
+ +

Method 2: Event Tickets Plus App

+
    +
  1. Download the Event Tickets Plus app on your mobile device
  2. +
  3. Connect to your Upskill account
  4. +
  5. Scan QR codes or search attendee names
  6. +
  7. Real-time sync with the platform
  8. +
+ +

App Setup Guide: Connect Event Tickets Plus App →

+ +

Certificate Generation

+

Professional certificates add value to your training and help attendees document their continuing education.

+ +

Certificate Requirements

+ + +

Generating Certificates

+
    +
  1. Navigate to Certificates: Click "Certificates" → "New Certificate"
  2. +
  3. Select Event: Choose from your completed events
  4. +
  5. Choose Recipients: Select all or specific attendees
  6. +
  7. Review Information: Verify names, dates, and training details
  8. +
  9. Generate PDFs: Click "Generate Certificates"
  10. +
  11. Distribution Options: + +
  12. +
+ +
+ ✨ Certificate Features: + +
+ +

Frequently Asked Questions

+ +
+

How do I change my password?

+

Navigate to your Profile page and look for the "Change Password" section. Enter your current password, then your new password twice to confirm.

+
+ +
+

Why can't I see my events publicly?

+

New events require approval from a Master Trainer before appearing publicly. This typically happens within 24 hours. If your event hasn't been approved after 48 hours, contact support at joe@upskillhvac.com.

+
+ +
+

How do I get paid for my training events?

+

Val Buckles from our finance team will contact you to set up payment processing. You'll receive 100% of ticket sales minus standard Stripe processing fees (2.9% + $0.30 per transaction). Payments are typically processed weekly.

+
+ +
+

Who do I contact if I need help?

+

For technical support and event approval questions, email Joe Medosch at joe@upskillhvac.com. Joe is our Master Trainer and platform administrator.

+
+ +
+

Can I list any type of HVAC training event?

+

Yes! We welcome all HVAC-related training events, including:

+ +
+ +
+

Do I need to be a Certified measureQuick Trainer?

+

No, you don't need measureQuick certification to use the platform. While many of our trainers are measureQuick certified, we welcome all qualified HVAC trainers. The platform is open to anyone providing quality HVAC education.

+
+ +
+

How do I promote my events?

+

Your events are automatically:

+ +

You can also share your trainer profile link to drive traffic to all your events.

+
+ +
+

Can I offer discounts or promo codes?

+

Yes, you can create:

+ +
+ +

Getting Additional Help

+ +
+
+

📧 Email Support

+

For questions and technical issues:

+

joe@upskillhvac.com

+
+ +
+

💰 Payment Questions

+

Val Buckles handles all payment setup:

+

She will contact you directly

+
+ +
+

🎥 Video Tutorials

+

Coming soon: Step-by-step video guides for common tasks

+
+
+ + + + /dev/null || echo 'WP-CLI cache flush not available' && wp breeze purge --cache=all 2>/dev/null || echo 'Breeze cache plugin not available' && wp eval 'if (function_exists(\"opcache_reset\")) { opcache_reset(); echo \"OPcache cleared\"; }' 2>/dev/null || echo 'OPcache reset not available'" echo -e "${GREEN}Step 5: Activating plugin and creating pages...${NC}" -sshpass -p "$SSH_PASS" ssh -o StrictHostKeyChecking=no "$SSH_USER@$SERVER_IP" "cd $SERVER_PATH && echo 'Deactivating plugin to ensure clean activation...' && wp plugin deactivate hvac-community-events --quiet && echo 'Activating plugin (this triggers page creation)...' && wp plugin activate hvac-community-events --quiet && echo 'Updating dashboard page template...' && PAGE_ID=\$(wp post list --post_type=page --name=dashboard --field=ID | head -1) && if [ ! -z \"\$PAGE_ID\" ]; then wp post meta update \$PAGE_ID _wp_page_template templates/page-trainer-dashboard.php --quiet && echo '✅ Dashboard template updated'; fi && echo 'Flushing rewrite rules...' && wp rewrite flush --quiet && if wp plugin list --name=hvac-community-events --status=active --format=count | grep -q '1'; then echo '✅ Plugin activated successfully'; else echo '❌ Plugin activation failed!'; fi" +sshpass -p "$SSH_PASS" ssh -o StrictHostKeyChecking=no "$SSH_USER@$SERVER_IP" "cd $SERVER_PATH && echo 'Deactivating plugin to ensure clean activation...' && wp plugin deactivate hvac-community-events --quiet && echo 'Activating plugin (this triggers page creation)...' && wp plugin activate hvac-community-events --quiet && echo 'Updating dashboard page template...' && PAGE_ID=\$(wp post list --post_type=page --name=dashboard --field=ID | head -1) && if [ ! -z \"\$PAGE_ID\" ]; then wp post meta update \$PAGE_ID _wp_page_template templates/page-trainer-dashboard.php --quiet && echo '✅ Dashboard template updated'; fi && echo 'Updating documentation page template...' && DOC_ID=\$(wp post list --post_type=page --name=documentation --field=ID | head -1) && if [ ! -z \"\$DOC_ID\" ]; then wp post meta update \$DOC_ID _wp_page_template templates/page-trainer-documentation.php --quiet && echo '✅ Documentation template updated'; fi && echo 'Flushing rewrite rules...' && wp rewrite flush --quiet && if wp plugin list --name=hvac-community-events --status=active --format=count | grep -q '1'; then echo '✅ Plugin activated successfully'; else echo '❌ Plugin activation failed!'; fi" echo -e "${GREEN}Step 6: Verifying deployment...${NC}" sshpass -p "$SSH_PASS" ssh -o StrictHostKeyChecking=no "$SSH_USER@$SERVER_IP" "cd $SERVER_PATH && echo 'Checking if key pages exist...' && if wp post list --post_type=page --name=training-login --format=count | grep -q '1'; then echo '✅ Login page exists'; else echo '❌ Login page missing'; fi && if wp post list --post_type=page --name=certificate-reports --format=count | grep -q '1'; then echo '✅ Certificate reports page exists'; else echo '❌ Certificate reports page missing'; fi" diff --git a/templates/page-documentation.php b/templates/page-documentation.php index 65416ca8..f583c956 100644 --- a/templates/page-documentation.php +++ b/templates/page-documentation.php @@ -7,50 +7,5 @@ * @since 2.0.0 */ -// Define constant to identify we're in a page template -define('HVAC_IN_PAGE_TEMPLATE', true); - -// Get header -get_header(); - -// Initialize breadcrumbs if available -if (class_exists('HVAC_Breadcrumbs')) { - $breadcrumbs = HVAC_Breadcrumbs::get_instance(); - $breadcrumbs->set_custom_breadcrumb([ - ['title' => 'Trainer', 'url' => home_url('/trainer/')], - ['title' => 'Documentation', 'url' => ''] - ]); -} - -?> - -
- - render_trainer_menu(); - } - ?> - - render(); - } - ?> - -
- Documentation is not available. Please contact an administrator.

'; - } - ?> -
- -
- - \ No newline at end of file +// Redirect to new template +include HVAC_PLUGIN_DIR . 'templates/page-trainer-documentation.php'; \ No newline at end of file diff --git a/templates/page-trainer-documentation.php b/templates/page-trainer-documentation.php new file mode 100644 index 00000000..35e597d2 --- /dev/null +++ b/templates/page-trainer-documentation.php @@ -0,0 +1,373 @@ + + +
+ render_trainer_menu(); + } + ?> + + render_breadcrumbs(); + } + ?> + +
+
+ +
+ '; + echo '

Please log in to access the documentation.

'; + echo '
'; + } else { + // Display the page content (editable via Gutenberg) + while (have_posts()) : the_post(); + ?> +
> + +
+ + + + + +
+
+ + + + + + +