Category:Wordpress: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
[[Category:Apps_Plugins_and_Extentions]]
[[Category:Apps_Plugins_and_Extentions]]
  ''This page explains how to install and customise the Wordpress plugin.''
  ''This page explains how to install and customise the Wordpress plugin.''
The [https://wordpress.org/plugins/beds24-online-booking/ Wordpress Plugin] allows you to add an embedded booking page and/or booking widgets via short codes.
==Install the Plugin ==
==Install the Plugin ==
These [http://beds24.clarify-it.com/d/cdgw9g step-by-step instructions] show how to install the plugin.


These [http://beds24com.clarify-it.com/d/g3cjq3 step-by-step instructions] show how to install the plugin.
== Booking Widgets ==
Widgets are inserted via short codes.  


Widgets are inserted via short codes. Use these [http://beds24com.clarify-it.com/d/g3cjq3 step-by-step instructions] for details.
===Booking Box, Booking Strip, Availability Calendar ===
Short Codes for Booking Box, Booking Strip, Availability Calendar are generated n the widget designer in the Beds24 control panel in SETTING->BOOKING PAGE->BOOKING WIDGETS. Copy the short code from there and paste it where you want to display the widget on your Wordpress page..


== Opening a Wordpress page with an embedded Iframe ==
Use these [http://beds24.clarify-it.com/d/cdgw9g step-by-step instructions] for details.
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.


Examples:
===Booking Button, Booking Link  ===
Booking Button, Booking Link are inserted via these short codes:  
*Booking button: [beds24-button]
*Booking link: [beds24-link]


[http://wordpress.beds24.com/booking-page/?propid=13434 http://wordpress.beds24.com/booking-page/?propid=13434] will open the booking page for property ID 13434
Paste it where you want to display the widget on your Wordpress page.  


[http://wordpress.beds24.com/booking-page/?roomid=32906 http://wordpress.beds24.com/booking-page/?propid=32906] will open the booking page for room ID 32906
For customization options see the "Booking Widgets" section in SETTINGS-BOOKING WIDGETS in Wordpress
 
You can generate the short codes for  for one or multiple properties. To generate a short code for multiple properties set the selector for "Property" = All SETTING->BOOKING PAGE->BOOKING WIDGETS. 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:
*first create the search criteria in SETTINGS -> BOOKING PAGE ->MULTIPLE PROPERTIES->SEARCH CRITERIA then go to SETTINGS -> BOOKING PAGE ->MULTIPLE PROPERTIES->PROPERTY SETTINGS and assign the applicable criteria to each property
*Once you have set and assigned your search criteria you can go to SETTINGS-> BOOKING PAGE-> 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.


== Developer Options ==
== Developer Options ==
Developers or users with basic knowledge of HTML, PHP and CSS can change the plugin code to customise widgets.
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.
=== Developer Options for last generation booking widgets ===
 
'''Example''': Change the default values of [beds24-box]
'''Example''': Change the default values of the booking box


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