Skip to main content

Shortcodes

Use shortcodes when the page builder or theme works better with text snippets than blocks.

Monthly booking calendar

This shortcode shows the customer booking calendar:

[tbk-calendar]

The default view is monthly, so this is equivalent:

[tbk-calendar view="monthly"]

Customer reservations list

Use the reservations view for logged-in customers who need to review their bookings:

[tbk-calendar view="reservations"]

Show only selected services

Use service IDs when a page should book only specific services:

[tbk-calendar services="s_service_one,s_service_two"]

Show only selected providers

Use provider WordPress user IDs when a page should book only specific providers:

[tbk-calendar providers="3,7"]

Access options

Show availability without allowing booking:

[tbk-calendar read-only="yes"]

Require login before booking:

[tbk-calendar logged-only="yes"]

Combined example

[tbk-calendar view="monthly" services="s_service_one" providers="3,7" logged-only="yes"]

For reservation status links, use a dedicated page with a TheBooking widget and select it under Settings > Core > Redirects > Reservation status page.