Embed the floating next-class widget

Show your next upcoming class as a rounded pill fixed to the bottom-right of your own website.

3 min read

Before you start

  • A public studio booking page with a studio URL (slug)
  • At least one upcoming class on your schedule
  1. 1

    Open Studio → Widget → Next class

    Studio → Widget has separate tabs for the booking schedule, the memberships & services catalogue, and the floating next-class pill. Open Next class to configure this embed.

  2. 2

    Choose appearance and label

    Pick a theme preset (Brand Custom follows your booking-page colors; Minimal Transparent keeps a light pill on busy CMS backgrounds). Set the Book button text and the language of the “Next” label. Optionally turn on Show available spots to include remaining places in the scrolling line.

  3. 3

    Preview the pill

    The live preview shows a compact rounded bar in the bottom-right. Time and class name scroll right to left like a teleprompter. Book opens your public booking page in a new tab, deep-linked to that class.

  4. 4

    Copy the embed snippet

    Click Copy to place the HTML on your clipboard. The snippet includes a fixed wrapper and a short iframe — paste the whole block, including the script tag.

  5. 5

    Paste it into your CMS

    Add an HTML / embed / custom-code block on WordPress, Webflow, Squarespace, or any site that allows raw HTML, and paste the snippet. Publish the page. The pill stays fixed at the bottom-right while visitors scroll.

  6. 6

    What visitors see

    The pill shows only your next upcoming bookable class (the soonest future start; if that class is full it still appears so visitors can open waitlist or booking). If you have no upcoming classes, the pill hides itself so the page stays clean.

Tips

  • Re-copy and replace the snippet whenever you change theme, language, button text, or spots — preferences save in StudioPlan, but your website only updates after you paste the new code.
  • Keep the Book label short (a few characters) so the pill stays compact on mobile.
  • Allowed domains configured for widgets also apply here once you restrict embedding to your own sites.
  • Test on a blank HTML page first if your CMS strips script tags; the resize script is required so the pill collapses when nothing is upcoming.

Still need help?

Our support team is happy to help you get set up.

Embed the floating next-class widget - StudioPlan Help Center | StudioPlan