AI-generated WordPress plugin

Generate a gym class schedule plugin

Gyms and studios typically juggle two concerns: a public timetable showing when classes happen, and a signup system that tracks which member is coming to which class. The big SaaS options (Mindbody, ClassPass, Glofox) handle both but charge significantly and move the member relationship off-site.

For a single-location studio with, say, 20 classes a week, a WordPress plugin running alongside your existing membership setup is cheaper and keeps members on your brand.

5 min to ZIP 24 h live sandbox WP Coding Standards

Why generate it instead of installing an existing plugin?

Ultimate Class Booking is around $29 (lifetime, often), FitPress has recurring fees. They work but are feature-packed with stuff a small studio does not use.

A generated plugin gives you a weekly grid (Mon-Sun, hour-indexed) rendered from a class CPT. Each class has recurring time (e.g., "every Mon 19:00"), capacity, and instructor. Members (WP users with a specific role) book via a one-click button; cancellation frees the slot.

Integrates with whatever membership you already have: if a member is non-active in your membership plugin, booking is denied. This is described as a hook the booking calls.

Example prompt

This is the kind of description that generates this plugin. You can start from it and tweak whatever you need before hitting generate.

Plugin name: Acme Studio Schedule

Class CPT with fields:
- title (e.g., "Vinyasa 60")
- instructor (string or WP user)
- duration_min (int)
- room (string)
- capacity (int)
- recurring_rule (weekday + HH:MM, e.g., "MON 19:00"; support multiple via repeater)

Weekly view shortcode [acme_schedule] renders a grid. Clicking a class opens a modal with description and a "Book" button (if logged in + member active).

Booking:
- Insert row in wp_acme_bookings (class_id, user_id, occurrence_date, status).
- Decrement available capacity.
- Email confirmation with ICS attachment.

Cancellation: up to 2h before class starts; frees the slot.

Waitlist: if full, allow waitlist; auto-promote on cancellation.

Integration hook: apply_filters('acme_can_book', true, $user_id) — lets a membership plugin deny bookings for non-members.

Admin: per-class list of bookings for today / this week, check-in button that marks attended.

What the generated plugin typically includes

  • Class CPT with weekly recurring schedule
  • Weekly grid view with booking buttons
  • Capacity + waitlist with auto-promotion
  • Cancellation window enforced server-side
  • Filter hook for membership-system integration
  • Admin day/week roster with check-in
  • ICS attachments on confirmation emails

Class types, recurring rules, booking window and cancellation policy come from the prompt. For per-class pricing (drop-ins) we can add a Stripe step similar to the appointment booking template.

Frequently asked questions

Does it support recurring bookings (book a series)?

Yes — describe "book every Monday at 19:00 until end of month" in the prompt and the plugin adds a recurring-booking action.

What about multi-location studios?

Add a location taxonomy; the schedule then filters by location. Described in the prompt.

Ready to generate your plugin?

Create a free account, verify your email, first generation is on us.

Related:FitnessBookingMembership