[WordPress] 外掛分享: ResOnline Booking Gadget

首頁外掛目錄 › ResOnline Booking Gadget
WordPress 外掛 ResOnline Booking Gadget 的封面圖片
10+
安裝啟用
尚無評分
2436 天前
最後更新
問題解決
WordPress 4.6+ PHP 5.4+ v1.0 上架:2019-07-15

內容簡介

ResOnline Booking Gadget 允許註冊的旅館、汽車旅館、露營地和其他住宿業務將相對易於使用的預訂小工具直接嵌入他們的網站。

此外掛程式通過添加簡單的shortcode到 WordPress 以簡化嵌入 ResOnline 預訂小工具的過程,您可以通過以下方式將 ResOnline 預訂小工具添加到您網站的任何頁面、文章或自訂文章類型:

[resonline id="123456"]

ResOnline 預訂小工具 Lite

在您的網站上的任何頁面、文章或自訂文章類型上嵌入預訂小工具
設置您的默認貨幣
設置默認搜索佈局(水平或垂直)
開啟或關閉圖像預覽/縮略圖
在shortcode級別上覆蓋默認設置

ResOnline 預訂小工具 Pro

所有免費版本的選項,以及...
設置默認顯示的天數/列數
更改默認的房間名稱標籤

Shortcode 用法

為了使用方便和靈活性,此外掛程式的短代碼可以幾乎不包含任何選項添加;但是大多數功能選項可以在shortcode級別上使用和/或覆蓋(包括列和房間標籤選項)

基本使用

最少必須提供酒店ID才能 “選擇” 正確的預訂小工具。因此,如果您有酒店ID 12345,相應的短代碼為:

[resonline id="12345"]

其他參數/覆蓋

可以將以下參數添加到標準或Pro版本的短代碼中以覆蓋默認功能:

currency

可用於供應商的任何三個字母的 ISO 貨幣代碼(例如:AUD,USD,IDR等)

layout

佈局覆蓋。選擇寬/水平佈局或高/垂直佈局

show-images

設置為 true 以顯示預覽圖像/縮略圖,或設置為 false 以隱藏圖像預覽

columns

顯示預訂小工具的默認列數,當以寬/水平佈局模式顯示時

label

顯示的標籤(例如,房間、公寓、小木屋等)

shortcode 覆蓋範例

不同的默認貨幣:

[resonline id="12345" currency="GBP"]

強制使用水平佈局:

[resonline id="12345" layout="horiz"]

隱藏縮略圖:

[resonline id="12345" show-images="false"]

將列數減少以獲得窄佈局:

[resonline id="12345" columns="5"]

顯示自定義房間標籤:

[resonline id="12345" label="Yurts"]

選項組合:

[resonline id="12345" currency="USD" layout="vert" label="Houseboats"]

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「ResOnline Booking Gadget」→ 直接安裝(推薦)

原文外掛簡介

The ResOnline Booking Gadget allows registered Hotels, Motels, Caravan Parks and other Accommodation Businesses to embed a relatively user-friendly booking widget directly on their website.
This plugin simplifies the process of embedding the ResOnline Booking Gadget by adding a simple shortcode to WordPress, allowing you to add the ResOnline Booking Gadget to any page, post or CPT on your site using:
[resonline id="123456"]

ResOnline Booking Gadget Lite

Embed a Booking Gadget on any Page, Post or CPT on your site
Set your default currency
Set a default search layout (horizontal or vertical)
Switch image previews / thumbnails on and off
Override default settings at a shortcode-level

ResOnline Booking Gadget Pro

All of the free versions’ options, plus…
Set the default number of days / columns displayed
Change the default Room Name label

Shortcode Usage
For ease of use and flexibility, this plugin’s shortcodes can be added with practically no options; however most functional options can be used and / or overridden at a shortcode level (including the Columns and Room Label options)
Basic Usage
At a minimum, the Hotel ID must be supplied in order to “pick up” the correct Booking Gadget. So, if you have the Hotel ID 12345, the corresponding short code would be:
[resonline id="12345"]

Additional Parameters / Overrides
The following parameters can be added to the Standard or Pro version of the short code to override the default features:
currency

Any three-letter ISO currency code available to the vendor (eg AUD, USD, IDR, etc)
layout

Layout override. Either horiz for the Wide / Horizontal Layout or vert for the Tall / Vertical Layout
show-images

Set to true to display preview images / thumbnails, or false to hide image previews
columns

The default number of columns to display, when showing a Booking Gadget in Wide / Horizontal Layout mode
label

The label to show (eg, Rooms, Apartments, Cabins, etc)
Example Shortcode Overrides
Different default currency:
[resonline id="12345" currency="GBP"]

Force a horizontal layout:
[resonline id="12345" layout="horiz"]

Hide thumbnails:
[resonline id="12345" show-images="false"]

Reduce columns for a narrow layout:
[resonline id="12345" columns="5"]

Display a custom room label:
[resonline id="12345" label="Yurts"]

A combination of options:
[resonline id="12345" currency="USD" layout="vert" label="Houseboats"]

文章
Filter
Apply Filters
Mastodon