- This topic has 6 replies, 3 voices, and was last updated 4 years, 2 months ago by
WP Travel Admin.
- AuthorPosts
- March 11, 2019 at 9:38 am #11930
elwalker
ParticipantHow do we get the excerpts to appear on the itinerary grid – the boxes which are placed on the destination pages?
I’ve added the overview and excerpt in the trips, but neither of these show as intro text in the grid. Please see: http://www.familysurfco.com/new/cornwall/
How can I turn these on or add them?
March 11, 2019 at 12:01 pm #11932WP Travel Admin
KeymasterHello @elwalker,
First of all thank you very much for using the plugin,
You can definitely display the excerpt in the pages but you need to go through the child theme.
After creating and activating the child theme create the folder “wp-travel”. Inside the folder “wp-travel” create the folder “shortcode”. Inside the shortcode folder create the file “itinerary-item.php” and add below given code.
Hope this helps.
If you have any issues further please let us know.
Thank you.
Best Regards!!
March 14, 2019 at 12:51 pm #12124elwalker
ParticipantThanks for your help
March 14, 2019 at 1:43 pm #12126elwalker
ParticipantHow can I add the Facts section to this box? What bit of code pulls in this section?
I want to get the icons etc to appear in the preview box on the grid page.
I have started creating the facts section on this itinerary: http://www.familysurfco.com/new/itinerary/memmo-baleeira/
I just need to share these ‘facts’ on the destination page too: http://www.familysurfco.com/new/portugal/
Thanks,
March 15, 2019 at 4:56 am #12149Support Team
KeymasterHello @elwalker,
Glad we could help you.
Regarding your query, currently, there is no feature to display the icon in the archive page and as much as we would love to help you with this we are unable do so as it requires higher code customization.
So if you want then you can hire our professional developer so that you get what you exactly want.
To hire a developer please refer to the below given link:
http://wptravel.io/hire-our-customizer/
Thank you.
March 15, 2019 at 11:52 am #12193elwalker
ParticipantThanks for your help. I’m comfortable editing the files. I can see where I can insert something within itinerary-item.php
However, I just can’t find where to pick up the code for the Trip Facts/Tour Info
Can you just tell me which file the facts section is included in?
March 15, 2019 at 12:25 pm #12199WP Travel Admin
KeymasterHello @elwalker,
The hook “add_action( ‘wp_travel_after_single_itinerary_header’, ‘wp_travel_frontend_trip_facts’ );” for the trips facts is inside the template-functions.php which is inside the folder “inc”.
Thank you.
- AuthorPosts
- The forum ‘WP Travel’ is closed to new topics and replies.