=== AllCoach - Coaching Management & Scheduling ===
Contributors: Themegrill
Tags: coaching, coach booking, client management, appointments, scheduling
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.2
Stable tag: 1.0.3
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

All-in-one coaching plugin to sell programs, manage clients, book sessions, and automate notifications from WordPress.

== Description ==

### Run Your Coaching Business from WordPress

AllCoach is a complete coaching business management plugin for WordPress. Sell coaching programs, deliver interactive client activities, schedule one-on-one sessions, and send automated notifications — all from a single dashboard.

Whether you are a personal trainer, life coach, nutritionist, business coach, or tutor, AllCoach gives you everything you need to run your practice without stitching together separate tools.

### Why Choose AllCoach?

- **Everything in One Place:** Programs, clients, sessions, orders, and notifications are all managed from your WordPress admin. No extra subscriptions or integrations needed.

- **Interactive Client Activities:** Deliver structured worksheets and assignments to clients. Clients submit responses directly from their portal and you review them from the admin dashboard.

- **Client-Friendly Portal:** Clients can access their programs, activities, sessions, meeting links, and profile from a dedicated frontend account area.

- **Google Meet Integration:** Connect your Google account once and meeting links can be generated automatically for sessions — no manual copy-pasting.

- **Simple Manual Payments:** Sell paid programs using offline/manual payment confirmation, with free programs confirmed automatically at checkout.

### Who is AllCoach for?

- **Personal Trainers** — Sell training programs, deliver workout plans as activities, and schedule one-on-one sessions with automated reminders.
- **Life Coaches** — Manage client enrollments, assign reflection exercises, and meet clients via Google Meet.
- **Nutritionists** — Deliver structured nutrition programs with interactive check-ins and track client responses.
- **Business Coaches** — Sell paid programs, assign worksheets, confirm payments manually, and track client progress.
- **Tutors & Educators** — Organize content into programs with sections and activities, manage session bookings, and stay on top of client submissions.

### AllCoach Features

= Coaching Programs =

* Create and publish coaching programs with flexible pricing — paid or free
* Organize programs into sections for a structured delivery path
* Add interactive activities to each section
* Set enrollment limits or leave them unlimited
* Assign programs to categories for easy filtering and discovery
* Share a unique buy URL for direct enrollment

= Client Activities =

* Build activities with rich content and interactive form fields
* Supported field types: short answer, long answer, multiple choice, checkboxes, and date
* Clients complete and submit activities directly from their account portal
* Track completion status for every client per activity
* Review all client responses from the admin dashboard
* Reuse activities across programs with the activity library

= Client Management =

* Maintain a full client directory with enrollment history and session notes
* Track activity completion and session progress per client
* View all orders, sessions, and activity responses from a single client profile
* Guest checkout — new clients enroll with just their name and email, account created automatically

= Session Booking =

* Clients book one-on-one sessions directly from their account portal
* Session statuses: scheduled, completed, cancelled, no-show
* Full session history logged per client
* Timezone-aware booking with client timezone support

= Coach Availability =

* Define your weekly available days and time slots
* Bookings are automatically validated against your availability
* Double-booking prevented — for both you and your clients

= Google Meet Integration =

* Connect your Google account via OAuth from the Settings page
* Google Calendar events created automatically for every session
* Meeting links generated automatically and stored with each booking
* Meeting URL included in confirmation and reminder emails via the `{meeting_url}` placeholder

= Order & Payment Management =

* Orders move through pending, confirmed, and cancelled statuses
* Manually confirm payments with an optional transaction reference
* Reactivate cancelled orders — set back to pending or directly to confirmed
* Bulk status actions for faster order management
* Free programs are confirmed automatically at checkout

= Client Account Portal =

* Dedicated frontend dashboard for every client — no WordPress admin access required
* **Dashboard** — overview of enrolled programs and upcoming sessions
* **Programs** — browse and access all enrolled programs and their content
* **Activities** — view and complete assigned activities, submit responses
* **Appointments** — view upcoming sessions, book new sessions, join Google Meet
* **Profile** — update personal details and change password

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/allcoach` directory, or install the plugin through the WordPress plugins screen.
2. Activate the plugin through the Plugins screen in WordPress.
3. Go to AllCoach in your WordPress admin dashboard.
4. Create your coaching programs, sections, and activities.
5. Configure your weekly availability for session bookings.
6. Optionally connect your Google account from the AllCoach Settings page to enable Google Calendar and Google Meet integration.

== Frequently Asked Questions ==

= Do clients need a WordPress account to enroll? =
No. Clients enroll through the guest checkout flow using just their name and email. A client account is created automatically, and they receive a welcome email with a password reset link.

= Can I offer free programs? =
Yes. Set the program price to 0 and it will be marked as free. Free program enrollments are confirmed automatically at checkout.

= What payment methods are supported? =
AllCoach currently supports offline and manual payments. Coaches can manually confirm payments from the WordPress admin dashboard. Payment gateway integrations are planned for a future release.

= What are activities? =
Activities are interactive worksheets, assignments, check-ins, or exercises that you create inside a program. Each activity can contain rich content and form fields such as short answer, long answer, multiple choice, checkboxes, and date fields. Clients complete and submit activities from their portal, and you review responses from the admin dashboard.

= How does session booking work? =
Clients book sessions directly from their account portal. AllCoach validates each booking request against your weekly availability schedule and rejects time slots that conflict with an existing booking for you or the client.

= Does AllCoach prevent double-booking? =
Yes. AllCoach checks existing sessions before confirming a1 booking and prevents overlapping bookings for both the coach and the client.

= Does AllCoach support client timezones? =
Yes. AllCoach supports timezone-aware booking so clients can book sessions based on their timezone while the coach manages availability from the WordPress dashboard.

= Does AllCoach support Google Meet? =
Yes. Connect your Google account via OAuth from the Settings page. Once connected, AllCoach can create a Google Calendar event and generate a Google Meet link automatically for each session booking. The meeting URL is sent to the client by email and displayed in their appointments page.

= Can I limit how many clients enroll in a program? =
Yes. Set a maximum enrollment count when creating or editing a program. Leave it at 0 for unlimited enrollments.

= Can clients access their programs without WordPress admin access? =
Yes. Clients use a dedicated frontend account portal to view programs, complete activities, manage appointments, and update their profile. They do not need access to the WordPress admin dashboard.

== Use of 3rd Party Services ==

To provide certain features, AllCoach connects to the following external services when those features are enabled. No data is sent to these services unless the corresponding feature is explicitly configured and activated by the site administrator.

**Google APIs** — Used for Google Calendar and Google Meet integration. When a coach connects their Google account, AllCoach uses the Google OAuth 2.0 service to authenticate, the Google Calendar API to create and manage session events, and the Google Meet API to generate video call links. The coach's access token and refresh token are stored on your WordPress site. Client email addresses are shared with Google Calendar only when adding them as event attendees.

[Google Terms of Service](https://policies.google.com/terms) | [Google Privacy Policy](https://policies.google.com/privacy)

These services are only contacted when the corresponding feature is enabled and configured. AllCoach itself does not collect or transmit any personal data to external servers.

== Screenshots ==

1. AllCoach Programs – Admin dashboard showing the list of coaching programs.
2. Program Activities – Activity management screen for a selected program.
3. Activity Builder – Interface for creating and configuring program activities.
4. Availability Settings – Configure coach availability, schedules, and booking slots.
5. Payment Settings – Payment gateway and pricing configuration options.
6. Client Portal Dashboard – Overview dashboard for clients with upcoming sessions and activity.
7. Client Portal Appointments – Client view of scheduled and past appointments.
8. Booking Calendar – Calendar step of the client appointment booking process.
9. Time Selector – Available time slot selection during booking.
10. Booking Confirmation – Successful appointment booking confirmation screen.

== Changelog ==

= 1.0.3 - 06-11-2026 =
Fix - Resolved an issue where some component styles were not applied due to incorrectly compiled nested CSS selectors.

= 1.0.2 - 06-11-2026 =
* Enhancement - Security hardening.

= 1.0.1 - 06-10-2026 =
* Fix - Client portal sub-pages (Programs, Appointments, and Profile) now route correctly.

= 1.0.0 - 06-04-2026 =
* Initial release.
