Help Desk

Limit amount of related events shown

  • Posts: 16 Topics: 6
    | Permalink

    Hi there

    We currently have an issue with the plugin showing too many related events on the single event page. Is it possible to limit the amount of events shown to max 3 related events? We assume it shows the events within the same category. Thanks for pointing us into the right direction.

    Best regards,
    Fabrizio

    Posts: 11242
    | Permalink

    Hi, Fabrizio.

    tribe_get_related_posts() in /wp-content/plugins/events-calendar-pro/src/functions/template-tags/general.php has a default of 3 events.

    Therefore, if you’re seeing more than 3 events, you’ll need to troubleshoot your active plugins, theme, and any customizations you may have in place.

    Please let me know how this goes for you.

    Posts: 16 Topics: 6
    | Permalink

    Hi Cliff

    This is very helpful, thank you. We will have to see with our theme support in this case.

    Best regards,
    Carlo and Fabrizio

    Posts: 11242
    | Permalink

    Thanks for the update. Have a great week.

    | Permalink