Category:Wordpress

From Booking Automation Wiki
Jump to: navigation, search
Wordpress Plugin
This page explains how to install and customize 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 short code 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 short code 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.

Add Booking Widgets

Widgets are inserted via short codes. You can generate the short codes for one or multiple properties. To generate a short code for multiple properties set the selector for "Property" = All SETTING->BOOKING ENGINE->BOOKING WIDGETS. Copy the short code from there and paste it where you want to display the widget.

Booking Box, Booking Strip, Availability Calendar

Short Codes for Booking Box, Booking Strip, Availability Calendar are generated in the widget designer in the BookingAutomation control panel in {{#fas:cog}} (SETTINGS) BOOKING ENGINE > BOOKING WIDGETS. Copy the short code from there and paste it where you want to display the widget on your Wordpress page..

Generate the widget in {{#fas:cog}} (SETTINGS) BOOKING ENGINE > BOOKING WIDGETS

Wordpresswidget 1.jpg view large


Paste the generated short code to where you want to display the widget

Wordpresswidget 2.jpg view large

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

  • first create the search criteria in {{#fas:cog}} (SETTINGS) BOOKING ENGINE > MULTI BOOKING PAGE > SEARCH CRITERIA then go to {{#fas:cog}} (SETTINGS) BOOKING ENGINE > MULTI BOOKING PAGE >PROPERTY SETTINGS and assign the applicable criteria to each property
  • Once you have set and assigned your search criteria you can go to {{#fas:cog}} (SETTINGS) BOOKING ENGINE > BOOKING WIDGETS. Set PROPERTY = ALL and design your widget, ensuring that you change "Search Filter" to show the search criteria in your booking widget.
  • Generate the code for the widget and paste it into the source code (Set the Wordpress editor to "Text") where you want to display the widget.

Booking Button, Booking Link

Booking Button, Booking Link are inserted via these short codes:

  • Booking button: [beds24-button]
  • Booking link: [beds24-link]

Paste it where you want to display the widget on your Wordpress page.

For customization options for the buttons and links see the "Booking Widgets" section in SETTINGS > BookingAutomation in Wordpress.

Developer Options

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

Developer Options for legacy booking widgets

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 customize the booking widgets and booking calendar?
Yes, you can fully customize 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 manage.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.