- This topic has 9 replies, 3 voices, and was last updated 4 years, 5 months ago by
Support Team.
- AuthorPosts
- December 11, 2018 at 11:16 am #8716
juanmacordo
Participantgood morning
I have the following problem I have 2 types of trips: Viajesseleccion and Honeymoons.
On this page https://viajeslatitudsur.es/viajesseleccion/ I only want the “viajesseleccion ” to appear but all the trips appear
I am using the following code
[WP_TRAVEL_ITINERARIES type = trips_selection col = “3” view_mode = “grid”]
Thank youDecember 11, 2018 at 12:23 pm #8717Support Team
KeymasterHello,
To display the trips according to their type, you are not allowed to pass the parameters indicating the number of columns and view modes. There are two ways to display the trips according to their type,
1. Using ID :
Shortcode: [WP_TRAVEL_ITINERARIES type=travel_locations id= trip_id ]2. Using Slug :
Shortcode: [WP_TRAVEL_ITINERARIES type=travel_locations slug=”slug”]To know more about the shortcode, you can refer to the documentation from the given link :
http://wptravel.io/documentations/user-documentation/shortcode/plugin-shortcode/
In your case, you can add the below given shortcode to list the trip :
[WP_TRAVEL_ITINERARIES type=travel_locations slug=”viajesseleccion”]You can display other trip type by replacing the slug in the above shortcode.
Hope this helps,
Let us know if you have any further queries,
Regards!!
December 11, 2018 at 3:31 pm #8718juanmacordo
ParticipantHi, I’m using the following code [WP_TRAVEL_ITINERARIES type = itinerary_types slug = “viajesseleccion”]
and it does not work. can see it in https://viajeslatitudsur.es/viajesseleccion/
December 12, 2018 at 5:47 am #8722Support Team
KeymasterHello @juanmacordo,
The code is not working because you have added the spaces in-betweens.
Please copy the exact code that we have provided.
[WP_TRAVEL_ITINERARIES type=itinerary_types slug="viajesseleccion" ]
For clear information please refer to below given link:
https://www.useloom.com/share/4f219d1f459b455cb1b0823d405bf3de
Hope this helps.
Regards!!
December 12, 2018 at 7:10 am #8729juanmacordo
ParticipantHello, I have copied the code as indicated. But it does not work. Now it appears that there are no trips. You can check it on the same page
Thank youDecember 12, 2018 at 7:18 am #8731WP Travel Admin
KeymasterHello @juanmacordo,
Can you please provide the login detail so that we can inspect and help you further.
Please send the login detail in the email below:
Thank you.
Regards!!
December 12, 2018 at 7:34 am #8735juanmacordo
Participantmail send
December 12, 2018 at 8:07 am #8743Support Team
KeymasterHello @juanmacordo,
The issue has arisen because you have not pasted the shortcode incorrectly. You have to add the code in the HTML editor so that it read the code properly.
As for now, we have fixed we have fixed the issue and also would like to request to change the login if everything working alright.
Thank you.
Regards!!
December 12, 2018 at 8:17 am #8747juanmacordo
Participantsolved
Thank youDecember 12, 2018 at 8:54 am #8748Support Team
KeymasterHello @juanmacordo,
Glad to help you.
If you have any issues further please let us know.
We would also really appreciate if you could help us by rating our plugin by following the link given below:
https://wordpress.org/support/plugin/wp-travel/reviews/
Thank you.
Regards!!
- AuthorPosts
- The forum ‘WP Travel’ is closed to new topics and replies.