Expired events not being removed from eventDisplay
-
I can’t figure out why the events I have listed in a side menu continue to show past/expired events. I was hoping that when an event passed the PHP would get the next event and not continue to display events that have already ended.
Here is the PHP I am using to call events:
<?php
global $post;
$all_events = tribe_get_events(array(
‘eventDisplay’=>’all’,
‘posts_per_page’=>3
));foreach($all_events as $post) {
setup_postdata($post);
?>https://www.ads-software.com/extend/plugins/the-events-calendar/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Expired events not being removed from eventDisplay’ is closed to new replies.