Gastro.site Table Reservation

Description

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

Screenshots

Installation

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

FAQ

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.

How do I embed the menu card manually?

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

Which attributes does the shortcode support?

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-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).

Example:
[book_a_table lang=”de” header=”true” primary-color=”#E74E60″ transparent-background=”true” render-method=”button” button-label=”Reserve table online” 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).

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

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Gastro.site Table Reservation” is open source software. The following people have contributed to this plugin.

Contributors

“Gastro.site Table Reservation” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “Gastro.site Table Reservation” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.2

  • Compatibility update for WordPress 7.0
  • Added menu card shortcode support
  • Added advanced widget styling settings for colors, backgrounds, rounded cards and rounded buttons
  • Added language switcher configuration
  • Updated plugin translations

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