web_bookings_calendar_feed Shortcode
The web_bookings_calendar_feed shortcode renders the bookings calendar feed component.
The attributes below match the current Page Builder controls and public output. Use raw syntax only for reviewed content that cannot be maintained through the visual controls.
Usage
[web_bookings_calendar_feed]
Attributes
| Attribute | Default | Accepted values | Purpose |
|---|---|---|---|
results_label |
Selected date |
String unless stated otherwise | Controls the results label. |
layout |
default |
default or a configured custom feed-template slug |
Selects the template used for each calendar result. |
orderby |
date |
include, date, title, modified, rand, menu_order |
Controls the order. |
default_date |
none |
today, tomorrow, none |
Controls the default date. |
first_load |
selected |
none, selected |
Wait for a date, or load the default day. Without a default day, load the visible month. |
category |
— | Up to 50 positive, comma-separated product category IDs | Restrict products; descendants match too. Invalid or deleted categories do not widen results. |
el_class_feed |
— | String unless stated otherwise | If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file. |
device_visibility |
— | Comma- or space-separated web-hide-on-xs, web-hide-on-sm, web-hide-on-md, web-hide-on-lg |
Hide on the selected theme device ranges. |
el_id |
— | Valid unique HTML ID | Enter section ID (Note: make sure it is unique and valid according to w3c specification). |
el_class |
— | String unless stated otherwise | If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file. |
Integration requirement
This output requires WooCommerce and WooCommerce Bookings with published, visible bookable products. An unavailable integration produces a clear message, not fabricated availability. The shortcode remains registered when the Legacy Page Builder administration interface is disabled.
Queries use current booking slots and theme permissions and cover 1–31 days. Public results process all matching products in batches. Editor previews retain a 50-product and 2,000 candidate/resource/day work limit; narrow categories or select one day to reduce preview work. Each product appears once. include orders by product ID; all non-random ordering is ascending.
The shared datepicker cancels outdated requests and clears stale cards on failure. It uses the existing conditional datepicker assets and the selected feed template's dependencies. It creates no reservations. Active calendar pages request cache bypass to keep relative initial dates current.
The equivalent Gutenberg block is Bookings Calendar Feed. See its configuration and preview guide.
Verification
Confirm the required WooCommerce feature is active, then test web_bookings_calendar_feed with representative products and customer states. Pay particular attention to results_label and layout.