Multiple Properties

Multiple Property booking page

To display a multiple property booking page enter you owner ID in the "Booking Page" section of the plugin setting. Make sure you leave the property field blank.

Multiple Property booking widgets

You can generate the short codes for multiple properties directly in the widget designer in the Beds24 control panel in SETTING >BOOKING ENGINE >BOOKING WIDGETS setting the selector for "Property" = All. Copy the short code from there and paste it where you want to display the widget.

If you want to allow guests to search by certain criteria:

Posts

The plugin can use posts or XML to display availabilty for multiple hotels or lodgings and allows search by the search criteria defined in thSETTINGS > BOOKING ENGINE >MULTI BOOKING PAGE SEARCH CRITERIA section of Beds24.

1.1 Agency Searchbox

You can embed a searchbox into your Wordpress site. The searchbox will return your live availability. The results can be shown on the same or a different page or in a pop up.

Use shortcodes to add a searchbox in a post, page or sidebar.

1 searchbox displaying the search results on the same page [beds24-searchbox]
insert this code where you want the search results to display [beds24-searchresult display="none"]


2 searchbox displaying the search results on a defined page page. If you want to show the results on another page add the url. [beds24-searchbox href="http://mywebsite/wordpress/?page_id=xy"]
insert this code where you want the search results to display [beds24-searchresult];

1.2 Search Criteria

To set up the agency searchbox with your search criteria you need to modify the file /plugins/beds24-online-booking/theme-files/beds24-searchbox.php to use the search criteria you set up in Beds24 SETTINGS > BOOKING ENGINE >MULTI BOOKING PAGE > SEARCH CRITERIA. There are comments in the file about the naming requirements for the select and checkbox elements. If you need assistance please contact us.

2.1 XML Display

By default the plugin uses the file plugins/beds24-online-booking/theme-files/ beds24-prop-xml.php to display the property results using the information returned by the search. This file can be customised to change the display of the information.

2.2 Post Display

As an alternative you can display the results using Wordpress posts for each property. Custom fields are used to connect posts to your Beds24 account.

  1. Add a custom field
  2. As "Name" enter the phase: propid
  3. As value enter the Beds24 property Id number for this lodging. You will find this in the Beds24 control panel at SETTINGS > PROPERTIES > DESCRPTION.
  4. To add a booking widget to the post add a widget shortcode e.g. [beds24-button]

The plugin will use the file plugins/beds24-online-booking/theme-files/ beds24-prop-post.php to display the property results using the information returned by the search. This file can be customised to change the display of the information. If the propid is not found in the custom field the XML Display will be used for that property.