Gastro.site Table Reservation

描述

Integrate the Gastro.site Table Reservation Tool in your Website.

External services

This plugin connects to the Gastro.site platform to embed the reservation widget.

The widget JavaScript file is loaded from https://www.gastro.site/web-components.bundle.js on each page load to display the booking button.

No personal user data is sent to Gastro.site. Only the Gastro.site ID (defined in the plugin settings) is transmitted to display the correct restaurant widget.

Service provided by Gastro.site – see:
– Terms of Use: https://www.gastro.site/agb
– Privacy Policy: https://www.gastro.site/datenschutz

屏幕截图

安装

  1. Upload the plugin and activate it via WordPress Admin
  2. Go to Settings Table Reservation and paste your Gastro.site ID
  3. Done!

常见问题

Where do I get the Gastro.site ID?

You can find it in your Gastro.site dashboard. There, you’ll find instructions for integration as well as additional configuration options.

Does this plugin work with all WordPress themes?

Yes, as long as your theme supports the wp_head hook.

How do I embed the booking widget manually?

You can use the [book_a_table] shortcode to insert the widget anywhere inside a page, post or widget.

Which attributes does the shortcode support?

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.

Example:
[book_a_table lang=”de” header=”true” primary-color=”#E74E60″]

The ID is always taken from the plugin settings and cannot be set via the shortcode.

评价

此插件暂无评价。

贡献者及开发者

「Gastro.site Table Reservation」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Gastro.site Table Reservation」插件已被翻译至 3 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Gastro.site Table Reservation」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • Initial release