Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you want to place the Booking Engine Button on a page without the “widget-ready-areas”, you can place the button between your regular page text using HTML only.

Placing HTML

To place HTML on a page:

  • Go to the Wordpress Dashboard.

  • Go to “Pages.

  • Click on "Edit.

  • Click on the three dots on the right above "More tools & options".

  • Click on "Code editor".

  • Put the HTML code below mentioned in the next paragraph, on the desired spot in the text.

  • Click on "Update" at the top right.

  • Click on "View page" at the bottom left.

HTML code

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>

Info

For more possibilities see Booking Engine Button.

...

For more information, check https://wordpress.org/support/article/pages/

...