- This topic has 1 reply, 2 voices, and was last updated 9 years, 10 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Pagination by month – but remove past dates
Hi Franky
I’m wondering if there’s a way of using the month pagination in the events shortcode: [eme_events paging=1, limit=0 scope=this_month], but allow any events that have passed to be removed?
As it stands, I have the events list working well, but it is still showing all past events for this month, rather than just the few events remaining. I know ordinarily you would use “scope=future” or even “scope=today-this_month” but doing so removes the month pagination. Is there a way around this?
Cheers
Jamie
The EME setting “Hide past events?” should help you here, but only in the calendar. So: you could use the calendar in this case 🙂
For now, I think you can play with the filter eme_event_list_filter and remove those events from the array $events that are “old”