Booking.com Official Search Box

Description

This plugin creates a search box that Booking.com Affiliate Partners can implement into their site using their affiliate ID.

If you’re not an Affiliate Partner yet, you can still implement the plugin. To get the most out of the plugin and earn commission, you’ll need to sign up for the Booking.com Affiliate Partner Programme.

To implement the search box, simply drag and drop the plugin to the sidebar Widget area to publish it – then you’re done!

Once installed, you can choose a pre-filled destination for the search box. This destination is linked to a destination ID, avoiding potential issues for multiple cities with the same name. You can also change the pre-filled destination for each page or post where the search box is displaying, thanks to the meta box feature showing at the end of the editing area.

You can even customize the colour, text, and size of the search box to fit your website design. Check the Features for more details.

Features

  • Easy to use: No code or Javascript knowledge needed! We create a standard search box ready to be implemented in your site
  • Responsive design: The search box automatically adapts to your website’s sidebar width
  • Search box flexibility: Can have pre-filled destination in the search box with the option to have different pre-filled destinations on different pages and posts.
  • Try it before you publish: You can preview the plugin in your settings before it goes on your website
  • Multi-lingual search box and dashboard settings: Now available in over 40 languages and dialects.
  • Performances: Css and Javascript loaded only when needed
  • Support: You can always contact your Strategic Partnership Technical Team for technical support
  • Earn more: Join our Booking.com Affiliate Partner Programme

Possible customisation

  • Add your aid ( Ex. 382821 ): pay attantion affiliate ID is different from partner ID which normally starts with a ‘4’.
  • Adjust the width of the search box
  • Pre-fill the search field with a destination name to show filtered search results
  • Switch the calendar on and off
  • Add a flexible-dates feature
  • Change the month format
  • Customize the Booking.com logo: Available in white or blue and three sizes (150×25, 200×33, 300×50)
  • Change the logo position: Center, left, right
  • Pre-set specific destination: To further filter search results you can determine the destination page type, such as city or landmark, as well as a specific destination ID
  • Choose specific destination for posts and pages
  • Change main colors: Background, text, button background, button border, button text
  • Choose infinite colours from the colours picker

Screenshots

  • Searchbox widget in the Widget section.
  • Choose the sidebar which you would like the searchbox to be displayed on ( please choose only one sidebar in order to evoid javascript issues ).
  • Here we go! Searchbox installed in your site ( in Content sidebar in this case ). The default searchbox will fit the widget area width.
  • If you like, you can customise the searchbox for your needs. A preview feature will help you to check the searchbox layout before going live on the website.
  • Meta Boxes in post/page sections.

Installation

First installation

  1. Download the zip file from this page
  2. Login to your WordPress dashboard
  3. Go to Plugins >> Add New, under Install Plugins title click on Upload and use the browse button to search the .zip file you have downloaded at point 1.
  4. Once activated you can start using the searchbox in the Appearance >> Widget section
  5. Use the settings page to customise the searchbox if needed.

Subsequent upgrades

  1. Just upgrade using the plug-in panel

FAQ

Installation Instructions

First installation

  1. Download the zip file from this page
  2. Login to your WordPress dashboard
  3. Go to Plugins >> Add New, under Install Plugins title click on Upload and use the browse button to search the .zip file you have downloaded at point 1.
  4. Once activated you can start using the searchbox in the Appearance >> Widget section
  5. Use the settings page to customise the searchbox if needed.

Subsequent upgrades

  1. Just upgrade using the plug-in panel
Can I change default texts and colours?

Yes, you can. The plugin has a settings area where you can change colours, texts and add an affiliate ID if you have one.

What’s the Affiliate Programme and how can I join?

By joining the Booking.com Affiliate Program you can earn commissions on any reservation made through the search box created by this plugin. Please check this page to learn more about the Booking.com Affiliate Program.

Can I use the plugin even if I’m not an affiliate yet?

Yes, it’s possible. You don’t need to be an Affiliate Partner to implement the plugin, but you could start earning commissions today becoming one. Sign-up now.

Can I place the widget on multiple position ?

The Booking.com Official Search Box plugin can be placed on one sidebar only. Multiple search boxes in different widget areas in the same page would affect the functionalities. However, you can use the Meta Boxes feature to display the same widget with different destinations for each post and page.

Which WP version is the plugin compatible with ?

The plugin will work from WP ver 3.0 onwards.

Contributors & Developers

“Booking.com Official Search Box” is open source software. The following people have contributed to this plugin.

Contributors

“Booking.com Official Search Box” has been translated into 10 locales. Thank you to the translators for their contributions.

Translate “Booking.com Official Search Box” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.0

  • Release December 2016
  • Fixed missing copy for languages
  • Added internazionalization-ready feature to make plugin’s page available in different languages

1.9

  • Release October 2016
  • Added korean language

1.8

  • Release October 2016
  • Added japanese language

1.7

  • Release April 2016
  • Fixed affiliate ID field in settings cannot get 7 digits number
  • Fixed error message about cname when input field empty

1.6

  • Release April 2016
  • Fixed typo “cclass” on line 109 of bos_date_array.php – thanks gezginrocker
  • Added chance to add cname

1.5

  • Release August 2015
  • Compatible with WP 4.3
  • Fixed bug in preview mode on check-in and check-out resetting to day 1
  • Fixed bug in preview mode when clicking on lock icon when a destination is preset no action performed and no tooltip appears
  • Installed Turkish translation

1.4

  • Release April 2015
  • Added ‘save’ button to widget area: useful for plugins like ‘Fixed widgets’ using this feature
  • Added a control on affiliate ID input field in order to prevent user placing Partner ID instead of Affiliate ID
  • Added Polish language
  • Chance to specify Custom Post Types where to display Booking.com destination meta box
  • Checkin and checkout set on current date even for cached pages
  • Added airport to destination types
  • Small css fixes

1.3.2

  • Release January 2015
  • Added Chinese ( traditional and simplified ) and Dutch
  • Fix february copy issue for French translation ( only short format )
  • Removed protocol select in settings ( now taken automatically )
  • Added submit position select ( left, right or centre )
  • Minor css fixes

1.3.1

  • Release October 2014
  • Minor fixes for German, Italian, French and Russian translations
  • Fix issue with not displaying widget when no previuos settings in database
  • Fix strange characters on month-year dropdown
  • Added landmark for destination types

1.3

  • Release October 2014
  • WordPress 4.0 compatible
  • Meta Boxes ( also known as Custom Fields ) : choose different destination for posts and pages
  • More accurate searches with destination type and ID
  • New color picker ( wpcolor picker from WP core )
  • Admin pages translated into same languages of the widget
  • Added russian translation
  • Error dates message
  • Minor css fixes
  • New restore default settings button
  • New https feature for secure enviroment installation
  • Increased performances: less DB writing on installation

1.2

  • Release July 2014
  • Extends calendar select menu to one year window

1.1

  • Release June 2014
  • Fixed some minors css issues ( Ex. calendar misalignment, button width etc… )
  • Fixed issue on last month not-showing in check-out select
  • Added Portuguese ( brazilian ), Spanish and Indonesian to searchbox widget ( not admin settings )
  • Added a flexible-dates feature
  • Improved preview feature
  • Improved the cleaning process after uninstallation: from this version onwards user settings will be kept into db
  • Versioned Css and Javascript

1.0

  • First release – April 2014