Events Made Easy Forums How do I … Pagination by month – but remove past dates

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #53405
    Anonymous
    Inactive

    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

    #53406
    Franky
    Keymaster

    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”

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top