Title: ResOnline Booking Gadget
Author: Phoenix Online
Published: <strong>July 16, 2019</strong>
Last modified: July 18, 2019

---

Search plugins

![](https://ps.w.org/resonline-booking-gadget/assets/banner-772x250.png?rev=2123592)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/resonline-booking-gadget/assets/icon-128x128.png?rev=2123592)

# ResOnline Booking Gadget

 By [Phoenix Online](https://profiles.wordpress.org/psdtofinal/)

[Download](https://downloads.wordpress.org/plugin/resonline-booking-gadget.zip)

 * [Details](https://wordpress.org/plugins/resonline-booking-gadget/#description)
 * [Reviews](https://wordpress.org/plugins/resonline-booking-gadget/#reviews)
 *  [Installation](https://wordpress.org/plugins/resonline-booking-gadget/#installation)
 * [Development](https://wordpress.org/plugins/resonline-booking-gadget/#developers)

 [Support](https://wordpress.org/support/plugin/resonline-booking-gadget/)

## Description

The [ResOnline Booking Gadget](https://www.resonline.com/features/online-booking-integration)
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"]
    ```

## Screenshots

[⌊Default Horizontal layout of the ResOnline Booking Gadget⌉⌊Default Horizontal 
layout of the ResOnline Booking Gadget⌉[

Default _Horizontal_ layout of the _ResOnline Booking Gadget_

[⌊Default Vertical layout of the ResOnline Booking Gadget⌉⌊Default Vertical layout
of the ResOnline Booking Gadget⌉[

Default _Vertical_ layout of the _ResOnline Booking Gadget_

[⌊The ResOnline Booking Gadget after custom styles have been added manually using
a child-theme. Note that styling "options" are not presently available (although
there are plans to add the feature soon)⌉⌊The ResOnline Booking Gadget after custom
styles have been added manually using a child-theme. Note that styling "options"
are not presently available (although there are plans to add the feature soon)⌉[

The _ResOnline Booking Gadget_ after custom styles have been added manually using
a child-theme. Note that styling “options” are not presently available (although
there are plans to add the feature soon)

[⌊Standard and Pro options⌉⌊Standard and Pro options⌉[

_Standard_ and _Pro_ options

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/resonline-booking-gadget` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Navigate to _WordPress Dashboard_ => _Settings_ => _ResOnline_ to cusotmise the
    settings

## FAQ

  Can I style the Booking Gadget

Yes, but it’s a bit fiddly. You will need to add custom CSS to your child theme.

Styling options will be coming in a later version of this plugin.

  Can I customise “Pro” features on the free version

Yes, you can. This is done at the shortcode level, eg `[resonline id="123456" columns
="12"]`.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“ResOnline Booking Gadget” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Phoenix Online ](https://profiles.wordpress.org/psdtofinal/)

[Translate “ResOnline Booking Gadget” into your language.](https://translate.wordpress.org/projects/wp-plugins/resonline-booking-gadget)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/resonline-booking-gadget/),
check out the [SVN repository](https://plugins.svn.wordpress.org/resonline-booking-gadget/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/resonline-booking-gadget/)
by [RSS](https://plugins.trac.wordpress.org/log/resonline-booking-gadget/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.3

 * Temporarily locked Pro features ON while an issue with the software licencing
   platform is being sorted

#### 1.0.2

 * Updated method used to connect to the verification server

#### 1.0.1

 * Added input sanitisation
 * Added output escaping

#### 1.0.0

 * Initial build

## Meta

 *  Version **1.0**
 *  Last updated **7 years ago**
 *  Active installations **10+**
 *  WordPress version ** 4.6 or higher **
 *  Tested up to **5.2.24**
 *  PHP version ** 5.4 or higher **
 * Tags
 * [accommodation](https://wordpress.org/plugins/tags/accommodation/)[booking gadget](https://wordpress.org/plugins/tags/booking-gadget/)
   [booking widget](https://wordpress.org/plugins/tags/booking-widget/)
 *  [Advanced View](https://wordpress.org/plugins/resonline-booking-gadget/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/resonline-booking-gadget/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/resonline-booking-gadget/reviews/)

## Contributors

 *   [ Phoenix Online ](https://profiles.wordpress.org/psdtofinal/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/resonline-booking-gadget/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://codecanyon.net/user/phoenixonline)