Support

Home Forums Community Forum To Filter past event only

To Filter past event only

Posted: April 3, 2014 at 5:03 am


Wayne

April 3, 2014 at 5:03 am

How to filter past event and displaying only 6 past event per page based on the event available using pagination(wp-plugin: pagenavi)?

Using arrays i am able to filter past events but this filter only takes from the first page only(per page), not using all the events that are available on next pages.
So i am not able to retrieve all past event but i do require pagenavi plugin for pagination.

  • This topic was modified 10 years ago by  Dean. Reason: not a translation query


Dean

April 3, 2014 at 5:40 am

Hi,

What version of Event Espresso are you using?

Are you just wanting to show expired events?


Wayne

April 3, 2014 at 5:52 am

Event Espresso Lite.
Yes i want to display past events on a custom page(such as event archive) using pagenavi plugin. This plugin allowing me to select only past event that are available in one page not on the other pages too after filtered out the upcoming events.


Dean

April 3, 2014 at 6:09 am

Hi,

Ok well the closest we can get to it using shortcodes would be

[EVENT_LIST show_expired=”true” events_per_page=5]

This will show all events including expired ones, and it will show 5 per page and add in a pagination system.

There is currently no way to exclude active events.

The support post ‘To Filter past event only’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso