Knowledge Base > Configuration > How to add Reservations widget to a sidebar

in Configuration

First of all you have to install easyReservations plugin.

Then you have to create a sidebar and assign it to page, but how to do that you can find in this documentation under Sidebars section.

After you have done those steps you have to add easyReservation Widget into your created sidebar on Appearance -> Widgets page.

image_8

In Form URL field you have to specify url to a page where you have added reservation form, but how to add such form to a page you can find under How to add reservations form section.

 

If you want your Reservation widget to look the same as on demo website then please paste this code in Widgets form template field.

<div class="input_container">
    <div class="input_prefix">
        Check in:
    </div>[date-from]
</div>
<div class="input_container">
    <div class="input_prefix">
        Check out:
    </div>[date-to]
</div>
<div class="input_container span4">
    <div class="text-above">
        Adults
    </div>[adults 1 5]
</div>
<div class="input_container pull-right span4">
    <div class="text-above">
        Children
    </div>[childs 1 5]
</div>