Short code

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #8716
    juanmacordo
    Participant

    good 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 you

    #8717
    Support Team
    Keymaster

    Hello,

    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!!

    #8718
    juanmacordo
    Participant

    Hi, 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/

    #8722
    Support Team
    Keymaster

    Hello @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!!

    #8729
    juanmacordo
    Participant

    Hello, 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 you

    #8731
    WP Travel Admin
    Keymaster

    Hello @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:

    wensolution@gmail.com

    Thank you.

    Regards!!

    #8735
    juanmacordo
    Participant

    mail send

    #8743
    Support Team
    Keymaster

    Hello @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!!

    #8747
    juanmacordo
    Participant

    solved
    Thank you

    #8748
    Support Team
    Keymaster

    Hello @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!!

Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘WP Travel’ is closed to new topics and replies.