Title: Surbma | Booking.com Shortcode
Author: Surbma
Published: <strong>2015 年 4 月 3 日</strong>
Last modified: 2026 年 4 月 12 日

---

搜尋外掛

![](https://ps.w.org/surbma-bookingcom-shortcode/assets/banner-772x250.jpg?rev=2626314)

![](https://s.w.org/plugins/geopattern-icon/surbma-bookingcom-shortcode.svg)

# Surbma | Booking.com Shortcode

 由 [Surbma](https://profiles.wordpress.org/surbma/) 開發

[下載](https://downloads.wordpress.org/plugin/surbma-bookingcom-shortcode.2.1.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/surbma-bookingcom-shortcode/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/surbma-bookingcom-shortcode/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/surbma-bookingcom-shortcode/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/surbma-bookingcom-shortcode/#developers)

 [技術支援](https://wordpress.org/support/plugin/surbma-bookingcom-shortcode/)

## 外掛說明

A simple shortcode to include Booking.com search box into WordPress. This is a very
useful plugin if your user don’t have a permission to embed javascript in the content.

The shortcode: `[surbma-bookingcom param="ALL_THE_PARAMETERS"]`

Where param is the parameter, you can find in the Booking.com embed code. You need
to find the src field, where you have to copy all the parameters after the `https://
www.booking.com/general.html?` url.

You can find the parameters at the end of your Booking.com script’s url:

## 安裝方式

 1. Upload `surbma-bookingcom-shortcode` folder to the `/wp-content/plugins/` directory
 2. Activate the Surbma | Booking.com Shortcode plugin through the ‘Plugins’ menu in
    WordPress
 3. That’s it. Now you can use the shortcode. 🙂

## 常見問題集

### What is Booking.com?

Booking.com offers online accommodation booking. For more information, please visit
the official Booking.com website: [www.booking.com](https://www.booking.com/)

### Can I customize the look of the form?

No, you can’t.

### What does Surbma mean?

It is the reverse version of my last name. 😉

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Surbma | Booking.com Shortcode〉的開發相關工作。

參與者

 *   [ Surbma ](https://profiles.wordpress.org/surbma/)
 *   [ CherryPick Studios ](https://profiles.wordpress.org/cherrypickstudios/)

〈Surbma | Booking.com Shortcode〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/surbma-bookingcom-shortcode/contributors)
為這個外掛做出的貢獻。

[將〈Surbma | Booking.com Shortcode〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/surbma-bookingcom-shortcode)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/surbma-bookingcom-shortcode/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/surbma-bookingcom-shortcode/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/surbma-bookingcom-shortcode/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/surbma-bookingcom-shortcode/)。

## 變更記錄

#### 2.1.1

Release date: 2026-04-12

 * SECURITY – Shortcode `param` is stripped of HTML, the script URL is built safely,
   and `esc_url()` is used on output (addresses stored XSS reports for contributor-
   level shortcode use).

#### 2.1

Release date: 2024-01-01

FIX

 * Changed textdomain hook to init.
 * Security fix for shortcode: parameters are properly escaped.

OTHER

 * Code optimizations.

#### 2.0

Release date: 2020-02-10

 * TWEAK – Tested with WordPress 5.3 version.
 * TWEAK – Updated to use a new way to deploy it to wp.org repo.

#### 1.1.0

 * Changed shortcode name to surbma-bookingcom from booking_com. The old shortcode
   is still working, but it’s deprecated and it will be removed from the next version.

#### 1.0.3

 * Tested up to WordPress 4.9 version.

#### 1.0.2

 * Changed some texts, text domain and function names.

#### 1.0.1

 * Fix localization.
 * Prevent direct access to the plugin.

#### 1.0.0

 * Initial release.

## 商業版外掛

這個外掛為免費外掛，但另外提供付費商業升級版或技術支援。

## 中繼資料

 *  版本 **2.1.1**
 *  最後更新 **7 個月前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 5.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0.8**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/surbma-bookingcom-shortcode/) 及
   [German](https://de.wordpress.org/plugins/surbma-bookingcom-shortcode/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/surbma-bookingcom-shortcode)
 * 標籤:
 * [booking.com](https://tw.wordpress.org/plugins/tags/booking-com/)[shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
 *  [進階檢視](https://tw.wordpress.org/plugins/surbma-bookingcom-shortcode/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/surbma-bookingcom-shortcode/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/surbma-bookingcom-shortcode/reviews/)

## 參與者

 *   [ Surbma ](https://profiles.wordpress.org/surbma/)
 *   [ CherryPick Studios ](https://profiles.wordpress.org/cherrypickstudios/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/surbma-bookingcom-shortcode/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://surbma.com/donate/)