WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

HotelsCombined Search Widget

Search and Compare 100+ travel sites for 1000s of Hotel deals worldwide – Hotels Combined

How do I add the widget to a blog-post

To add the widget to any post or page just add the markup [hcsearch]affiliateId,city_idx,brand_id,label[/hcsearch], for instance [hcsearch]20032,2[/hcsearch]. Note that the parameters are not mandatory, but must be specified from left to right in the order shown. That is, if brand_id is given then both the affiliateId and city_idx must be specified as well. If unspecified, the affiliate ID will not be used for redirects to hotelscombined.com. Likewise, if the city_idx is unspecified the widget will default to the Sydney skin. The closing [/hcsearch] tag is mandatory. The affiliateId may be obtained from hotelscombined.com. The city_idx is a number between 0 and 7 corresponding to the following skins for the widget 0 -> New York (Blue), 1 -> Bangkok (Bright Pink), 2 -> Sydney (Light Blue), 3 -> Berlin (Orange), 4 -> Dubai (Purple), 5 -> Hong Kong (Light Blue), 6 -> Paris (Orange), 7 -> London (Blue).

Can I add multiple widgets on a Post or Page?

Yes you can. Just add multiple [hcsearch] tags where required. All of these can be configured independently.

Can I add multiple HotelsCombined Search Widgets on sidebar?

Unfortunately no. As of now you can only add one instance of HotelsCombined Search Widget on sidebar.

Requires: 2.3 or higher
Compatible up to: 3.0.5
Last Updated: 2010-11-12
Downloads: 2,643

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
0,1,0
0,1,0