• v1.2.2 3a25c397c5

    v1.2.2
    CI / No Debug Code (push) Successful in 2s
    CI / Tests (PHP 8.2) (push) Successful in 46s
    CI / Tests (PHP 8.1) (push) Successful in 53s
    CI / PHPStan (push) Successful in 2m56s
    CI / Coding Standards (push) Successful in 2m58s
    CI / Tests (PHP 8.3) (push) Successful in 2m42s
    CI / Build Plugin Zip (push) Successful in 2m48s
    Release / Build and Publish Release (push) Successful in 2m49s
    Release / Open next-version bump PR (push) Successful in 4s
    Stable

    thatguygriff released this 2026-07-28 16:33:51 +00:00 | 66 commits to main since this release

    Added

    • The Lesson Booking block gained three embedding options in its sidebar. Lesson type pins the block to a single private-lesson type — only the times bookable as that type are listed and it is the only thing bookable there, auto-selected on the registration form — so a page about one lesson type can carry its own calendar. Show the lesson-type filter turns the Show Only control on or off. Sections embeds just one half of the page: booking calendar only, or the student's upcoming lessons only, so the two can live on different pages. All three are available to the shortcode as [us_booking lesson_type="…" show_filter="no" show="booking|upcoming"], and the block's editor preview follows the chosen sections.
    • The booking calendar now has a Show Only button beside the List/Week toggle that opens a lesson-type filter, so a student browsing open times can narrow them to the types they actually want. Because not every open time can be booked as every private-lesson type — some times are tied to a specific type, others only take types of a matching length — the filter shows just the times bookable as the ticked types, and re-anchors the week view on the earliest one so it never opens on an empty week. Picking one of those times narrows the Lesson type picker on the registration form to the same list, and when only one type is left it is chosen automatically with its questions loaded. The type list starts collapsed and can be tucked away again without losing the filter; the button shows how many types are ticked. Tick nothing (or use Show all types) to see every open time as before. The filter is hidden when the studio only offers one private-lesson type.
    • The Group Classes block can now be pinned to a single class, under Classes shown → Class in the block sidebar (shortcode: [us_group_classes offering="…"]). Pick a class and the block shows only that one, so it can be embedded on a page that describes the class. In this mode the class's own description is left out to avoid repeating the page copy — the card shows the schedule, instructor, price, enrolment deadline and the enrol/withdraw controls. Leaving it on All classes keeps the full browsable catalog with descriptions.
    • The Student Registration block can now send students onward to a page of your choosing once they finish registering. Its After email confirmation panel is now After registration: the page you pick there is where the link shown to a newly registered student points — the "Sign in to your account" link after they confirm their email, and a "Continue to your account" link for an invited student, who is signed in immediately. A new Redirect automatically option takes them straight there instead of showing the link. Registration errors are never skipped — a failed sign-up and an expired confirmation link still show their message on the page, as does the "check your email to confirm your address" step. The redirect needs a page to be chosen; with none set, students see the link (or, for invited students, just the confirmation) as before.
    Downloads