WP Travel offers you several shortcodes that can be used to display trips and itineraries, filter trips according to price range, date, location, etc. and display available widgets inside posts and pages. On this page you will find comprehensive and advanced collection of various useful and functional trip shortcodes elements. With over 20 beautiful wp travel shortcodes that you can implement on your post editor, text widget or even in the template files. A simple and easy to understand WordPress shortcode are listed below.
Available Shortcodes:
– Cart page
– Checkout Page
– Dashboard Page
– Thank You Page
– The Shortcode for displaying the itineraries.
– Shortcode by type
– Shortcode trip type according to the location
– Shortcode single Trips on post/page.
– Filter Widget Shortcode
– Currency Exchange rate
– Trip Weather forecast
– Shortcode of FAQs
[wp_travel_cart]
Checkout Page:
[wp_travel_user_account]
[wp_travel_thankyou]
[WP_TRAVEL_ITINERARIES]
Note: The maximum no of itineraries that a plugin can display by default is 20. But you can show more trips by passing the limit parameter.
[WP_TRAVEL_ITINERARIES limit=20]
You can add the Shortcode either in page/ post. With the addition of the shortcode, you will be able to view the itineraries in page/post, depending on where you have to use the shortcode.
There is two special feature that you can manage using Shortcode.
- Limit the no of the itinerary to display.
- Display the itinerary according to the type.
- featured
- itinerary_types
- travel_locations
Limit :
Using shortcode you can limit the no of the itinerary to display at the front end.
Eg :
[WP_TRAVEL_ITINERARIES limit=1]
Using this Shortcode you can limit the no. of the itinerary to 1 i.e you will be able to display only one itinerary at the front end.
Note: The default value of the limit is set to 20.
Type :
Basically, there are 3 different types according to which you can display the itinerary.
type=featured
Eg :
[WP_TRAVEL_ITINERARIES type=featured]
If you include the featured type in the shortcode all the itinerary that is marked as featured is displayed at the front end.
If you include the itinerary_types in the shortcode, you have had to enter the id or the slug of trip Type. Only then the itinerary associated with that trip type will be displayed at the front end.
Eg :
- Using ID
[WP_TRAVEL_ITINERARIES type=featured]
- Using Slug :
[WP_TRAVEL_ITINERARIES type=itinerary_types slug="trekking"]
Screenshot :

If you include the travel_locations in the shortcode, you have had to enter the id or the slug of Locations. Only then the itinerary associated with that location will be displayed at the front end.
Eg :
- Using ID:
[WP_TRAVEL_ITINERARIES type=travel_locations id=92]
- Using Slug :
Screenshot :

Note: Not just ID but you can control the display using the Slug attribute. i.e in place of ID, you can place “slug=” name for itinerary_types and travel_locations.
If you wish to display a trip type of a certain location then you can do so by adding the shortcode as given below:
[WP_TRAVEL_ITINERARIES type=travel_locations slug="karnali"]
If you want to display single trips only using the shortcode then you can do so by using the id of the trips.
For eg: You can paste the below-given shortcode :
[WP_TRAVEL_ITINERARIES itinerary_id=8852]
This shortcode will display the trip with id “8852” only.
Filter widget shortcode is an amazing feature that is released with version 1.2.1. You can add the shortcode in a page, posts, or text widget.
The Shortcode that you have to Add is
[wp_travel_trip_filters]

This shortcode will list all the filters that are available in the plugins.
Further, there are altogether six types by which you can display the filter section using the shortcode.
- keyword
- fact
- trip_type
- trip_location
- price_orderby
- price_range
- trip_dates
Keyword:
If you want to filter the trips according to keyword then add the below given Shortcode.
[wp_travel_trip_filters filters="keyword"]

Trip Facts:
If you want to filter the trips according to facts then add the below given Shortcode.
[wp_travel_trip_filters filters="fact"]

Trip Type:
If you want to filter the trips according to the trip type then add the below given Shortcode.
[wp_travel_trip_filters filters="itinerary_types"]

Trip locations:
If you want to filter the trips according to the trip locations then add the below given Shortcode.
[wp_travel_trip_filters filters="travel_locations"]

Price Order by:
If you want to filter the trips according to the Price Order then add the below given Shortcode.
[wp_travel_trip_filters filters="price"]

Price Range:
If you want to filter the trips according to the Price Range then add the below given Shortcode.
[wp_travel_trip_filters filters="price_range"]

Trip Dates:
If you want to filter the trips according to the Trip Dates then add the below given Shortcode.
[wp_travel_trip_filters filters="trip_dates"]

Showing more than two filters at the same time using the shortcode:
If you wish to display more than two filters using the shortcode then you add the filter by adding a comma.
Eg: If you wish to display the keyword and trip type filter together then add below given shortcode:
[wp_travel_trip_filters filters="keyword,itinerary_types"]

Enquiry details can be organized more conveniently with the help of shortcodes with the recent release of “WP Travel Version 1.8.0”.
[wp_travel_trip_enquiry_form]
The enquiry form added via shortcodes will appear as :

[wp_travel_currency_exchange_rates]
Shortcode with parameter
[wp_travel_currency_exchange_rates currency_code="CURRENCY_CODE(S)"]
Currency code: USD,NPR,AED etc…
Trip Weather forecast:
Primary shortcode:
[wp_travel_trip_weather_forecast]
Shortcode with all-important attrs:
[wp_travel_trip_weather_forecast title="title" city="city_name" country="country_name" temp_unit="metric_or_imperial"]
[wp_travel_utils_global_faq]
For more detail regarding the shortcodes, please refer to our official Documentation.
For more details regarding using the shortcodes, please watch given below YouTube video: