Dynamic tags reference
Dynamic tags let you drop live Booking data into any Elementor design without writing code. Instead of typing a class name or price into a heading, you bind that heading to a dynamic tag — and it fills itself in from the current class, instructor, location, package, or service. Build the design once; every class page, archive card, and hero renders its own data.
Where you’ll use them
- Theme Builder templates — design one “single class” layout and one “class archive card,” and every class flows through them. (Editing dynamic tags inside the Theme Builder needs Elementor Pro; the tags themselves ship with Booking’s free tier.)
- Hero sections & landing pages — show “the next upcoming session” or “today’s class count” with site-wide tags that don’t need a specific class in context.
- Any Elementor control — text, links (URL tags), background images (Image tags), even color pickers (the Class Color tag).
How to use a tag
- Select an Elementor widget (a Heading, Button, Image, etc.).
- Click the dynamic icon (the small database/stack icon) on the control you want to bind.
- Pick a tag from the Gather Grove Booking group. Only tags that match the control appear — Image tags for image controls, URL tags for links, and so on.
Context matters. Most tags read from “the current post,” so they shine inside Theme Builder templates for Classes, Instructors, Locations, Packages, and Services. The Site tags work anywhere. A handful of viewer tags (e.g. whether the logged-in visitor has already booked) are personalized to the current visitor — pair them with Elementor’s display conditions to swap a “Book” button for “You’re booked!”
The complete tag list
119 dynamic tags, all under the Gather Grove Booking group in the Elementor tag picker. The list below is generated directly from the plugin, so it always matches the version you have installed.
Class tags (45)
| Dynamic tag | What it pulls | Type |
|---|---|---|
| Class: Age Range Name | Outputs the first assigned ggrove_class_age term name for the current class (e.g. All Ages, Kids, Teens, Adults 18+) | Text |
| Class: Capacity | Outputs the available seat count for the current session | Text |
| Class: Category Name | Outputs the first assigned ggrove_class_category term name for the current class | Text |
| Class: Color | Outputs the calendar color of the current ggrove_class post. Registered in the COLOR_CATEGORY so Elementor color pickers can consume it | Color |
| Class: Course Sessions Remaining | Outputs the count of future scheduled sessions remaining for an enrollment-mode class. Useful for "2 weeks left to join" style copy. Returns empty for drop-in classes. "Remaining" = sessions where status='scheduled' AND start_datetime is in the future. Past + cancelled + archived sessions are excluded | Text |
| Class: Course Start Date | Outputs the course start date for enrollment- mode classes (gg_class_mode = 'enrollment'). Returns empty for drop-in classes since the field has no meaning there. Date is stored as Y-m-d at save time (no time component) so we format from PHP DateTime directly rather than DateTimeHelper | Text |
| Class: Course Total Sessions | Outputs the total session count for an enrollment-mode class (gg_class_total_sessions). Returns empty for drop-in classes | Text |
| Class: Description | Outputs the description of the current ggrove_class post, sourced from the dedicated meta field, the post excerpt, or the post content. Optionally truncated to a configurable word limit | Text |
| Class: Duration | Outputs the duration of the current ggrove_class post in a configurable format | Text |
| Class: Flyer | Exposes the ggrove_class flyer image directly, with no source control. Convenience tag for layouts that always want the flyer regardless of widget-level source preference. Returns nothing when the class has no flyer set. Registered in IMAGE_CATEGORY. For switchable Featured/Flyer/Auto behaviour, use `gg_class_image` (ClassImageTag) instead | Image |
| Class: Gallery | Exposes the ggrove_class alt-image gallery (gg_class_gallery_ids meta) as a gallery data source. Pairs with Elementor's native Basic Gallery / Image Carousel / Slideshow widgets so studios can drop a multi-image presentation onto any class page or theme-builder template without custom logic. Registered in GALLERY_CATEGORY. This is the first plugin tag in that category; see Absolute Rule 121 for the return-shape contract. Maximum 12 images per gallery (enforced at write time by ClassMetaBox per rule 118). Order matches the order saved by the studio in the Class Media metabox | Gallery |
| Class: Image | Exposes a ggrove_class image (Featured, Flyer, or Auto-fallback) as an image source. Studios pick the source from a SELECT control inside the dynamic-tag picker, so a single tag can drive any Elementor image control to whichever image makes sense for the surrounding design. Registered in IMAGE_CATEGORY. Source resolution is delegated to ClassMedia (rule 119) so the widget side and tag side stay in lock-step | Image |
| Class: Instructor | Outputs the instructor name assigned to the current ggrove_class post | Text |
| Class: Instructor Photo | Outputs the photo of the instructor assigned to the current ggrove_class post. The class only stores the instructor's ID (gg_class_instructor_id); this tag resolves across to the linked ggrove_instructor post and returns its photo so an instructor mini-card can be composed on a class surface (where the queried post is the class, not the instructor — so the instructor-context gg_instructor_photo_url tag would resolve empty) | Image |
| Class: Instructor Specialties | Outputs the specialties of the instructor assigned to the current ggrove_class post, joined with " · ". Class-context companion to the instructor-context gg_instructor_specialties tag (which only resolves on an instructor single). Lets an instructor mini-card on a class surface show the instructor's specialties | Text |
| Class: Instructor URL | Outputs the profile permalink of the instructor assigned to the current ggrove_class post. Lets an instructor mini-card on a class surface link through to the instructor's single-profile page. The class only stores the instructor's ID; this tag resolves across to the linked ggrove_instructor post for its permalink | URL |
| Class: Is Booked (Current Viewer) | Outputs configurable text when the current logged-in viewer has a confirmed booking on any session of the current class, empty (or "not-booked" text) otherwise. Pair with Elementor visibility conditions to swap CTAs ("Book Now" → "View Your Bookings") without code. Viewer-aware tags short-circuit on !is_user_logged_in() per Absolute Rule 120 — no DB query runs for guests | Text |
| Class: Is Full (Next Session) | Outputs configurable text when the next upcoming scheduled session for the current class has zero remaining seats. Empty otherwise. Pair with Elementor visibility conditions for a "Sold Out" badge | Text |
| Class: Is Virtual | Outputs configurable text based on whether the current ggrove_class is virtual (gg_class_is_virtual). Drive an "Online" badge or conditional copy on class pages | Text |
| Class: Level Name | Outputs the first assigned ggrove_class_level term name for the current class (e.g. Beginner, Intermediate, All Levels) | Text |
| Class: Location | Outputs the location name assigned to the current ggrove_class post | Text |
| Class: Mode | Outputs the class's mode (Drop-in vs Enrollment) as a human label or raw slug. Pair with Elementor's conditional visibility to swap CTAs between "Book a Session" and "Enroll in Course" without code | Text |
| Class: Next Session (Date & Time) | Outputs the next upcoming session datetime for the current ggrove_class post, formatted in the site's timezone | Text |
| Class: Next Session Booking URL | Outputs a deep-link to the booking page pre-targeted at the next upcoming scheduled session of the current class | URL |
| Class: Next Session Date | Outputs the date of the next upcoming scheduled session for the current ggrove_class post, formatted in the site's timezone | Text |
| Class: Next Session Instructor | Outputs the active instructor name for the next upcoming scheduled session of the current class. Substitute-aware (per CLAUDE.md rule 51): when is_substitute=1, returns the substitute instructor's name; otherwise returns the class default instructor | Text |
| Class: Next Session Location | Outputs the location name for the next upcoming scheduled session of the current class. Reads from the session row, so per-session location overrides are reflected | Text |
| Class: Next Session Room | Outputs the Room name for the class's next upcoming scheduled session, joining gg_sessions → wp_posts on room_id. Empty when there is no future session, the session has no room assigned, or the room post has been deleted. Pairs with the existing next-session tags (gg_class_next_session_date, _time, _instructor, _location, etc.) so studios can compose a full "next session" detail block in Theme Builder templates | Text |
| Class: Next Session Status | Outputs the human-readable status label of the next upcoming session for the current class. Filtering matches the other "next session" tags (status='scheduled'), so this tag is primarily useful as a verification badge ("Confirmed", "Scheduled", etc.) — designers can customize the label text per status via the controls | Text |
| Class: Next Session Team | Outputs the teaching team (lead + co-instructors) for the next upcoming scheduled session of the current class, joined as "Alex, Sam & Jordan" (Team Teaching). Substitute-aware via SessionInstructors::for_session() (rule 51 — the lead slot resolves the active substitute). The lead-only `gg_class_next_session_instructor` tag is kept for back-compat; this is its team-aware sibling | Text |
| Class: Next Session Time | Outputs the time of the next upcoming scheduled session for the current ggrove_class post, formatted in the site's timezone | Text |
| Class: Price | Outputs the current class drop-in price | Text |
| Class: Remaining Spots (Next Session) | Outputs the number of remaining seats on the next upcoming scheduled session for the current class | Text, Number |
| Class: Room Description | Outputs the description of the class's assigned Room (from the room's gg_room_description meta). Empty when no room is assigned or the room has no description | Text |
| Class: Room Name | Outputs the class's assigned Room name (from gg_class_room_id meta). Empty when no room is assigned (the canonical "no room" state per rule 122) | Text |
| Class: Room Photo | Exposes the photo attached to the class's assigned Room (gg_room_photo_id meta) as an image source. Empty when no room is assigned or the room has no photo. Registered in IMAGE_CATEGORY | Image |
| Class: Status | Outputs the current class's status as a human-readable label (Active / Paused / Archived). Raw slug is exposed via the 'output_format' control for studios that need a machine-readable value (e.g. CSS class names, attribute values) | Text |
| Class: Teaching Team | Outputs the full teaching team (lead + co-instructors) for the current ggrove_class post, joined as "Alex, Sam & Jordan" (Team Teaching). The lead-only `gg_class_instructor` tag is kept for back-compat; this tag is the team-aware sibling. A single-instructor class renders identically to the lead-only tag | Text |
| Class: Title | Outputs the current class title | Text |
| Class: Type Name | Outputs the first assigned ggrove_class_type term name for the current class. Pair with text widgets to render type badges anywhere — Theme Builder hero, archive cards, etc | Text |
| Class: URL | Outputs the current class permalink | URL |
| Class: Viewer Has Qualifying Membership | Outputs configurable text when the current logged-in viewer holds an active (or pending) membership that qualifies for the current class's restriction list (gg_class_membership_required). Empty when no restriction is set, when the viewer holds no qualifying membership, or when not logged in. Routes through PackageService::household_has_qualifying_membership() so the eligibility logic matches what the booking gate shows (rule 58). Household-scoped rather than user-scoped because on a family-accounts site the parent is the one signed in while the children hold the memberships — see that method's docblock. Viewer-aware tags short-circuit on !is_user_logged_in() per Absolute Rule 120 | Text |
| Class: Viewer Last Attended Date | Outputs the date the viewer most recently attended a session of the current class, based on gg_attendance rows with status='attended'. Useful for "Last attended: April 2" copy. Empty when the viewer has never attended this class. Viewer-aware tags short-circuit on !is_user_logged_in() per Absolute Rule 120 | Text |
| Class: Viewer Next Booking Date | Outputs the date of the viewer's next confirmed future booking on the current class. Useful for "Your next session is Thursday" style copy. Empty when the viewer has no upcoming bookings for this class, or when not logged in. Viewer-aware tags short-circuit on !is_user_logged_in() per Absolute Rule 120 | Text |
| Class: Waitlist Count (Next Session) | Outputs the number of people currently on the waitlist (status IN waiting, notified) for the next upcoming scheduled session of the current class | Text, Number |
Instructor tags (10)
| Dynamic tag | What it pulls | Type |
|---|---|---|
| Instructor: Bio | Outputs the bio of the current ggrove_instructor post, optionally truncated to a configurable word limit | Text |
| Instructor: Email | Outputs the instructor's email address | Text, URL |
| Instructor: Name | Outputs the instructor's display name | Text |
| Instructor: Next Class Name | Outputs the class name of the instructor's next scheduled session | Text |
| Instructor: Next Session Date | Outputs the date/time of the instructor's next scheduled session, formatted with a configurable PHP date string | Text, Date / time |
| Instructor: Phone | Outputs the instructor's phone number | Text |
| Instructor: Photo URL | Exposes the instructor profile photo as an image source. Falls back to the WP featured image when no dedicated photo attachment is set. Registered in IMAGE_CATEGORY so it can be selected from any Elementor image control | Image |
| Instructor: Specialties | Outputs the instructor's specialties as a single inline list separated by middle dots | Text |
| Instructor: URL | Outputs the current instructor permalink | URL |
| Instructor: Upcoming Sessions | Outputs the number of upcoming scheduled sessions for the current instructor within a configurable window | Text, Number |
Location tags (15)
| Dynamic tag | What it pulls | Type |
|---|---|---|
| Location: Address | Outputs a formatted, comma-separated address for the current ggrove_location post | Text |
| Location: City | Outputs the city of the current ggrove_location | Text |
| Location: Country | Outputs the country of the current ggrove_location | Text |
| Location: Description | Outputs the description of the current ggrove_location post | Text |
| Location: Directions URL | Outputs a Google Maps "Get directions" URL for the current ggrove_location's address. Plug into Button/Link URL controls for a one-tap directions CTA. URL form: https://www.google.com/maps/dir/?api=1&destination=<encoded address> | Text, URL |
| Location: Image | Exposes the ggrove_location featured image as an image source. Registered in IMAGE_CATEGORY so it can be selected from any Elementor image control | Image |
| Location: Is Virtual | Outputs configurable text based on whether the current ggrove_location is virtual (gg_location_is_virtual). Drive an "Online" badge or conditional copy for hybrid / online studios | Text |
| Location: Map Embed URL | Outputs a Google Maps embed URL for the current ggrove_location's address. Plug into an iframe src or any Elementor map widget that accepts a URL-driven embed. URL form: https://www.google.com/maps?q=<encoded address>&output=embed No API key required for this lightweight form. Studios who want the fully-featured Embed API can layer their own widget on top using the `gg_location_directions_url` text + their key | Text, URL |
| Location: Name | Outputs the title of the current ggrove_location post | Text |
| Location: Phone | Outputs the phone number for the current ggrove_location post | Text |
| Location: State | Outputs the state/province of the current ggrove_location | Text |
| Location: Street | Outputs the street address (line 1 + optional line 2) of the current ggrove_location, for custom layouts that want the street separate from city/state/zip | Text |
| Location: URL | Outputs the current location permalink | URL |
| Location: Virtual URL | Outputs the default virtual meeting URL of the current ggrove_location (gg_location_virtual_url). Drive a "Join online" button for virtual locations | Text, URL |
| Location: ZIP / Postal Code | Outputs the ZIP/postal code of the current ggrove_location | Text |
Package tags (14)
| Dynamic tag | What it pulls | Type |
|---|---|---|
| Package: Billing Cycle | Outputs a formatted billing cycle for the current membership package (e.g. "Monthly", "Every 3 months", "Yearly"). Empty for non-membership packages or when no interval is set. Reads gg_package_billing_interval (week|month|year, default 'month') and gg_package_billing_interval_count (positive int, default 1) | Text |
| Package: Description | Outputs the description of the current ggrove_package post | Text |
| Package: Featured Image | Exposes the ggrove_package featured image as an image source. Registered in IMAGE_CATEGORY so any Elementor image control can use it | Image |
| Package: Is Membership | Outputs configurable text when the current ggrove_package is a membership (gg_package_type = 'membership'), empty (or class-pack text) otherwise. Pair with visibility conditions for cleaner package-shop layouts | Text |
| Package: Is Owned (Current Viewer) | Outputs configurable text when the current logged-in viewer owns the current package, empty otherwise. Pair with Elementor visibility conditions for "owned" badges or alternate CTAs | Text |
| Package: Monthly Allowance | Outputs the per-period session allowance of the current ggrove_package (gg_package_monthly_allowance). Renders nothing for unlimited memberships or non-allowance packages, so studios can compose "{Package: Monthly Allowance} classes / month" copy without a stray "0" | Text |
| Package: Price | Outputs the price of the current ggrove_package post | Text |
| Package: Price Per Session | Outputs the per-session price of the current ggrove_package (price ÷ sessions). Useful for "Only $15/class" copy on package shop pages. Returns empty when sessions is 0 (unlimited packages — per-session price has no meaning) or when price is 0 | Text |
| Package: Regular price (shown during a sale) | Package: Regular price (on sale) — the price to strike through. @package GatherGroveBookingElementorDynamicTags | Text |
| Package: Session Count | Outputs the session count of the current ggrove_package post | Text |
| Package: Sessions Remaining (Current Viewer) | Outputs the sessions remaining for the current logged-in viewer on the current package post. Empty for guests. Handles three package shapes: – Class pack: outputs `sessions_remaining` integer – Allowance membership: outputs (sessions_monthly_allowance – sessions_used_this_period) – Unlimited membership: outputs the configurable "Unlimited" label | Text |
| Package: Title | Outputs the title of the current ggrove_package post | Text |
| Package: Type | Outputs the type label of the current ggrove_package post | Text |
| Package: Validity | Outputs the validity period of the current ggrove_package post | Text |
Service tags (15)
| Dynamic tag | What it pulls | Type |
|---|---|---|
| Service: Booking URL | Outputs a deep-link that opens the appointment booking modal for the current ggrove_service. Form: the configured Appointments page URL + `#book-service=<slug>` (rule 147 — the showcase + modal host listen for that hash on load). Falls back to the service permalink when no Appointments page is configured | Text, URL |
| Service: Cancellation Policy | Outputs the cancellation policy for the current ggrove_service (gg_service_cancellation_policy, rule 127 Stage 3.F) | Text |
| Service: Deposit Summary | Outputs the deposit summary for the current ggrove_service post. Reads gg_service_deposit_type / _value and renders a human-readable phrase like "$25 deposit + $75 at appointment" or "Pay in full at booking" depending on configuration | Text |
| Service: Description | Outputs the description of the current ggrove_service post (post content or excerpt). Optionally truncated to a word limit | Text |
| Service: Duration | Outputs the default duration of the current ggrove_service post in minutes (e.g. "30 minutes") | Text |
| Service: Featured Image | Exposes the ggrove_service featured image as an image source. Registered in IMAGE_CATEGORY so any Elementor image control can use it | Image |
| Service: Location | Outputs the name of the ggrove_location assigned to the current ggrove_service post | Text |
| Service: Name | Outputs the title of the current ggrove_service post | Text |
| Service: Next Available Slot | Outputs the next bookable appointment slot for the current ggrove_service as a combined date + time string. The appointment analog of Class: Next Session. Computed from gg_availability, filtered against existing bookings (ServiceTagHelper::next_available_slot_utc) | Text |
| Service: Next Available Slot Date | Outputs the DATE of the next bookable appointment slot for the current ggrove_service. See ServiceNextAvailableSlotTag | Text |
| Service: Next Available Slot Time | Outputs the TIME of the next bookable appointment slot for the current ggrove_service. See ServiceNextAvailableSlotTag | Text |
| Service: Price | Outputs the price of the current ggrove_service post, formatted via CurrencyHelper | Text |
| Service: Provider | Outputs the name of the ggrove_instructor assigned to the current ggrove_service post | Text |
| Service: Room | Outputs the name of the ggrove_room assigned to the current ggrove_service post. Empty when no room is assigned (rule 122) | Text |
| Service: URL | Outputs the permalink of the current ggrove_service. Parity with Class / Instructor / Location URL tags so service cards in a loop grid or showcase can link to the service detail page | Text, URL |
Site tags (12)
| Dynamic tag | What it pulls | Type |
|---|---|---|
| Site: Appointments URL | Outputs the configured Services / Appointments page URL (the canonical appointment browse surface, rule 147) | Text, URL |
| Site: Book URL | Outputs the configured Book a Class page URL | Text, URL |
| Site: Login URL | Outputs the configured Login page URL | Text, URL |
| Site: Memberships URL | Outputs the configured Packages & Memberships page URL | Text, URL |
| Site: My Account URL | Outputs the configured My Account page URL | Text, URL |
| Site: Next Upcoming Session | Outputs the class title of the next upcoming scheduled session anywhere in the studio. Useful for site-wide hero sections ("Next class: Sunrise Vinyasa") | Text |
| Site: Next Upcoming Session Date | Outputs the date of the next upcoming scheduled session anywhere in the studio. Site-wide complement to the per-class Next Session Date tag | Text |
| Site: Next Upcoming Session Time | Outputs the time of the next upcoming scheduled session anywhere in the studio. Site-wide complement to the per-class Next Session Time tag | Text |
| Site: Schedule URL | Outputs the configured Schedule page URL. Drive a button link or any URL control so CTAs point at the studio's schedule without hardcoding the path | Text, URL |
| Site: Studio Logo | Exposes the configured studio logo (branding.studio_logo_id) as an Elementor image source. Use anywhere an image control accepts dynamic tags — theme-builder headers, hero sections, email shells (already does this internally via EmailSettings). Site-wide tag — no post context required | Image |
| Site: Studio Name | Outputs the configured studio name from Branding Settings (branding.studio_name). Falls back to the WP site name when unset so theme-builder headers never render blank. Site-wide tag — no post context required | Text |
| Site: Today | Outputs the count of scheduled sessions occurring today (in the site's timezone). Useful for hero sections like "12 classes today" | Text, Number |
Room tags (8)
| Dynamic tag | What it pulls | Type |
|---|---|---|
| Room: Capacity | Outputs the capacity of the current ggrove_room. Renders nothing when the room inherits capacity (gg_room_capacity = 0), since there is no fixed number to show (rule 122) | Text |
| Room: Description | Outputs the description of the current ggrove_room | Text |
| Room: Equipment | Outputs the equipment / amenities list of the current ggrove_room. Stored one-per-line; rendered as an HTML list so studios can style it in a Text Editor or HTML widget | Text |
| Room: Location | Outputs the name of the parent location for the current ggrove_room (gg_room_location_id → ggrove_location title) | Text |
| Room: Location URL | Outputs the permalink of the parent location for the current ggrove_room, so a room page can link back to its location | Text, URL |
| Room: Name | Outputs the name (title) of the current ggrove_room | Text |
| Room: Photo | Exposes the ggrove_room photo (gg_room_photo_id) as an image source. Registered in IMAGE_CATEGORY so any Elementor image control can use it. Rooms store their photo in dedicated meta, not the WP featured image (rule 122) | Image |
| Room: URL | Outputs the permalink of the current ggrove_room | Text, URL |
Applies to Gather Grove Booking v1.278.2. The reference tables on this page are generated from the plugin source — last synced November 11, 2026.