• ResOnline Booking Gadget WordPress Plugin

ResOnline WordPress Shortcodes

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 Pro 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"]

Advanced Usage

In addition to the basic usage, you are able to override most ResOnline Booking Gadget display options using additional attributes / parameters in the shortcode. For example, to force a 6 column, horizontal display:

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

Additional Attributes / Parameters

Change Default Currency


Changes the default currency for the Gadget to the one specified.

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

Available currencies

  • Australian Dollar (AUD)
  • Canadian Dollar (CAD)
  • Chinese Yuan (CNY)
  • Euro (EUR)
  • Fiji Dollar (FJD)
  • Ghana Cedis (GHS)
  • Hong Kong Dollar (HKD)
  • Indonesian Rupiah (IDR)
  • Japanese Yen (JPY)
  • Malaysian Ringgit (MYR)
  • Mauritian Rupee (MUR)
  • New Zealand Dollar (NZD)
  • Phillipine Peso (PHP)
  • Pound Sterling (GBP)
  • Russian Ruble (RUB)
  • Singapore Dollar (SGD)
  • South Africa Rand (ZAR)
  • South Korean Won (KRW)
  • Thai Baht (THB)
  • US Dollar (USD)

Change Layout Style


Specifies the search block layout.

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

Search block layout options

  • Wide / Horizontal layout (horiz)
  • Tall / Vertical layout (vert)

Change how many Columns are Displayed


Specifies the number of columns displayed in the booking grid.

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

Column options

  • Any valid, positive whole number

Change Room Label


Specifies the label / name / title of the grid that contains room options

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

Label options

  • Any valid alphanumeric string
  • Apostrophes, hyphens and underscores are OK, too

Hide / Show Thumbnails


Forces room thumbnails to be displayed or hidden. Note the lack of quotes around the value for this parameter / attribute!

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

Thumbnail options

  • true to display room thumbnails
  • false to hide room thumbnails