1 min read
Five shortcodes ship with MyBookaro Lite. All are also available as Gutenberg blocks (see next article).
[bookaro_booking_button] #
Renders a single button that opens a booking form modal.
Attributes: listing_id, provider_id, service_id, service_label, price, service_duration, button_label, class.
Example: [bookaro_booking_button provider_id="42" service_id="9" button_label="Book a session"]
[bookaro_booking_form] #
Renders the full booking form inline.
Attributes: all of the above + auto_open="yes" to open the modal on page load.
[bookaro_provider_dashboard] #
Renders the provider’s full dashboard. Place on a logged-in-only page; only the logged-in provider sees their own data.
Attributes: none.
[bookaro_customer_dashboard] #
Customer-side dashboard with booking history, upcoming bookings, profile.
Attributes: none.
[bookaro_services_cards] #
Service grid/list. Useful on a “Services” page.
Attributes: listing_id, provider_id, listing_source, mode, layout, columns, show_price, show_duration, source.
Example (Single Business): [bookaro_services_cards provider_id="5" columns="3" show_price="yes"]
Common patterns #
- Single Business homepage:
[bookaro_services_cards]+[bookaro_booking_form]stacked. - MyListing single-listing template: shortcode/block placement for testing alongside the auto-detected sidebar entry.
- Generic Directory:
[bookaro_booking_button listing_id="123"]in a custom template hook.