| 开发者 | gastrosite |
|---|---|
| 更新时间 | 2026年4月14日 22:58 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
You can find it in your Gastro.site dashboard. There, you’ll find instructions for integration as well as additional configuration options.
Yes, as long as your theme supports either the wp_body_open or the wp_footer hook.
You can use the [book_a_table] shortcode to insert the widget anywhere inside a page, post or widget.
You may pass the following optional attributes:
lang: Language code (e.g. de, en, es). Defaults to WordPress site language.header: Show header above the widget (true or false). Defaults to plugin setting.primary-color: Primary color for the widget in hex format (e.g. #E74E60). Defaults to plugin setting.render-method: Display mode (inline or button). Defaults to inline.button-label: Text shown on the booking button.button-size: Button size (sm or lg).button-color: Button color (white, gray, or primary).button-position: Button position (left or right).z-index: Numeric z-index value.[book_a_table lang="de" header="true" primary-color="#E74E60" render-method="button" button-label="Reserve table online" button-size="lg" button-color="primary" button-position="right" z-index="1000"]
The ID is always taken from the plugin settings and cannot be set via the shortcode.