Support

Home Forums Event Espresso Premium Admin view of Events set an initial filter

Admin view of Events set an initial filter

Posted: May 28, 2016 at 2:05 pm

Viewing 1 reply thread


Emily Ruff

May 28, 2016 at 2:05 pm

Is there a way to filter events upon loading the admin page (/wp-admin/admin.php?page=espresso_events). We have hundreds of classes and would like see Upcoming events when we initially go to the page. Yes it works to apply the Status filter, but the filter doesn’t “stick” next time.

I looked into the code Event_Admin_list_table.class.php, and it looks like we maybe able to modify this? (I’m aware it’s not recommended)
protected function _get_table_filters() {
return array(); //no filters with decaf
}

Thanks


Tony

  • Support Staff

May 31, 2016 at 5:20 am

Hi Emily,

Rather than editing core you could create a bookmark that listed the upcoming events and use that, would that work?

Something like this:

http://yourdomain.com/wp-admin/admin.php?s&action=-1&active_status=upcoming&month_range&EVT_CAT=-1&page=espresso_events&route=default&perpage=10&paged=1&action2=-1

Chang yourdomain.com to your site and check that it lists the opcoming events, then create a bookmark for that page and use that bookmark each time you want to view those events.

Viewing 1 reply thread

The support post ‘Admin view of Events set an initial filter’ 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