Home › Forums › Event Espresso Premium › Get events ordered by event date ee4
Posted: April 9, 2018 at 2:24 pm
EE4 Everything License
April 9, 2018 at 2:24 pm
I switched from ee3 to ee4. I had a loop in ee3 to automatically add the events by event date in a newsletter:
‘meta_key’ => ‘event_end_date’,
‘order’ => ‘ASC’,
‘orderby’ => ‘event_end_date’,
But I’ve read around the forum that the event date is not stored as a meta key anymore, so I need to condition it another way.
I can’t just use the DTT_EVT_start filter because the newsletter plugin will order it by publish date of the event, not the actual date of the event.
I hope you guys can help me with this,
April 11, 2018 at 3:24 pm
This gist shows one example of how to get events ordered by event date (in EE4)
You must be logged in to reply to this support post. Sign In or Register for an Account
Updated by Josh 1 week, 1 day ago ago