=== Travelpayouts: All Travel Brands in One Place ===
Contributors: travelpayouts
Tags: affiliate, seo, travel, flights, hotels
Requires at least: 4.6
Requires PHP: 7.2.5
Tested up to: 6.5.3
Stable tag: trunk
Author URI: https://www.travelpayouts.com/?utm_source=wp_org&utm_medium=description
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Earn money and make your visitors happy! Offer them useful travel tools to find travel deals. Earn affiliate commission for each booking.

== Description ==
Install our **Travelpayouts WordPress Plugin** on your website in a few clicks and help your visitors to find the cheapest flights, hotels, car rentals, tour, etc, making your users happy and bringing you a steady income.

> Looking for more than just widgets? Check out [Travelpayouts Whitelabel Web](https://tp.click/340). It allows you to launch a fully customizable flights & hotel search website under your domain, preserving the look and feel of your original WordPress site. Unlike traditional widgets, the users can search travel deals directly on your branded site, earning you a commission for each booking.

WordPress travel plugin is a powerful solution for travel bloggers, travel agencies and travel-related websites. You need to have a [Travelpayouts account](https://www.travelpayouts.com/?utm_source=wp_org&utm_medium=description&utm_campaign=en) to use the plugin.

**What Travelpayouts WordPress Plugin can offer:**

* **for your website visitors:** 11 different tables and many widgets helping them find the best offers according to their travel needs.
* **for you:** a new source of income and added value to your website. Also, it helps with your own [flights or hotel search](https://www.travelpayouts.com/promo/whitelabel/en/?utm_source=wp_org) website.

Travelpayouts is a [travel partnership platform](https://www.travelpayouts.com/?utm_source=wp_org&utm_medium=description&utm_campaign=en) dedicated to all things travel. Trusted brands like Booking.com, Tripadvisor, and GetYourGuide work together with over 300,000 bloggers and content creators around the world to bring people the best travel deals.

[Travelpayouts sign up](https://www.travelpayouts.com/?utm_source=wp_org&utm_medium=description&utm_campaign=en) is free of charge and takes less than 1 minute.

**How does the Plugin work?**

1. **You install and activate our plugin.** Place our widgets right in your posts and help visitors book flights, hotels and other services.
2. **Your visitor pays for the service.** Your clients are happy to grab a great deal for their wishlist journey, while we pay you a reward.
3. **You make a profit.** Your earnings will be displayed in your Travelpayouts dashboard. You receive them to your bank account through automated, monthly payouts.

**How much will I earn?**

On average our partners earn 7$ from each flight and 20$ from each hotel booking (based on the average booking amount of 400$). You can also monetize bookings from other travel services available onTravelpayouts, including car rentals and tours and activities.

**What features does the plugin have?**

The plugin allows you to quickly add to your WordPress website the following tools:

* 11 types of customizable tables with flights
* 2 types of customizable tables with hotel prices and info
* All widgets available on Travelpayouts: WayAway, Hotellook, Booking.com, Omio, RentalCars and many others brands
* It also allows you to redirect your visitors to your [flight or hotel White Label](https://www.travelpayouts.com/promo/whitelabel/en/?utm_source=wp_org&utm_medium=description&utm_campaign=en) website or other domains in different languages (there are 45 languages to choose from)

Supported languages:

* English
* French
* German
* Italian
* Malay
* Polish
* Russian
* and others

Currencies supported in tables and widgets (some of them aren’t available in some widgets or other tools):

* US Dollar USD
* Euro EUR
* Brazilian Real BRL
* Canadian Dollar CAD
* Swiss Franc CHF
* Hong Kong Dollar HKD
* Indonesian Rupiah IDR
* Indian Rupee INR
* New Zealand Dollar NZD
* Filipino Peso PHP
* Polish Zloty PLN
* Russian ruble RUB
* Singapore Dollar SGD
* Thai Baht THB
* British Pound GBP
* South African Rand ZAR
* Ukrainian Hryvnia UAH
* And many more

**Detailed Information**
For more details on the plugin’s features, check out [our articles](https://support.travelpayouts.com/hc/en-us/sections/12078790362770-WordPress-plugin?utm_source=wp_org&utm_medium=description&utm_campaign=en) and [Help Center](https://support.travelpayouts.com/hc/en-us?utm_source=wp_org&utm_medium=description&utm_campaign=en) materials.

**What sources do we use?**

We help users find cheap flights by comparing prices on Expedia, Bravofly, Vayama, Travelgenio, Smartfares, and other travel websites, displaying the cheapest option.

For hotels we scan prices on booking platforms such as agoda.com, booking.com, easytobook.com, happyrooms, hotel.com, ostrovok.ru, hotel.info, hrs.com, and many others.

== Installation ==

= Installation =

1. Install Travelpayouts WordPress plugin either through WordPress.org plugin directory, or by uploading the files to your server.
2. After activating the plugin, enter your Travelpayouts marker and API token to enable the plugin’s features.
3. If you don't have a Travelpayouts account, you can quickly [create one at Travelpayouts.com](https://www.travelpayouts.com/?utm_source=wp_org&utm_medium=installation) and come back to the plugin to enter your personal API token and marker. Registration is free and takes next to no time.
4. Press the Save button to save settings.
5. That's it. You're ready to go! Insert our tools by using the WordPress editor.

= How to embed Widgets via the plugin =

Currently, to be able to access Widgets, you should be logged in to Travelpayouts in the same browser you are using with your WordPress website. Besides, your website should be using HTTPS.

== Frequently Asked Questions ==

= What PHP version does the plugin require? =

The plugin requires PHP 5.6 or later, but PHP 7.x is preferred. We (the same as WordPress) recommend using the last stable PHP and MySQL builds. Update them periodically (do it on your own or ask your support) as every new stable version has better performance, stability and security. Also, the plugin won't work in case your PHP memory limit is less than 128 Mb.

= How do I receive my earnings? =

Our Affiliates receive the payouts monthly (from 11th to 20th), strictly on schedule. Read [this article](https://support.travelpayouts.com/hc/en-us/articles/203955613/?utm_source=wp_org&utm_medium=faq) for more detailed information about payout and withdrawal methods.

= Does the plugin support multilingual and multisite options? =

Yes, it does. We tested it on multisite installs and with WPML and Polylang plugins.

= Who pays the commission? =

Travelpayouts.com makes it possible to work with more than 50 travel brands.
Among them are:

* Booking.com
* Viator
* GetYourGuide
* WayAwat
* RentalCars
* TripAdvisor
* Hostelworld
* Trivago US
* Tiqets
* GoCity
* OMIO
* Klook
* Trip.com
* Expedia
* Insubuy
* Airhelp
* Busbud

= Can I add flights and hotel booking search to my own domain? =

Yes, sure. Simply set up our [White Label](https://support.travelpayouts.com/hc/en-us/articles/203955753-White-Label/?utm_source=wp_org&utm_medium=faq) feature for your domain and add it to the plugin settings.

= Are the tables generated by the plugin SEO-friendly? =

Yes, our tables, which are based on Travelpayouts Data API are responsive are SEO friendly.

= Are your Affiliate Tools Responsive? =

Most of the widgets are repsonsive. The plugin's tables are responsive too. We know that in 2021, providing mobile-friendly tools is a must.

= Does Travelpayouts charge any registration fees? =

Registration with Travelpayouts is free and takes just a few seconds. Follow this [link](https://www.travelpayouts.com/?utm_source=wp_org&utm_medium=faq) to Sign Up.

= How do I view my stats? =

You should check your Dashboard at [Travelpayouts.com](https://www.travelpayouts.com/dashboard/?utm_source=wp_org&utm_medium=faq).

= Where can I send comments and suggestions? =

Please, send all your comments and suggestions to wpplugin(at)travelpayouts.com

= Does Travelpayouts have a Support Team and a Help Desk? =

Sure. Our Help Desk is always available at [support.travelpayouts.com](https://support.travelpayouts.com/hc/en-us/?utm_source=wp_org&utm_medium=faq). If you still have any questions regarding the way our service works, feel free to contact our Support Team using the Feedback form.

== Changelog ==

= 1.2.1 =
* Fixed railway tables issue

= 1.2.0 =
* Removed support for HotelLook services
* Added support for creating widgets without logging in to Travelpayouts

= 1.1.23 =
* Fixed table markup

= 1.1.22 =
* Fixed pagination in hotel tables
* Fixed the "new_tab" option for links

= 1.1.21 =
* Fixed issue with tables when they show no data

= 1.1.20 =
* Tutu tables fix

= 1.1.19 =
* Fixed PHP 8.2 deprecation warnings
* Usage analytics improvements

= 1.1.18 =
* Fixed issue with redirecting in tutu campaign tables

= 1.1.17 =
* External redirect security issue fix

= 1.1.16 =
* Plugin stability improvements

= 1.1.15 =
* Tutu tables fix

= 1.1.14 =
* Plugin stability improvements

= 1.1.13 =
* Fixed Help section
* Table localization improvements
* Add the ability to add widgets with an 'async' parameter to old search forms
* Stability fix for the widget constructor
* Fix for PHP 8.2 support

= 1.1.12 =
* Tables rendering fix
* Fixed issue with WP admin panel styles

= 1.1.11 =
* Flight calendar price fix
* Localization fixes

= 1.1.10 =
* Plugin stability hotfix

= 1.1.9 =
* Table fix for one-way tickets
* Plugin stability improvements

= 1.1.8 =
* Enhanced the functionality of the price_calendar_week shortcode for one-way tickets
* Resolved the issue with the "subscribe to program" notification
* Addressed and resolved issues related to adding multiple widgets in succession

= 1.1.7 =
* Fixed redirects issues for tables

= 1.1.6 =
* Added tables and widgets preview in Gutenberg
* Fixed origin detection and variables list issues for tables
* Fixed 301 redirect
* Fixed compatibility issues with the Avada theme
* Improved plugin performance

= 1.1.5 =
* Hotfix for PHP 7.2.* version support

= 1.1.4 =
* Fixed tables appearance

= 1.1.3 =
* Fixed rendering issues for several widgets

= 1.1.2 =
* Plugin stability hotfix

= 1.1.1 =
* Better notifications UX
* Improved tables performance
* Fixed MoneyScript missing some links
* Fixed plugin appearance in the WP dashboard for RTL languages
* Fixed destination prefixes in flight tables

= 1.1.0 =
New tables:
* Faster rendering and requires fewer server resources
* Better table markup
* Improved adaptive version for mobile devices

Also:
* Fixed shortcode sorting
* Fixed airlines and flight numbers filtration in the Flight Tables shortcodes
* Only direct flights are now returned in shortcodes with one_way' attribute search results

= 1.0.22 =
* Increased minimum PHP version from 5.6 to 7.2.5
* Plugin stability improvements

= 1.0.21 =
* Plugin stability hotfix

= 1.0.20 =
* Fixed losing widget settings after opening page for editing in Gutenberg
* Fixed rewriting table pagination settings
* Fixed plugin activation error

= 1.0.19 =
* Made available opening hotel links in a new tab (just check the checkbox adding the link)
* Added new type of destination for Hotel links – City. Generated link will open a SERP with hotels in the chosen City
* Improved search forms re-import and migration mechanisms
* Added compatibility with LiteSpeed Cache and WP Rocket plugins
* Translated our tables to Hebrew
* fixed bug with new settings saving when Consultio theme is set

= 1.0.18 =

* Fixed bug when plugin tables created too much cache. You could clear previously generated cash with "Clear cache" button in the Plugin settins, or with help of other plugins: Delete Expired, Transients Manager.
* Fixed memory limit error.
* All hotels links created on previous plugin versions work properly now.
* Fixed bug with creating links via admin panel.
* Fixed bugs for some tables.

= 1.0.17 =

* Significantly improved optimization. Heavy pages will render much faster now.
* Added control to disable table debug notices.
* Added an ability to change table column headers translation for the chosen language.
* Integrated the new tool – MoneyScript, which can replace links to travel resources with your affiliate ones.
* Improved table styles settings feature, now you can choose exactly how you want your tables to look like.
* Fixed bug with plugin deactivation form.
* Fixed bug with hotel search-form, when you couldn't choose a hotel instead of city.

= 1.0.16 =

* Added new Aviasales/Jetradar table "Flights schedule"
* You can now turn the table row into the link with the "Make table row clickable" option in the settings
* Added changelog so you won't miss the news about important updates
* Fixed bugs

= 1.0.15 =

* Small bugfix
* Added referral link setting for widgets

= 1.0.14 =

* Supported PHP 8.0
* Rebuilt Search forms, made them easier to set up, Destination is allowed to be empty now
* Rebuilt Date Formats section, now you can choose one of the pre-defined formats or set your own
* Couple of tweaks with Traffic Source section
* Fixed bug with GA and Yandex.Metrika events for "Find" button
* Supported Georgian language for tables
* Added opportunity to disable header styles
* Enhanced Russian translation
* Other bugs fixed


= 1.0.13 =

* Minor update in order to support WordPress 5.7 version

= 1.0.12 =

* Added Help section with knowledge base about plugin
* Added traffic sources to make the stats attribution more accurate
* Improved isolation of the plugin from conflicts with other WordPress plugings
* Fixed bug with Cheapest flights round-trip table
* Fixed bug with Calendar Widget
* Other bugs fixed


= 1.0.11 =

* Fixed bug with tp_calendar shortcode
* Fixed bug with Classic Editor

= 1.0.10 =

* Improved search form import
* Fixed shortcode withour powered_by parameter

= 1.0.9 =

* Fixed search forms import
* Improved isolation of the plugin from conflicts with other WordPress plugings
* Improved settings improt from v. 0.7.3
* Fixed a bug with the Classic editor, now it works

= 1.0.7 =
**UPDATE CAREFULLY** – a major release – **MAKE A BACKUP IF IT's POSSIBLE**

* Fixed v.0.7.3 settings import
* Fixed tables styles
* List of available languages now in the alphabetic order
* Fixed a bug with saving search forms


= 1.0.6 =
Yeah! The near version arrived.

* Guttenberg support
* Completely rewritten
* More stable
* Faster
* All widgets from Travelpayouts are available via the plugin

= 0.7.14 =
**SECURITY UPDATE** sanitized unsafe data, please update ASAP

= 0.7.13 =
**SECURITY UPDATE** removed wp_ajax_nopriv_ actions, please update ASAP

= 0.7.12 =
**SECURITY UPDATE** please update ASAP

= 0.7.11 =
**SECURITY UPDATE** please update ASAP

= 0.7.10 =
Fixed errors occurring when using the count function in php 7.3

= 0.7.9 =
Add compability with PHP 7.x

= 0.7.8 =
Small bagfixes

= 0.7.7 =
Release Date: December 18th, 2018

* new: aviasales.kz host is added globally for flights widgets (except a map) and tables
* new: widgets' shortcodes now support currency= parameter, so you can define currency for each widget individually. E.g. currency=UAH
* new: flights tables now support host= parameter so you can define a host for each table individually. E.g. host=aviasales.kz
* added: "Powered by" control in the shortcodes.
* updated: now all widgets support all currencies, the same as at Travelpayouts.com
* fixed: tutu's (railway tickets in Russia) tables moved to the new API endpoint. Should work better

= 0.7.6 =
Release Date: Mar 2nd, 2018

* fixed: hotels white label domain wasn't work for widgets

= 0.7.5 =
Release Date: Jan 29th, 2018

* fixed: tutu link from tables

= 0.7.4 =
Release Date: July 5th, 2017

* fixed: jetradar link from tables
* fixed: calendar widget jetradar link
* fixed: tutu subid fixed

= 0.7.3 =
Release Date: July 5th, 2017

* fixed: jetradar link from tables
* fixed: calendar widget jetradar link
* fixed: tutu subid fixed

= 0.7.2 =
Release Date: June 29th, 2017

* added: 2 hotel tables: selections and selections by dates. Note that selections by dates are displayed if these data are present in the cache. Otherwise, nothing will be displayed
* improved: Optimized statistics query
* added: New currencies, now we have 63 of them in tables. We added an option for displaying currency symbol in the price. Now you can hide, or show up to a numerical value, after or just show the currency code instead of the symbol
* fixed: A bug with the popular destiantion widget
* added: An exception to the scripts of our plugin from automatic Cloudflare and WP Fastest cache minifing
* impoved: Removed old redirects, added support everywhere for migrating through https
* added: railway schedule tables (Russian only)
* fixed: A bunch of bugs
