Shortcode not working

Homepage Forums WP Travel Shortcode not working

This topic contains 7 replies, has 2 voices, and was last updated by  Support Team 1 year ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #7409

    ashish
    Participant

    Shortcode for multiple filter like itinerary type and travel location on a filter is not working.

    #7410

    Support Team
    Keymaster

    Hello @ashish,

    When we tested the shortcode locally, we were unable to find the issue i.e. the shortcode for the filters are working fine.

    So while placing the shortcode you need to place it on the text editor of the Text widget.

    Screenshot:

    http://prntscr.com/k5llzk

    If you still got the issue even after placing the shortcode in the text editor then please provide your site URL so that we can inspect further and help you.

    Thank you.

    Best Regards!!

    #7411

    ashish
    Participant

    Single filter is working properly but multiple filters like:

    [WP_TRAVEL_ITINERARIES type=itinerary_types slug=”trekking” type=travel_locations slug=”everest”]

    This is not working.

    #7414

    Support Team
    Keymaster

    Hello @ashish,

    The Shortcode you have used is actually not of the filter but to display the trips according to the trip type, destinations etc.

    Also, just using the random shortcode won’t work, Please refer to below given link to know about the shortcode that can be used in the plugin.

    http://wptravel.io/documentations/user-documentation/shortcode/

    Further, if you find any confusion regarding the shortcode then please let us know and we will help you further.

    Hope this helps.

    Thank you.

    #7415

    ashish
    Participant

    My bad choice of words! I actually want to display the trips according to the trip type and destination. I am following the documentation provided but that didn’t workout for me.

    [WP_TRAVEL_ITINERARIES type=itinerary_types slug=”trekking” type=travel_locations slug=”everest”]

    This code was supposed to display all trekking type trips from everest according to provided documentation but only displays trips from everest ignoring trekking.

    #7453

    Support Team
    Keymaster

    Hello @ashish,

    The issue may have arisen due to the inverted comma that you have used. So please once try copying exact shortcode that we have mentioned below in the text editor of the post/pages.

    [WP_TRAVEL_ITINERARIES type=itinerary_types slug="trekking" type=travel_locations slug="everest"]

    Also, make sure your slugs are correct. You can check the slug from the URL as well by going to particular trip type and trip destination edit screen.

    Screenshot:
    http://prntscr.com/k60rw1

    Hope this helps.

    Regards!!

    #7454

    ashish
    Participant

    I copied the exact same code. Just show me result using multiple or say dual conditions. For me only last contions holds true.

    #7457

    Support Team
    Keymaster

    Hello @ashish,

    Please have a look at the screenshots below:

    https://prnt.sc/k61dbs

    http://prntscr.com/k61een

    Hope this helps.

    If the issues still persist then please send us your login detail in the email given below so that we can inspect further help you.

    wensolution@gmail.com

    Thank you.

    Regards!!

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.