Home › Forums › Calendar Products › Events Calendar PRO › How to configure related events?
- This topic has 5 replies, 2 voices, and was last updated 8 years, 2 months ago by
wmswebteam.
-
AuthorPosts
-
January 18, 2018 at 9:28 am #1429606
wmswebteam
ParticipantOn the front-end single event post I see a section called Related Events with two events listed. I have searched for and can’t find any documentation for how to configure them. Would you please point me in the right direction?
January 19, 2018 at 7:53 am #1430574Patricia
MemberHi there,
Thank you for reaching out to us!
By default, the Related Events section will display up to three related events based on the category of the current event.
You can use a filter like tribe_related_posts_args to modify the default function located in events-calendar-pro/src/functions/template-tags/general.php line 695.
I hope this helps! If you have any other questions at all please feel free to let me know and I’d be happy to help as best I can!
Cheers,
Patricia
January 19, 2018 at 7:57 am #1430579wmswebteam
ParticipantThanks Patricia, that’s helpful info. I do have another question. Is there
a way to hook into Additional Fields to extend the functionality, for
instance to add a file upload field?Rus
January 22, 2018 at 11:49 am #1432701Patricia
MemberHi there,
You are welcome! Answering your question: you will find the hooks that we use to implement Additional Fields in: events-calendar-pro/src/Tribe/Custom_Meta.php
You can check this file and use it as a starting point to create your own custom fields. You can also override the Single Event Meta (additional fields) template by copying the content from events-calendar-pro/views/pro/modules/meta/additional-fields.php, pasting it to [your-theme]/tribe-events/pro/modules/meta/additional-fields.php and modifying as necessary. You will find more info about Template Overrides in our Themer’s Guide.
I hope this helps! Let me know if you have any other questions and I’ll be happy to assist!
Best Regards,
Patricia
February 13, 2018 at 8:37 am #1451817Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘How to configure related events?’ is closed to new replies.
