Shortcodes


Hotel Locations Shortcode:

Show hotel locations with thumbnail and hotel count.

[hotel_locations]

Attributes:

  • ids – Specify the ids of the locations which you want to show. Default to blank
  • hide_empty – 0 or 1. Don’t show empty locations. Default to 0.

Tour Destinations Shortcode:

Show tour destinations with thumbnail and hotel count.

[tour_destinations]

Attributes:

  • ids – Specify the ids of the destinations which you want to show. Default to blank
  • hide_empty – 0 or 1. Don’t show empty destinations. Default to 0.

Recent Hotel Slider Shortcode:

Show recent hotels in a slider

[tf_recent_hotel]

Attributes:

  • title – Title of the slider. Default to blank.
  • subtitle – Subtitle of the slider. Default to blank.
  • count – Number of total hotels to show. Default to 10
  • slidestoshow – Number of hotels to show on the slider at a time. Default to 5.

Recent Tour Slider Shortcode:

Show recent tours in a slider

[tf_recent_tour]

Attributes:

  • title – Title of the slider. Default to blank.
  • subtitle – Subtitle of the slider. Default to blank.
  • count – Number of total tours to show. Default to 10
  • slidestoshow – Number of tours to show on the slider at a time. Default to 5.

Search Form (Horizontal) Shortcode:

Show search form for hotels/tours

[tf_search_form]

Show search form for hotels/tours with Filters

[tf_search advanced="enabled"]

Attributes:

  • title – Title of the form. Default to blank.
  • subtitle – Subtitle of the form. Default to blank.
  • type – hotel or tour or all. Default to all
  • fullwidth – For full width template where no container is present it should be true. Default to false.

Search Result Shortcode:

Place where you want to show the search results.

[tf_search_result]

Wishlist Shortcode:

Show hotel/tours which are added in the wishlist

[tf-wishlist]

Attributes:

  • type – hotel or tour. Without “type” will load both hotels & tours. Default to blank

Login Form Shortcode:

Place where you want to show the login form. This shortcode works with Tourfic Pro version only.

[tf_login_form]

Registration Form Shortcode:

Place where you want to show the registration form. This shortcode works with Tourfic Pro version only.

[tf_registration_form]

Show search form for booking.com:

This shortcode works with Tourfic Pro version only.

[tf_search type="booking" ]

Show search form for Travelpayout:

This shortcode works with Tourfic Pro version only.

[tf_search type="tp-hotel,tp-flight" ]
Was this page helpful?