List Tour, Destination & Activity

You can list a tour or destination or activity in a different way. Here is the explanation of those ways:

Tour List:

You can list the tour/trip in 3 ways:

Shortcode Method
:
You can use shortcode to list the tour/trip package. Here is the shortcode: [yatra_tour order=”asc”], click here for more information about yatra shortcodes.
Here is the frontend view of the shortcode method.

Widget Method: You just need to pick YT – Tour List widget from appearance->widgets area and drag it to your sidebar ( sidebar might be different as per your theme). We recommend using fullwidth sidebar ( if any) so that your list design will more awesome. The design of the shortcode and widgets style will be the same.

URL Method: You can add /tour on your homepage URL so that you will get all the tours from there. But if you change permalinks for a tour from settings->permalinks then you need to put your updated permalinks after home URL of your website.

You can change the permalinks from here: Settings->Permalinks:

Yatra Permalink Settings

For example if you have domain name example.com then you need to put example.com/tour to list all tours. The design of this method will be different from the shortcode and widget method.

Destination List:

You can list the destination in 2 ways:

Shortcode Method:
You can use a shortcode to list the tour/trip package. Here is the shortcode:[yatra_destination order=”desc”], click here for more information about yatra shortcodes.
Here is the frontend view of the shortcode method.

Yatra Tour Destination ( Shortcode Method )

Widget Method: You just need to pick YT – Destination widget from appearance->widgets area and drag it to your sidebar ( sidebar might be different as per your theme). We recommend using fullwidth sidebar ( if any) so that your list design will more awesome. The design of the shortcode and widgets style will be the same.

Activity List:

You can list the activity in 2 ways:

Shortcode Method:
You can use a shortcode to list the tour activity. Here is the shortcode: [yatra_activity order=”desc”], click here for more information about yatra shortcodes.
Here is the frontend view of the shortcode method.

Widget Method: You just need to pick YT – Activity widget from appearance->widgets area and drag it to your sidebar ( sidebar might be different as per your theme). We recommend using fullwidth sidebar ( if any) so that your list design will more awesome. The design of the shortcode and widgets style will be the same.