WP Travel plugin offers a robust set of shortcodes to help you display trips, itineraries, filters, widgets, and more β€” anywhere on your website.

With over 20+ customizable shortcodes, you can tailor your travel site’s layout and functionality using blocks, text widgets, posts, or pages without writing any code.

Simple and easy-to-understand WordPress shortcodes are listed below.

1. Cart & Checkout Pages

Cart Page

[wp_travel_cart]

User Account Page

[wp_travel_user_account]

Thank You Page

[wp_travel_thankyou]

2. Display Itineraries

Use [WP_TRAVEL_ITINERARIES] to display trips. By default, it shows up to 20 trips, but you can customize it using parameters.

1. Show a Limited Number of Trips

[WP_TRAVEL_ITINERARIES limit=5]

Displays only 5 itineraries.

[WP_TRAVEL_ITINERARIES type=featured]

Displays all trips marked as β€œFeatured.”

3. Show Trips by Trip Type (using slug or ID)

[WP_TRAVEL_ITINERARIES type=itinerary_types slug="trekking"]
[WP_TRAVEL_ITINERARIES type=itinerary_types id=12]

4. Show Trips by Location

[WP_TRAVEL_ITINERARIES type=travel_locations slug="pokhara"]
[WP_TRAVEL_ITINERARIES type=travel_locations id=45]

5. Display a Specific Trip by Trip ID

[WP_TRAVEL_ITINERARIES itinerary_id=8852]

Displays a single trip with the ID 8852.

3. Trip Filters

WP Travel includes powerful trip filter shortcodes to help users find exactly what they need.

[wp_travel_trip_filters]

1. Filter by Keyword

[wp_travel_trip_filters filters="keyword"]

2. Filter by Trip Facts

[wp_travel_trip_filters filters="fact"]

3. Filter by Trip Type

[wp_travel_trip_filters filters="itinerary_types"]

4. Filter by Location

[wp_travel_trip_filters filters="travel_locations"]

5. Filter by Price (Order By)

[wp_travel_trip_filters filters="price"]

6. Filter by Price Range

[wp_travel_trip_filters filters="price_range"]

7. Filter by Trip Dates

[wp_travel_trip_filters filters="trip_dates"]

8. Combine Multiple Filters

[wp_travel_trip_filters filters="keyword,itinerary_types"]

4. Trip Enquiry Form

You can also insert the Trip Enquiry Form anywhere using:

[wp_travel_trip_enquiry_form]

5. Currency Exchange Rates

Show current exchange rates for selected currencies:

[wp_travel_currency_exchange_rates]

With custom currency code(s):

[wp_travel_currency_exchange_rates currency_code="USD,NPR,AED"]

6. Trip Weather Forecast

Primary shortcode:

[wp_travel_trip_weather_forecast]

With attributes:

[wp_travel_trip_weather_forecast title="Weather Update" city="Kathmandu" country="Nepal" temp_unit="metric"]

7. Global FAQs

Display FAQs using:

[wp_travel_utils_global_faq]

Check the WP Travel documentation to learn more about configurations, modules, payments, and shortcodes.

Your feedback helps us improve. Feel free to share your thoughts!

Need assistance? Contact our support team, join our Facebook community, and subscribe to our YouTube Channel for video tutorials.

You can also find us on Facebook, Instagram, LinkedIn, TikTok, and X. Thank you for choosing WP Travel.

If you are a WP Travel Free user thinking about upgrading to Pro, simply click on the banner below.

Get WP Travel Pro