コンテンツへスキップ
プラン 無料 空室状況 予約

Embed customization

You can change many widget settings in the embed code instead of in the admin panel. That way one widget can serve several pages, for example the same calendar on the English and the German version of your website.

Available parameters

Parameters that are missing or have an invalid value fall back to the widget's own setting.

Booking

ParameterDescriptionValues
startInitially selected arrival dateDate as YYYY-MM-DD
endInitially selected departure dateDate as YYYY-MM-DD
guestsInitially selected number of guestsPositive integer
Name of a capacity group, such as adultsInitially selected number of guests in that group (lowercase name)Positive integer
product_idInitially selected unit, in widgets with several unitsUnit ID
Name of an attribute, such as poolInitially selected option of that attribute (lowercase names)Option name

All widgets

ParameterDescriptionValues
locale (or language)Language of the widgetA supported language
currencyCurrency to display prices inA supported currency
fontFont of the widgetFont name from Google Fonts
stay_expandedAlways show the booking formtrue or false
autocomplete_date_selectionComplete the date selection when only one date is possibletrue or false
date_visibilityWhich dates to showall, hide-closed, hide-unavailable
initial_dateMonth the calendar opens ontoday, next-available
week_starts_onFirst day of the week0 (Sunday) to 6 (Saturday)
first_week_contains_dateDate that the first week of the year contains1 or 4
color_available, color_booked, color_closed, color_tentative, color_unavailableColors of datesHex color, such as 00C483
color_primary, color_surface, color_text, color_info, color_warning, color_errorColors of the widgetHex color

Calendar widgets

ParameterDescriptionValues
display_legendShow a legend explaining the colorstrue or false
display_product_imagesShow the unit's images above the calendartrue or false
display_product_nameShow the unit's name above the calendartrue or false
display_week_numbersShow week numberstrue or false
interval_wrap_styleShape of bookings that continue in the next weeksquare, jagged
number_of_monthsNumber of months shown side by sidePositive integer
rate_locationWhere prices are showninline, tooltip
rate_visibilityOn which dates prices are shownall, available, none
show_totalsShow the total price when dates are selectedtrue or false
show_yearlyShow a yearly calendar when there's roomtrue or false
sizeSize of the widgetcompact, regular
themeTheme of the widgetmodern, classic

Timeline widgets

ParameterDescriptionValues
display_legendShow a legend explaining the colorstrue or false
display_product_coversShow unit images next to their namestrue or false
display_product_detailsShow unit details when a unit is selectedtrue or false
display_weekdaysShow the days of the weektrue or false
limit_heightLimit the height, so only a few units are visible at a timetrue or false
max_heightMaximum height in pixelsPositive integer
rate_locationWhere prices are showninline, tooltip
rate_visibilityOn which dates prices are shownall, available, none
show_totalsShow the total price when dates are selectedtrue or false
sizeSize of the widgetresponsive, compact, wide
themeTheme of the widgetmodern, classic

Inventory widgets

ParameterDescriptionValues
autoselect_random_unitSelect an available unit of a group at randomtrue or false
display_legendShow a legend explaining the colorstrue or false
display_product_detailsShow unit details when a unit is selectedtrue or false
display_week_numbersShow week numberstrue or false
grouping_attribute_idAttribute to group units byAttribute ID
interval_wrap_styleShape of bookings that continue in the next weeksquare, jagged
number_of_monthsNumber of months shown side by sidePositive integer
rate_locationWhere prices are showninline, tooltip
rate_visibilityOn which dates prices are shownall, available, none
round_search_result_pricesRound prices in the resultstrue or false
search_result_layoutLayout of the resultslist, grid, map
show_ratesShow the price of each unittrue or false
show_unavailable_productsAlso show unavailable units in the resultstrue or false
show_yearlyShow a yearly calendar when there's roomtrue or false
sizeSize of the widgetcompact, regular
themeTheme of the widgetmodern, classic

Search widgets

ParameterDescriptionValues
autoselect_random_unitSelect an available unit of a group at randomtrue or false
display_product_detailsShow unit details when a unit is selectedtrue or false
filtersSearch fields, in orderRepeat for each field: dates, occupancy or an attribute ID
grouping_attribute_idAttribute to group units byAttribute ID
rate_locationWhere prices are showninline, tooltip
rate_visibilityOn which dates prices are shownall, available, none
round_search_result_pricesRound prices in the resultstrue or false
search_result_layoutsLayouts guests can choose fromRepeat for each layout: list, grid, map
show_unavailable_productsAlso show unavailable units in the resultstrue or false
sizeSize of the widgetsmall, regular

Modifying embed codes

To modify a widget, you'll have to change the embed code. For example, let's modify a widget to show week numbers. Then we can modify the embed code as follows:

Inline

Change display_week_numbers=false to display_week_numbers=true

Note that we use snake_case for parameter names here.

Change data-display-week-numbers="false" to data-display-week-numbers="true"

Note that we use kebab-case for parameter names here.

Popover & Side tab

Change displayWeekNumbers: false, to displayWeekNumbers: true,

Note that we use camelCase for parameter names here

Supported languages

Use one of these codes for locale:

  • be-BY ベラルーシ語

  • bg-BG ブルガリア語

  • cs-CZ チェコ語

  • da-DK デンマーク語

  • de-DE ドイツ語

  • en-GB イギリス英語

  • en-NZ 英語 (ニュージーランド)

  • en-US アメリカ英語

  • es-ES スペイン語

  • eu-ES バスク語

  • fr-FR フランス語

  • gr-EL Ελληνικά

  • he-IL ヘブライ語

  • hr-HR クロアチア語

  • hu-HU ハンガリー語

  • it-IT イタリア語

  • ja-JP 日本語

  • lt-LT リトアニア語

  • lv-LV ラトビア語

  • nl-NL オランダ語

  • nn-NO ノルウェー語(ニーノシュク)

  • pl-PL ポーランド語

  • pt-BR ポルトガル語

  • ro-RO ルーマニア語

  • ru-RU ロシア語

  • sk-SK スロバキア語

  • sl-SI スロベニア語

  • sr-Cyrl セルビア語 (キリル文字)

  • sr-Latn セルビア語 (ラテン文字)

  • sv-SE スウェーデン語

  • tr-TR トルコ語

  • uk-UA ウクライナ語

Supported currencies

Use one of these codes for currency. Prices are converted with exchange rates that are updated daily; guests pay in the unit's own currency.

  • ARS アルゼンチン ペソ

  • AUD オーストラリア ドル

  • BRL ブラジル レアル

  • BYN ベラルーシ ルーブル

  • CAD カナダ ドル

  • CHF スイス フラン

  • CLP チリ ペソ

  • CNY 中国人民元

  • COP コロンビア ペソ

  • CZK チェコ コルナ

  • DKK デンマーク クローネ

  • EGP エジプト ポンド

  • EUR ユーロ

  • GBP 英国ポンド

  • HKD 香港ドル

  • HUF ハンガリー フォリント

  • ILS イスラエル新シェケル

  • INR インド ルピー

  • JPY 日本円

  • KRW 韓国ウォン

  • KYD ケイマン諸島 ドル

  • MAD モロッコ ディルハム

  • MXN メキシコ ペソ

  • MYR マレーシア リンギット

  • NGN ナイジェリア ナイラ

  • NOK ノルウェー クローネ

  • NZD ニュージーランド ドル

  • PEN ペルー ソル

  • PHP フィリピン ペソ

  • PLN ポーランド ズウォティ

  • RON ルーマニア レイ

  • RUB ロシア ルーブル

  • SEK スウェーデン クローナ

  • SGD シンガポール ドル

  • THB タイ バーツ

  • TRY トルコ リラ

  • TWD 新台湾ドル

  • UAH ウクライナ フリヴニャ

  • USD 米ドル

  • XOF 西アフリカ CFA フラン

  • VND ベトナム ドン

  • ZAR 南アフリカ ランド

最終更新日:2026年11月3日


予約を自分の手に。自分のビジネスを築きましょう。

Bookingmoodを活用して、直接予約を増やし、ゲストとのより強固な関係を築いている1200社以上の独立系バケーションレンタル事業者に加わりましょう。

無料の14日間トライアルを開始