June 18, 2018 at 8:25 am #7144
Hi Team Support,
#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?
Thank YouJune 19, 2018 at 6:35 am #7156
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.
After creating the child theme, add below given code in your child theme functions.php file.
Also, to make the page full width please make sure the WP Travel: Archive Sidebar is empty by going to Admin Panel > Appearance > Widget.
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.
Hope this helps.
Have a good day 🙂 .June 24, 2018 at 2:10 am #7231
Hi Team Support,
Thanks for answering my question. I followed all your instruction.
I also tried to clear the cache but it still doesn’t work.
Please guide me, Thank YouJune 25, 2018 at 6:02 am #7232
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.
Best Regards!!June 25, 2018 at 6:39 am #7233June 25, 2018 at 7:50 am #7234
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:
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:
- The forum ‘WP Travel’ is closed to new topics and replies.