plugin-icon

Boseat Booking

作者 clementg·
Intègre facilement le widget de réservation Boseat dans votre site WordPress.
版本
1.0.0
最近更新:
Feb 12, 2026
Boseat Booking

The Boseat Booking plugin allows you to easily embed the Boseat reservation widget into your WordPress site. You can display it as a modal, inline element, floating button, or direct iframe.

Key Features

  • Easy integration with the [boseat] shortcode
  • 4 display modes: modal, inline, float, direct
  • Customizable parameters (tenant, workspace, seat, etc.)
  • JavaScript event support for developers
  • Avoid cookie-related redirect issues with direct iframe mode

Usage

Basic shortcode

`plaintext

[boseat] `

With custom parameters

`plaintext

[boseat tenant=”boseat” workspace=”test” seat=”test” button_text=”Book now” display=”modal”] `

If you do not provide a button_text, the plugin will use a localized default label (for example, "Réserver" in French).

Direct iframe display

`plaintext

[boseat display=”direct” width=”100%” height=”600px”] `

You can also force direct iframe mode via the shortcode attribute:

`plaintext

[boseat tenant=”boseat” workspace=”test” seat=”test” use_direct_iframe=”true” width=”100%” height=”600px”] `

Shortcode parameters

  • tenant – Tenant identifier
  • workspace – Workspace identifier
  • seat – Seat identifier
  • button_text – Button label (localized default if omitted)
  • display – Display mode: modal, inline, float or direct
  • width – Widget width in inline or direct mode
  • height – Widget height in inline or direct mode
  • mode – Execution mode: live or test
  • use_direct_iframe – Set to "true"/"1" to always use direct iframe mode (bypasses the JS widget and can help with cookie/redirect issues)

Development

Docker Setup

This repository includes a Docker Compose setup for local WordPress development.

Important: The Docker configuration mounts only the plugin file directly (read-only), protecting your repository from WordPress file operations.

To get started:

  1. Start Docker containers: bash cd compose docker-compose up -d

  2. Access WordPress:

    • WordPress: http://localhost:8888
    • Default admin credentials:
      • Username: admin
      • Password: admin
      • Email: admin@example.com

    These credentials are automatically set up on first run.

  3. After making changes to the plugin: `bash

    Sync updated plugin file to compose directory

    compose/sync-plugin.sh

    Restart WordPress to reload the plugin

    cd compose docker-compose restart wordpress `

The plugin file is mounted read-only, so your repository remains safe from WordPress operations.

免費使用Business方案
目前已測試版本
WordPress 6.6.4
此外掛程式已可供下載,並可用於你 系統。