Avada Forums Community Forum Events Calendar (Cannot Add Related Events)

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Jetxpert-Envato
    Blocked
    Post count: 339

    Hi there,

    We’d love to display up to three (3) “related events” under each single calendar event. Unfortunately, there’s no way to do that manually since Avada has adopted Modern Tribe’s “The Event Calendar” and “Event Calendar Pro” plugins’ platforms.

    Feedback received from Modern Tribe suggests it can be done provided the related-events.php file is modified. Since we’re not coders nor programmers, thought it would be useful to post our request in this forum for public assistance.

    Has anyone here been successful in adding “related events” to their single events via php file customization? If so, can you share the procedure or fix?

    Thanks!
    ____________________________________

    Here’s what Modern Tribe shared with us via their ticketing system:

    That is one great question!

    There is no built-in one-click option to change the related events, but it should be possible with a template override.

    More about template overrides in our Themer’s Guide – https://theeventscalendar.com/knowledgebase/themers-guide/

    Related events are printed out in this file:
    wp-content/plugins/events-calendar-pro/src/views/pro/related-events.php

    with the help of ‘tribe_get_related_posts’
    https://theeventscalendar.com/function/tribe_get_related_posts/

    That method is called in another file and has a hook you can tap into:
    wp-content/plugins/events-calendar-pro/src/functions/template-tags/general.php:631
    or there’s another one in the same file on line 639.

    Does that help you get started?

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.