
外掛標籤
開發者團隊
原文外掛簡介
Booking Widget for Softula embeds the Softula booking widget — such as the Planner booking widget — directly into your WordPress pages and posts via the [softula] shortcode or the native “Booking Widget for Softula” block.
The plugin only loads widget.js on pages where the shortcode or block is actually used.
External services
This plugin connects to the Softula widget-delivery service to load and render the booking widget.
It loads a JavaScript file (widget.js) from https://planner-api.softula.com (or a self-hosted/staging API base configured via Settings) every time a page with the [softula] shortcode or block is viewed. The request includes the widget version and, embedded in the rendered widget’s markup, the site’s configured embed token and widget type — no personal visitor data is sent by the plugin itself; any data exchanged once the widget is loaded (e.g. booking form submissions) is handled directly between the visitor’s browser and Softula’s API, governed by Softula’s own terms.
This service is provided by Softula: Terms of Service, Privacy Policy.
Usage
Basic:
[softula token=”your-embed-token” widget=”planner”]
With API base override:
[softula token=”your-embed-token” widget=”planner” api_base=”https://test-planner-api.softula.com”]
Attributes:
* token (required) — your Softula embed token (found in the dashboard under widget settings).
* widget (required) — the widget type, e.g. “planner”.
* api_base (optional) — override the API base URL. Default: https://planner-api.softula.com, configurable via Settings → Booking Widget for Softula or SOFTULA_API_BASE in wp-config.php.
