Hotel Guests: This support center is created for hotel owners. Click here to contact us.

Hotel owners: New to hoteliers.com? Click here to find the best solution for your hotel.

Placing the Review Badge on your website

In this article we give you the explanation on how to place the Review Badge on your own website. The Review Badge displays the live score of the Review Module.

 

1. Possible variations of the Review Badge
There are seven variations available to fit the Review Badge to the design of your website:

whiteround
blackround
whitesquare
blacksquare
whitestars
blackstars
yellowstars


2. Placing the Review Badge HTML into the website
Place the Review Badge HTML, by adding the following between the <body></body> tags of the page. 

<script type="text/javascript" src="http://www.hoteliers.com/reviewwidget/reviewwidget.js"></script>
<script type="text/javascript">
htlrs_review.initialize({
 hotel : '{HOTEL_ID}',
lang : '{LANG}',
theme : '{THEME_NAME}'
});
</script>

<div id="htlrs_reviewwidget"></div>

 

Setting the correct language, hotel ID and theme
Replace the parameters:

  1. Replace {HOTEL_ID} with your hotel ID
  2. Replace {LANG} with the language of the page (if this language is not supported, it will be redirected to English)
  3. Replace {THEME_NAME} with a theme name (see above variations)

Example
The following is an example of a spanish badge, with hotel ID 8 and theme whitesquare:

<script type="text/javascript" src="http://hoteliers.com/reviewwidget/reviewwidget.js"></script>
<script type="text/javascript">
htlrs_review.initialize({
lang : 'es',
hotel : '8',
theme : 'whitesquare'
});
</script>

<div id="htlrs_reviewwidget"></div>
Below, you can place a comment, in case you have a suggestion or question about this article. If case you have a bug, complaint or question concerning your account, we recommend to use "Submit a request" at the top of this page.
Have more questions? Submit a request

Comments