What does it do ?

After quite some time discussing with folks around me I decided to start writing a plugin to make it easy entering the Affiliates business.

Sometimes folks might have great ideas on paper. Things just tend to become difficult when itโ€™s time to implement on a website. Leveraging the whole WordPress architecture, this plugin should considerably make things easier for booking.com affiliates willing to start moving the needle on their online sales.

What does this plugin do?

  • Take the booking.com search box and add it to your site within any widget-ized area.
  • Customize that search box with all the booking.com recommended settings. No black magic, just playing by the rules:
    • Affiliate ID
    • Default destination
      • Could be just one city or district
      • Could be just one hotel or a chain
      • Could be the surroundings of an airport or other POIs
    • Search box Label (for your booking.com reporting)
    • Width & Heigth
    • Text & background color
    • Language
    • Widget title (customize, add or remove)
  • Lightweight & much cleaner code than the default booking.com affiliates proposed code.

What this plugin doesn’t do (yet?)

  • In the making
    • Support dynamic links
    • Customize your landing page (embed the booking.com results on your site)


Let me know if you have any additional suggestions.




33 thoughts on “What does it do ?

  1. Hi Greg,

    Wonderful plugin. Can I ask you one thing? Can I buy wp booking theme from themeforest and then using this plug in? Also will that theme work for white label too?

    Thanks so much

    • Hello,

      Yes of course you can use this plugin with any theme. It’ll look better on some than others. The plugin is free so worst case you’re not losing any money. If you’re happy with this plugin, you can offer me a beer too ๐Ÿ˜‰


  2. Hi!
    Very intresting plugin, thanks a lot.
    But I want form like from the page http://www.booking.com/ (rounded corners, header, field for guests, calendar looks more like the original, etc)
    Could you make like it? I make some donate for this work.

    • Hey Andrey, I’ve been using the extact styling booking.com applies to its affiliates searchbox. See examples directly in your affiliate extranet (or here). I can see down the line how I can make the whole design much more flexible but there are a couple of other challenges users have reported before I tackle that. Stay tuned !

    • Hey Mike,

      Yes and no. This is not built into the plugin at the moment BUT just like any other WP plugin you can go into the editor and have fun.
      In the version I’m building now I got rid of the legacy booking.com code in favor of the jQery datepicker. That’ll allow theme selection but I don’t know about an actual built-in CSS editor.

      Feel free to share your experiments though !

  3. Hiya,

    I am looking for a plugin that can get search results from booking.com (so I can create markers for them to display them on a google map on my own website).

    The search results could also be used to show info for each hotel on my website.

    Do you have any plans for this?

    And do you have any plans to integrate the booking form too, so I can keep the user on my site the whole time??


    PS – Your “any additional suggestions” – http://www.wordpress-booking-plugin.com/suggest-new-features link – doesn’t work.

  4. Hi, I have different hotels listed on my site. Can I create separate search boxes that I can embed in each hotel page on my site, so it only searches availability of that particular hotel?

    • Hello Jay,
      Yes you can absolutely do that. You can specify each searchbox to a specific hotel and even hide the destination field so it seems fully integrated in your site design.
      The one thing it can’t do is search against several of your hotel from one searchbox. That would be a nice feature but booking.com doesn’t allow that.


  5. hi, i just need to display only my b&b booking.com page and let customers book their rooms with booking.com from my website. Is that possible? Thank you Tony

    • Hello Tony
      Yes it’s one of the features and it’s really easy to do. Give the ‘destination type’ a try and you’ll figurebit out quickly.

  6. Hi!
    I have installed the plugin, but my installed theme’s css interfere’s with the search box and I get many parts of the search box misplaced. Is there a way to override css?
    I have put the plugin via shortcode and I see custom fields created by the plugin and one of them is booking_plugin_CSS_override. Can I use this to override css from the theme?


    • Hello Constantinos,

      You can absolutelly rewrite the CSS or the rendered HTML to suit your needs. You’ll find all what you need in the shortcode.php file. Look at the last item on the FAQ as an example. The CSS override applies only to the calendar theme, in case you are using a different jQuery theme on your site already. It’s very helpful if you need it… but start with the basic html first.


  7. Hi Greg,

    I am testing out your plugins and wonder if the results could be embedded into my page instead of leaving my site for booking.com. Is that possible?

    – CJ

  8. Is there any way to use this plugin specifically to link to one hotel? e.g within mexico I want the ability to limit this so someone can input their dates and it will direct them to that hotel page on Booking.com.

    I have tried specifying the hotel name, but this doesn’t seem to work, and just comes up with search results around the area.

    • Hello Matt, yes you can do that. If you look at the url constructor in the booking.com extranet, there’s plenty of ways to reduce the scope of your search results. Hotel ID is one I can think of. Stars, lat/long, … Just use these parameters into the destination field and hide it from your visitors. This plugin leverages the booking.com code. Anything that would work on the extranet works exactly the same here. Just with a better UI ๐Ÿ™‚

  9. Hi, Thanks for the quick reply. Where can I access the Booking.com extranet and see these options? I can’t seem to see this info from the Partner Centre.

      • Your link to partner extranet isn’t working for me, even when I am logged in. I can see my partner dashboard from the normal url but this page is coming up with an error upon Login.

        How would I use the second URL? I have tried using it in the destination box, but no luck. Tried just the Hotel ID too.

        • Hey Matt, just log on the booking.com extranet. Click on “Implementation” at the top. In the page that shows up, have a look at the url constructor, parameters & search box links. Play around with the parameters and you’ll be set shortly. I’m on a tablet right now so I can’t help with actual code. Anything you can do with these parameters can be fed via the plugin. The key is to finding what works for your hotel in the booking.com results (i.e. SS or hotelid ?). I’ll have a look in a few days when I’m back home.

  10. Hi!
    I installed the plugin and create new search box but i need “guest fields” in it like on your site (booking.com) so how to do that ? … please guide.

    • I understad you want your visitors to be able to change the number of guests. You cannot do that with the default affiliate interface. I assume booking expects the searchbox to be as quick / easy / simple as possible to send people to their site and THEN offer all the options on the result page. Now it’s not complex at all to add the UI and do it yourself ! Just look at the shortcode.php file and tweak some of the html.

      • hi thanks … but will it work if i copy the same html of guest fields from booking.com and paste it in my own booking form in shortcode.php file.

    • Hello Damry

      Sorry to say but the listing you’re looking at is actual hardcoded text with deeplinks pointing to booking. The good news is you don’t need this plugin to do exactly this. This is all manual work.


Leave a Reply

Your email address will not be published. Required fields are marked *