Trip Description & Booking Format

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #7144
    wyes
    Participant

    Hi Team Support,

    1. How to change the view on Trip Description. Because by default it looks like this:
     photo trip format.png

    ———————————–
    #I want it shows by default like this
     photo trip format 2_1.png

    ————————
    #As you see on the picture.. the view is not proper because the picture shows too left and there is a big space to put another tour package on the right. The question is can we edit the format?
     photo trip format 3.png

    —————————
    2. Can we change/edit Booking Format on Itinerary? I want to erase Arrival Date and Duration
     photo booking format.png

    Thank You

    #7156
    Support Team
    Keymaster

    Hello @wyes,

    To make the grid layout by default in the trip archive page you need to add some custom code in your child theme functions.php file.

    Please refer to below-given link to know how to create the child theme.

    http://wptravel.io/how-to-create-a-child-theme/

    After creating the child theme, add below given code in your child theme functions.php file.

    http://wptravel.io/documentations/developer-documentation/filter-hook/changing-the-layout-using-filter-hook/

    Also, to make the page full width please make sure the WP Travel: Archive Sidebar is empty by going to Admin Panel > Appearance > Widget.

    Screenshot:

    http://prntscr.com/jwl34n

    Now regarding the query related to the form field, if you enable the fixed departure by going to individual trips > Dates and prices , the Arrival/ Departure date will automatically be removed from the field.

    Screenshot:
    http://prntscr.com/jwl4bi

    Hope this helps.

    Best Regards!!

    Have a good day 🙂 .

    #7231
    wyes
    Participant

    Hi Team Support,

    Thanks for answering my question. I followed all your instruction.

    1. Add given code in functions.php file.
     photo Grid View.png
    ————

    2. Empty all widget in WP Travel Archive Sidebar
     photo Grid View 2.png
    ——————

    #But the result still show in list view
     photo Grid View 3.png
    ———–

    I also tried to clear the cache but it still doesn’t work.

    Please guide me, Thank You

    #7232
    Support Team
    Keymaster

    Hello @wyes,

    When we checked the code locally, it is working fine i.e. display the trips in the grid mode by default.

    So please make sure have pasted the code in child theme functions.php properly.

    Since the code is working in our case we need to see your site URL to find out why exactly the code is not working in your case.

    Thank you.

    Best Regards!!

    #7233
    wyes
    Participant

    Hi Team Support,

    This is the URL
    List View

    Thank You

    #7234
    Support Team
    Keymaster

    Hello @wayes,

    When we inspected your site URL we found that the code is working fine in your case as well i.e. the code is displaying the trips in grid view in the trips archive page.

    Please refer to below given link of your site:
    https://w-yes.com/travel/itinerary/

    For your info, the code does not work for location, Trip type etc page other than Archive page and if you want the other page to list in grid view then you need to hire a developer as it requires higher code customization.

    To hire a developer please refer to below given link:

    http://wptravel.io/hire-wordpress-customizer/

    Thank you

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