Adding Aviasales and Hotellook links and search forms using the WordPress plugin

To start placing tools, sign up for the Travelpayouts and install the plugin upon instruction.

How to place links

1. Go to the WordPress Editor and open the webpage that you want to place the link on.

2. Click the Add a block button, then click the Travelpayouts icon:

mceclip0.png

3. Click Links in the menu and a form with settings will appear.

mceclip1.png

4. Choose the affiliate program (Aviasales or Hotellook) that you want to create a link to in the first field of the form.

mceclip2.png

5. Fill out all the required fields (marked with an asterisk). You can leave other fields without changes.

Settings for Aviasales links include the following fields:

  • Link Text – Accounts for what text will be shown on the webpage
  • From – Indicates the departure city in this field
  • To – Enter the destination city in this field
  • Type – Choose whether to search for one-way or roundtrip flights.
  • Departure – Today + (days). Specify the time period for the departure date.
  • Arrival – Today + (days). Specify the time period for the return date.
  • Open the link in a new tab – Here, you can choose search results to be displayed in a new tab when clicking the link.
  • SubID – Enter the SubID.

Settings for Hotellook links include the following fields:

  • Link Text – Accounts for what text will be shown on the webpage.
  • Type – Choose the destination type: hotel or city.
  • Hotel/City – Pick a specific hotel or city.
  • Check-In – Today +. Indicate the check-in time period at the hotel.
  • Check-Out – Today +. Indicate the check-out time period at the hotel.
  • Open the link in a new tab – Choose to see search results in a new tab when clicking the link.
  • SubID – Enter the SubID.

6. Click Save after filling out the fields. The link to the hotel search has been created.

How to place search forms

The Travelpayouts plugin for WordPress allows adding of a flight (Aviasales) and hotel (Hotellook) search form on your blog pages.

1. Go to the WordPress Editor and open the webpage that you want to place the link on.

2. Click the Add a block button, then click the Travelpayouts icon:

mceclip0.png

3. Click Widgets in the menu and a list of available widgets will appear.

4. Click on the Settings button next to the search form widget. In the window that appears, you will be able to customize the form.

5. After configuring the form, click on the Embed widget button.widget_placement_en.jpg.png