Support » Plugin: The Events Calendar » Showing past events first

  • Resolved tooze


    Hi, I updated the Events Calendar plugin this morning from 4.8.2 to 4.9.0. I’m using the Enfold theme, which uses the Avia Layout Builder. When Events Calendar is installed it enables a page builder element called Upcoming Events that only works with this plugin.

    The plugin lists upcoming events in ascending order, and doesn’t show any past events. Since I updated, it is showing in ascending order but includes all past events first, from oldest events to future events.

    I rolled back to 4.8.2 and this fixed it. Is there a new setting in the plugin I must set to hide past events or is this a bug?


Viewing 4 replies - 16 through 19 (of 19 total)
  • Thank you all!

    ‘start_date’ => ‘today’ (less the comma) works perfectly for me.

    My original question was to find a fix for Enfold’s page builder element ‘Upcoming Events’. Thanks for everyone’s suggestions. I’ve just found this fix posted by Enfold to replace the events_upcoming.php. See: Enfold Forum. I can confirm this works. Hopefully a permanent fix will be released soon.

    These fixes work to bring back the correct order of the upcoming events however it is no longer displaying “current” events. For example, I want to display 5 upcoming events – INCLUDING multiday events that are currently happening (say an event that started April 20 and ends July 1). How do I get it to include these in the upcoming events?

    does anyone have a solution that i can put in my functions file to show only the upcoming events on the list view? i have tried the ones above but none work. right now it shows all the old to the new events. i want to only show the new events in order of upcoming first.

    I am running enfold and would like to have the most current theme and plugin if possible.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Showing past events first’ is closed to new replies.