Tagged: single tour layout
November 14, 2019 at 8:29 am #757830
how do I change these stuff,,
for example group size is not useful for the website I’m creating, neither the languages nor tour type, yet its very important to type there the pick up time, the departure location and pick up time.. how do I do that?November 14, 2019 at 8:55 am #757860November 14, 2019 at 4:26 pm #758910
You can edit 3 files in this folder: traveler\st_templates\layouts\modern\tour\single for 3 tour layouts to custom the tour info section.
ThanksNovember 14, 2019 at 7:10 pm #759060
Thank you Bryan,
I wanted to ask if it is possible to enter the pick up time for the trip, and available days “ex. Monday and Wednesday”… and if its possible what should be the name of it to refer to it in those files I need to edit
so for example if I changed tour type which is “get_post_meta(get_the_ID(), ‘type_tour’, true);” what is the post_meta for pick up time and available days..
Thank youNovember 15, 2019 at 10:26 am #759820
I am afraid that you have to custom code to change the tour layout.
In this case, you need custom code that not belong to our support policy. Please ask for custom form other 3rd party do to this for you.
ThanksNovember 18, 2019 at 5:14 am #762150
I just wanted to post the solution since I already made it so if anybody else need it you can do it..
first of all, you can use attributes under theme settings..
then add an Attribute for whatever you want as it says here “https://shinehelp.shinetheme.com/forums/topic/tour-languages/”
then just go to the tour styles file here “traveler\st_templates\layouts\modern\tour\single” and edit the styles by simply searching for “Duration” and then edit it to the name you want, and under it edit the attribute name which is “$duration = get_post_meta( get_the_ID(), ‘duration_day’, true );” in this case its “duration_day” change it to whatever the attribute you added previously through the admin panel ‘make sure to its same spelling as your attribute slug’
then upload the edited file and refresh and there you have it..November 18, 2019 at 4:21 pm #763530
Thank for your information.
It might help other customer a lot who want to make a custom for tour info.
Best regardsDecember 14, 2019 at 8:18 am #801920
I am trying to do the same.
Can you tell me if you used a child theme?
Otherwise if they release an update doesn’t it delete/ reset any changes you made?
ThanksDecember 16, 2019 at 11:02 am #803290
We are recommend using CHild theme to keep the changes safe when update theme.
The forum ‘Traveler’ is closed to new topics and replies.