Changes

Jump to navigation Jump to search

Category:Wordpress

49 bytes added, 17:27, 12 January 2023
===Booking Box, Booking Strip, Availability Calendar ===
Short Codes for Booking Box, Booking Strip, Availability Calendar are generated in the widget designer in the Beds24 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
[[Image:Wordpresswidget_1.png|450px|link=]]
Click on on the link to edit:
*To change the default number of guests search for: <code> 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;</code> Click Then click "Update File"
*To change the default number of nights search for:<code> 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;</code> Click Then click "Update File"
*To change the maximum number of guests of search for<code> <?php for ($i=1; $i<=12; $i++) change 12 to your max number of guests e.g. <?php for ($i=1; $i<=4; $i++) </code> Click Then click "Update File"
You can save the file in your theme directory if you want to avoid over-writing if you update the plugin.

Navigation menu