Bug with venue upcoming events
Take a look at http://saintpierre.delareunion.net/lieu/front-de-mer-de-saint-pierre/
It’s a venue page. But it should list upcoming events and not past events.
Is this a known bug ?
Hey Paul. Jonah is looking at this one over the coming week; the forums here are slowing down a bit this week (and will be even slower next week) on account of the holidays, so we’re not getting responses out as quickly as normal. But this should be addressed before the end of the week.Correct Answer
Hi all, fortunately this is a pretty simple fix. Just copy single-venue.php from plugins/events-calendar-pro/views/single-venue.php to an ‘events’ folder within your theme (create it if it doesn’t exist. Then find this line (should be on line 45):
$venueEvents = tribe_get_events(array('venue'=>get_the_ID()));
And change to:
$venueEvents = tribe_get_events(array('venue'=>get_the_ID(), 'eventDisplay'=>'upcoming'));