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 either the wp_body_open or the wp_footer 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.
  • 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.

Example:
[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.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Gastro.site Table Reservation〉的開發相關工作。

參與者

〈Gastro.site Table Reservation〉外掛目前已有 4 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Gastro.site Table Reservation〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.1

  • Compatibility update for WordPress 6.9
  • Extended shortcode attributes for advanced widget configuration
  • Improved settings validation for integration options

1.0.0

  • Initial release