Linux 软件免费装
Banner图

Tribii Hotel Booking Engine

开发者 danieltribii
更新时间 2026年9月25日 18:11
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

booking booking engine reservations hotel direct booking

下载

1.0.0

详情介绍:

Put your Tribii booking engine on your WordPress site: a full booking flow with rooms, dates, extras and card payment, on your own domain and under your own name. Guests book directly with you. Tribii takes no commission on anything sold through it, and the money goes straight to your own Stripe account. Why a plugin and not a snippet Tribii gives you an embed snippet that works on any website. On WordPress it often does not survive the journey: the block editor strips <script> tags out of Custom HTML, so pasting the snippet by hand can silently produce nothing at all — no error, no empty box, just a page with no booking on it. This plugin removes that step. Paste your widget ID once and add a block, a shortcode, or a floating button that follows guests around the site. What you get Nothing to maintain The booking engine itself is served by Tribii, not bundled here. New features, fixes and translations arrive on their own; this plugin only ever needs updating when WordPress itself changes. You need a Tribii account This plugin connects an existing Tribii property to your site. Creating an account is free and takes a few minutes: tribii.com. Tribii is free up to 20 rooms, with no commission and no contract. Privacy and external services This plugin adds a script tag and an iframe served from app.tribii.com, which is what renders the booking flow for your guests. Booking data is handled by Tribii under its own privacy policy and terms. The plugin itself stores only your widget ID and one checkbox in your WordPress options table. It sets no cookies and collects nothing about your visitors. When you press Verify in the settings screen, your site makes one request to app.tribii.com/api/widget/settings carrying your widget ID, so the screen can show which property it belongs to. Source code and build Everything in this plugin is human-readable except the two block scripts under build/, which are compiled by @wordpress/scripts (webpack). Their unminified source ships alongside them in src/, so nothing here is a black box: To regenerate them from a checkout:
  1. npm install
  2. npm run build
The exact command is wp-scripts build --webpack-src-dir=src --output-path=build, kept in the bundled package.json. No other file in the plugin is generated, minified or obfuscated, and the plugin bundles no third-party libraries.

安装:

  1. Install and activate the plugin.
  2. Go to Settings → Tribii Booking.
  3. Paste your widget ID. You will find it in Tribii under Settings → Integrations.
  4. Press Verify to confirm it found the right property.
  5. Tick the floating button, or add a block to a page.

屏幕截图:

  • The Tribii Booking block in the page editor.
  • Both blocks in the block inserter.

常见问题:

Do I need a Tribii account?

Yes. The plugin connects a property you already have in Tribii. An account is free at tribii.com.

Where do I find my widget ID?

In Tribii, open Settings and then Integrations. It starts with wid_.

I pressed Verify and it says the domain is not allowed

Tribii can restrict a widget to one website. In Tribii, open Settings → Property and check that the website field is this site's address.

Can I run more than one property on one WordPress site?

Yes. Set the site-wide widget ID for the main one, then give any individual block or shortcode its own id="wid_...".

Does it work with my page builder?

Yes. Use the shortcodes; they work anywhere a page builder accepts one.

Does it slow my site down?

The script loads asynchronously and the booking flow loads in an iframe, so it never blocks your page from rendering. One script is loaded per page however many blocks are on it.

更新日志:

1.0.0