| 开发者 | clavity |
|---|---|
| 更新时间 | 2026年10月13日 12:10 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[lsbooking_property_search] - search bar plus results grid. Attributes: columns, flex, default_guests, detail_page_url, results_page_url.[lsbooking_property_detail] - one room or unit with gallery, calendar, map and booking sidebar. Attributes: id, show_calendar, show_map. Reads the id query parameter when no attribute is given.[lsbooking_booking_widget] - the original booking widget. Attributes: property_id, style, show_search, default_adults, default_children.[lsbooking_room_list] - a grid of your room types. Attributes: property_id, show_prices, columns, detail_page_url.[lsbooking_availability_search] - a standalone search form. Attributes: property_id, redirect_url, button_text.[lsbooking_association_search] and [lsbooking_association_property_list] - association mode search and property directory. Attributes: show_booking, sort_by, default_adults, default_children, columns, show_contact, show_amenities.tjtvqqfsiqdseubrtngu.supabase.co). Every widget loads your property content, availability and rates from this API, and sends bookings to it. Data sent: your property API key, search dates and guest counts, and for a booking the guest's name, email, phone, address, special requests, coupon code and the payment token issued by Stripe. This is the service the plugin exists to connect to; it cannot work without it. Terms of service - Privacy policy
Stripe (js.stripe.com). Loaded only when you enter a Stripe publishable key on the settings page. Card details are entered in Stripe's own hosted fields and go directly from the guest's browser to Stripe; the plugin and Lodging Suite only receive a token. Terms - Privacy policy
Google Maps (maps.google.com, www.google.com/maps/embed, maps.googleapis.com). The room detail page embeds a map of the property's location in an iframe; with a Google API key entered on the settings page the Maps Embed API is used instead. When a key is present the booking form also loads the Places library to autocomplete the guest's address. Google receives the property coordinates and, for autocomplete, what the guest types in the address field. Set show_map="false" and leave the key empty to disable both. Terms - Privacy policy
Source code
The booking widgets are built from TypeScript and React source in the src directory of this plugin and compiled with Vite into assets/js/ls-booking.js. Run npm install and npm run build inside the plugin directory to rebuild.
[lsbooking_property_search] to your own results page and [lsbooking_property_detail] to your own detail page and select them there.[lsbooking_property_search] wherever you want the search bar to appear, for example on your home page.Yes. The plugin is the website front end for the Lodging Suite property management system. Rooms, rates, availability and bookings all live there. There is no standalone mode.
The plugin is free and open source. Lodging Suite itself is a paid subscription with a free trial; see lodgingsuite.com.
No. Bookings made through your own site are commission-free. Card processing fees are charged by Stripe under your own Stripe account.
Stripe. Connect your Stripe account inside Lodging Suite, then paste the publishable key into the plugin settings. Without a key the plugin holds reservations without payment.
Yes. The widgets are rendered by shortcodes, so they work in the block editor, classic editor, Elementor, and any theme. Use the Button Color, Button Text Color and Sticky Header Height settings to fit your design.
Straight into your Lodging Suite dashboard, with confirmation emails sent from Lodging Suite to the guest and to you.
Yes. Switch the plugin to Association mode and enter an association API key to list several member properties with a shared search.
[lsbooking_property_search]. Existing pages that use the previous [ls_...] tags are updated automatically on upgrade.lsbooking_should_enqueue filters for themes that wrap the shortcodes.flex shortcode attribute.columns shortcode attribute.