Related events have no relationship what so ever

Home Forums Calendar Products Events Calendar PRO Related events have no relationship what so ever

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1437623
    suebaron
    Participant

    I 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.

    #1439313
    Brendan
    Keymaster

    Hi 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_posts

    These 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:

    1
    events-calendar-pro/src/functions/template-tags/general.php

    The function to look for is called tribe_get_related_posts().

    I hope this information helps. Best of luck with your customizing!

    Thanks,
    Brendan

    #1439517
    suebaron
    Participant

    Thank you Brendan thats all been most helpful and will now press ahead. Your time is much appreciated. kind regards Sue

    #1442118
    Brendan
    Keymaster

    Anytime Sue!

    Let us know if that works for you.

    Thanks,
    Brendan

    #1462109
    Support Droid
    Keymaster

    Hey 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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Related events have no relationship what so ever’ is closed to new replies.