| 开发者 | gastrosite |
|---|---|
| 更新时间 | 2026年7月9日 18:32 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | 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 the wp_footer hook.
You can use the [book_a_table] shortcode to insert the widget anywhere inside a page, post or widget.
You can use the [menu_card] shortcode to insert the menu card anywhere inside a page, post or widget.
The [book_a_table] shortcode supports 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.gray-colors: Neutral color palette with 12 pipe-separated hex colors.transparent-background: Render without an own background color (true or false).render-method: Display mode (inline or button). Defaults to inline.button-label: Text shown on the booking button.button-label-mode: Button text mode (none, custom, or auto). Use auto to show the translated default text for the selected widget language.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.languages: Comma-separated language list for the widget language switcher (e.g. de,en).rounded-cards: Use rounded card corners (true or false).rounded-buttons: Use rounded buttons (true or false).[book_a_table lang="de" header="true" primary-color="#E74E60" transparent-background="true" render-method="button" button-label-mode="auto" button-size="lg" button-color="primary" button-position="right" z-index="1000" languages="de,en" rounded-cards="true" rounded-buttons="true"]
The [menu_card] shortcode supports the following optional attributes:
lang: Language code (e.g. de, en, es). Defaults to WordPress site language.primary-color: Primary color for the menu card in hex format (e.g. #E74E60). Defaults to plugin setting.gray-colors: Neutral color palette with 12 pipe-separated hex colors.transparent-background: Render without an own background color (true or false).languages: Comma-separated language list for the widget language switcher (e.g. de,en).rounded-cards: Use rounded card corners (true or false).rounded-buttons: Use rounded buttons (true or false).[menu_card lang="de" primary-color="#E74E60" transparent-background="true" languages="de,en" rounded-cards="true" rounded-buttons="true"]
The ID is always taken from the plugin settings and cannot be set via the shortcode.