- This topic has 7 replies, 2 voices, and was last updated 4 years, 10 months ago by
Support Team.
- AuthorPosts
- July 12, 2018 at 10:46 am #7409
ashish
ParticipantShortcode for multiple filter like itinerary type and travel location on a filter is not working.
July 12, 2018 at 12:12 pm #7410Support Team
KeymasterHello @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:
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!!
July 12, 2018 at 12:19 pm #7411ashish
ParticipantSingle 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.
July 13, 2018 at 4:54 am #7414Support Team
KeymasterHello @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.
July 13, 2018 at 5:06 am #7415ashish
ParticipantMy 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.
July 13, 2018 at 11:44 am #7453Support Team
KeymasterHello @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/k60rw1Hope this helps.
Regards!!
July 13, 2018 at 11:50 am #7454ashish
ParticipantI copied the exact same code. Just show me result using multiple or say dual conditions. For me only last contions holds true.
July 13, 2018 at 12:30 pm #7457Support Team
KeymasterHello @ashish,
Please have a look at the screenshots below:
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.
Thank you.
Regards!!
- AuthorPosts
- The forum ‘WP Travel’ is closed to new topics and replies.