...
This page gives you instructions on using a WordPress widget.
Table of Contents |
---|
...
About widgets
Widgets are tiny blocks that you can place in your WordPress sidebars, also known as widget-ready-areas. We recommend using an existing WordPress widget, which allows you to place our HTML into your website.
...
Go to the menu item “XYZ Html”.
Click on "Add new HTML Snippet".
Fill in "hoteliers-com-booking-engine-button" for the Tracking Name.
Insert the HTML code mentioned in the next paragraph on this page.
Replace
{hotel}
with your hotel ID and replace{language}
with the correctlanguage code.Click “Create”.
...
Replace {hotel}
with your hotel ID and replace {language}
with the correctlanguage code.
Code Block | ||
---|---|---|
| ||
<form method="post" action="https://scripts.hoteliers.com/api/v1/book-form" target="_blank" class="hoteliers-book-form"> <input type="hidden" name="hotel" value="{hotel}"> <input type="hidden" name="lang" value="{language}"> <button type="submit" class="hoteliers-book-form__button">Book now</button> </form> |
...