Category:Wordpress

From Booking Automation Wiki
Jump to: navigation, search
This page explains how to install and customise the Wordpress plugin.

Install the Plugin

Installation through WordPress control panel:

  • Login to your WordPress account using the administrators username and password.
  • Click the plugins icon on the left menu.
  • Click the "Add New" button at the top of the Plugins menu.
  • Search for "BookingAutomation Online Booking".
  • Click on "Install".
  • When the "Plugin installed successfully" message appears, click the "Activate Plugin" link.
  • Click on "Settings" in the left menu then on "BookingAutomation".
  • Enter your BookingAutomation ID.
  • Choose from our selection of widgets and paste the shortcode into a post, page or sidebar.

Installation via ftp:

  • Download the plugin at https://www.dropbox.com/s/ra4tqy2twrp7132/bookingautomation-online-booking.zip?dl=0.
  • Upload the unzipped plugin folder to your WordPress plugin folder (wp-content/plugins).
  • Go to Wordpress and click the Plugins icon on the left menu.
  • Activate the plugin.
  • In Wordpress go click on "Settings" in the left menu then on "BookingAutomation".
  • Enter your BookingAutomation ID.
  • Choose from our selection of widgets and paste the shortcode into a post, page or sidebar.

Opening a Wordpress page with an embedded Iframe

By default the Wordpress will show the booking page for the ID you have set in the plugin settings or in the short code. You can also add a property ID or room ID parameter to the URL to show a specific property or room.

Developer Options

Developers or users with basic knowledge of HTML, PHP and CSS can change the plugin code to customise widgets.

Note: If you use the "Debug" mode in Wordpress you will see warnings. These are warnings only the plugin is working. Guest will not see these warnings. 

Example: Change the default values of the booking box

Open your Wordpress dashboard and go to SETTINGS->BookingAutomation then click on "Edit"

Search for this file in the right navigation: BookingAutomation-online-booking/theme-files/BookingAutomation-box.php

Click on on the link to edit:

To change the default number of guests search for:
if (!isset($_REQUEST['numadult'])) $_REQUEST['numadult'] = 2;
and change 1 to your default number of guests e.g. 
if (!isset($_REQUEST['numadult'])) $_REQUEST['numadult'] = 1;
Click "Update File"
To change the default number of nights search for:
if (!isset($_REQUEST['numnight'])) $_REQUEST['numnight'] = 1;
and change 1 to your default min number of nights e.g. 
if (!isset($_REQUEST['numnight'])) $_REQUEST['numnight'] = 3;
Click "Update File"
To change the maximum number of guests of  search for
<?php for ($i=1; $i<=12; $i++) 
change 12 to your max number of guests e.g. 
<?php for ($i=1; $i<=4; $i++) 
Click "Update File"

You can save the file in your theme directory if you want to avoid over-writing if you update the plugin.


Note: Iframes on mobile devices are problematic. Best is if you set up a special mobile page for the page where you have embedded the Iframe which opens the booking page in a new page instead of an Iframe.

Frequently Asked Questions

Do I need a BookingAutomation account?
Yes. A free trial account is available at http://www.bookingautomation.com
Will I be on a contract?
No. There is no minimum payment or sign-up period. BookingAutomation is a pre-pay, pay as you go service. You may cancel your account at any time. 
Can I customise the booking widgets and booking calendar?
Yes, you can fully customise the look to seamlessly fit into your site. 
Which booking sites (OTA´s) do you connect to?
BookingAutomation has two-way connections with most leading booking websites. For a complete list please see https://www.bookingautomation.com/channel-manager/.
How do bookers pay?
All payments go directly to the host. You can either collect payments after arrival or use one of the payment options integrated in the system to collect payments via credit card or Paypal. Alternatively you can securely collect card details and process them later through your bank or merchant account.
Can I sell multiple properties?
Yes. You may define multiple properties in BookingAutomation.com and implement a search form that shows the guest a list of those available for their search criteria.

Subcategories

This category has only the following subcategory.