| 开发者 | casbizz |
|---|---|
| 更新时间 | 2026年8月24日 21:19 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[wanttobook] anywhere standard WordPress shortcodes are supported.
Features
slug.[wanttobook] on a page.[wanttobook]
Customize one page: [wanttobook slug="second-location" height="900" appearance="dark" title="Book an appointment"]
Supported attributes:
slug - Overrides the organization configured under Settings > WantToBook.height - Sets the form height from 480 to 2000 pixels.appearance - Accepts system, light, or dark.title - Sets the accessible iframe title./wp-content/plugins/ or install the ZIP through Plugins > Add New > Upload Plugin.[wanttobook].It is the organization part of the public booking URL. For example, the slug in https://wanttobook.com/example-business/reserveer is example-business.
For security, WantToBook only allows the booking form to be embedded by the website configured for that organization. Make sure the WordPress site address, including the use of www, matches the website stored in WantToBook.
Yes. Use [wanttobook] with the global settings, or override them for one page with [wanttobook slug="example-business" height="900" appearance="dark"]. Appearance accepts system, light, or dark.
Yes. Add [wanttobook] through the builder's shortcode or code element. The same approach works in any page builder that supports standard WordPress shortcodes.
Yes. Override the organization for an individual block or shortcode with the slug attribute, for example [wanttobook slug="second-location"].
No. The booking iframe uses native lazy loading, and the frontend stylesheet is enqueued only on pages where the block or shortcode is rendered.
No. The plugin stores only its organization slug and display height. Booking data is submitted directly to the hosted WantToBook service.
Yes. When a page contains the block or shortcode, it loads the booking form from wanttobook.com. That request is necessary to provide the booking functionality.