Shortcodes of tables and widgets

List of all shortcodes used in the plugin:

  • [tp_price_calendar_month_shortcodes origin = MOW destination = SIP title = ""] - the table "Flights from origin to destination, One Way (next month)";
  • [tp_price_calendar_week_shortcodes origin = MOW destination = SIP title = ""] - the table "Flights from Origin to Destination (next few days)";
  • [tp_cheapest_flights_shortcodes origin = MOW destination = SIP title = ""] - the table "Cheapest Flights from origin to destination, Round-trip";
  • [tp_cheapest_ticket_each_day_month_shortcodes origin = MOW destination = SIP title = ""] - the table "Cheapest Flights from origin to destination (next month)";
  • [tp_cheapest_tickets_each_month_shortcodes origin = MOW destination = SIP title = ""] - the table "Cheapest Flights from origin to destination (next year)";
  • [tp_direct_flights_route_shortcodes origin = MOW destination = SIP title = ""] - the table "Direct Flights from origin to destination";
  • [tp_direct_flights_shortcodes origin = MOW title = "" limit = 10] - the table "Direct Flights from origin";
  • [tp_popular_destinations_airlines_shortcodes airline = SU title = "" limit =] - the table "Most popular flights within this Airlines";
  • [tp_our_site_search_shortcodes title = "" limit = 100] - the table "Searched on our website";
  • [tp_from_our_city_fly_shortcodes origin = MOW title = "" limit = 100] - the table "Cheap Flights from origin";
  • [tp_in_our_city_fly_shortcodes destination = AMS title = "" limit = 100] - the table "Cheap Flights to destination";
  • [tp_map_widget origin = MOW width = 500 height = 500] - map widget;
  • [tp_hotelmap_widget coordinates = "55.752041, 37.617508" width = 500 height = 500] - hotels map widget;
  • [tp_calendar_widget origin = MOW destination = LED responsive = true] - calendar widget;
  • [tp_hotel_widget hotel_id = 3056 hotels responsive = true] - hotel widget;
  • [tp_popular_routes_widget destination = MOW responsive = true] - popular destinations widget;
  • tp_search_shortcodes id = 1 origin = "MOW" destination = "LED"] - search form.

The shortcode using the following parameters:

  • origin - IATA code of the point of departure;
  • destination - IATA code of the destination;
  • title - title of the table;
  • limit - limit on the number of rows displayed in the table;
  • width - width of the widget;
  • height - height of the widget;
  • coordinates - coordinates of the hotel;
  • responsive - to make the widget exercising responsive (automatically adjusts to the screen resolution).

Attention! Options shortcodes are individual. They can work for one shortcode and not for another. Carefully watch the contents of the shortcode in the list above. 

Was this article helpful?

Have more questions? Submit a request