View Categories

Trip Infos Shortcode

The Tripzzy plugin provides multiple shortcodes to display different types of trip-related information. The [TRIPZZY_TRIP_INFOS] shortcode is designed to display a section of Trip Information, such as duration, group size, difficulty level, and other key details defined for a trip.

This shortcode works only on the trip detail page and ensures your visitors can quickly see the important facts about a trip.



Available Attributes #

The shortcode has the following default attribute:

AttributeDefault ValueSinceDescription
trip_id01.0.0The ID of the trip. If set to 0, it automatically uses the current trip page.

Uses Examples #

1. Display Trip Infos of Current Trip #

[TRIPZZY_TRIP_INFOS]

This will show the trip information section of the trip currently being viewed.

2. Display Trip Infos by Trip ID #

[TRIPZZY_TRIP_INFOS trip_id="18"]

This will display the trip information of the trip with ID 18.


Important Notes #

  • This shortcode only works on trip detail pages.
  • If trip_id is provided, make sure the ID matches a valid trip; otherwise, no information will be displayed.
  • The details shown in this section depend on what you have configured in the Trip Settings while creating or editing a trip.

Output #

When placed correctly, the shortcode displays a Trip Information block that may include:

  • Duration (e.g., 7 Days / 6 Nights)
  • Group size
  • Difficulty level
  • Best season
  • Starting & ending points
  • Other custom trip info fields you’ve added

This ensures your visitors can quickly view key trip highlights in a neatly organized format.

✅ Use [TRIPZZY_TRIP_INFOS] to highlight important trip details in a structured way, making it easier for users to understand the key aspects of your travel packages.

Scroll to Top