Home › Forums › Calendar Products › Events Calendar PRO › Related events have no relationship what so ever
- This topic has 5 replies, 2 voices, and was last updated 8 years, 2 months ago by
suebaron.
-
AuthorPosts
-
January 26, 2018 at 3:27 pm #1437623
suebaron
ParticipantI have noticed throughout my calendar that when I go to the detail of an event and the page shows me related events they actually have no relationship what so ever. i have checked dates, venues, venue organisers, the orer in which I loaded stuff and their appears to be no logic what so ever to what the detail of the event brings up as related. Can someone help me understand what the plug in is doing. Each page shows three related events – but I can assure you the relationships dont exist.
January 29, 2018 at 2:51 pm #1439313Brendan
KeymasterHi Sue,
I’m sorry to hear that your “related events” results are sub-par. Tags and categories are weighed equally by the function that loads related events, but if you would like to change the function at all, you can indeed do this.
Modifying the function OR adding location-based relationships are both, unfortunately, code customizations. I say “unfortunately” because we cannot help with code customizations. Check out “product support” on this page for more information about that → http://theeventscalendar.com/terms
That being said, there are two filters you can use:
• tribe_related_posts_args
• tribe_get_related_postsThese are quite powerful on their own and I hope you find them useful. To learn more about these filters, and about the function that gets related posts in general, then head to this file in your plugin files for Events Calendar Pro:
1events-calendar-pro/src/functions/template-tags/general.phpThe function to look for is called tribe_get_related_posts().
I hope this information helps. Best of luck with your customizing!
Thanks,
BrendanJanuary 30, 2018 at 1:57 am #1439517suebaron
ParticipantThank you Brendan thats all been most helpful and will now press ahead. Your time is much appreciated. kind regards Sue
February 1, 2018 at 3:25 pm #1442118Brendan
KeymasterAnytime Sue!
Let us know if that works for you.
Thanks,
BrendanFebruary 23, 2018 at 8:35 am #1462109Support 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 ‘Related events have no relationship what so ever’ is closed to new replies.
