Go to the "Calendar widget" in your account partner to customize it and get the code for placing it on your site.
First of all, set the appearance of the calendar by setting its width (Widget Width). The widget can be adjusted to the size of the webpage, to do this, select the check box Responsive.
Enter the city of departure and destination, which will be showing by default in the calendar. If this is not done, the city of departure will be determined by the user's IP address, and the destination city will be Bangkok.
Additionally, the available options are:
- One way - select if you need only one way price;
- Only direct flights - select if you need price for direct flights;
- Language - the language of the displayed results;
- Host - if you plan to place the widget on the White Label and want to open the results on your site, enter in this field the address of the White Label;
- Currency - the type of currency in which the price of found tickets will be displayed;
- Additional marker - use this option to collect detailed statistics (for details on additional marker);
- Period - period of the calendar: year or month;
- Period, days - the range of days during which the trip will be taking place;
- Add my referral link - adds a link Powered by Travelpayouts under the search form. More details in the article Referral program.
To place a widget in your site, copy the code from the block "Code for posting on the site" and paste into the html code of the website.
- Place the widget in the thematic articles about a particular city or country, and specify the city in the widget.
- Use the Calendar widget with the Maps widget - you can show the different dates and different directions to destinations.
Example of widget
Was this article helpful?
Have more questions? Submit a request