Support

Home Forums Event Espresso Premium dashboard event lisiting page

dashboard event lisiting page

Posted: January 9, 2020 at 12:03 pm


Graham Jeffery

January 9, 2020 at 12:03 pm

I recently upgraded from EE3 to EE4. In EE3 the dashboard event listing page only showed upcoming events as the default. In my install of EE4 all events are showing up including expired and those years past their date. How can I only see the upcoming dates as a default and not every event ever listed in a random order without having to use filters.


Tony

  • Support Staff

January 10, 2020 at 4:13 am

Hi there,

Josh previously created a snippet to set the upcoming filter by default here:

https://eventespresso.com/topic/changing-default-filter-and-sort-for-admin-event-view/#post-260973

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


Graham Jeffery

January 10, 2020 at 3:51 pm

Can I not just add the snippet to my child theme functions.php?


Josh

  • Support Staff

January 10, 2020 at 4:01 pm

That might work. Please note that if you change your theme you’ll lose that function. Also, we’ve found that theme files load later in the request after plugin files load. So if you add a PHP code snippet to a child theme’s functions.php file and it doesn’t do anything, it may because the code loaded too late in the request.


Graham Jeffery

January 11, 2020 at 12:17 pm

Thank you, It does seem to be working in my child functions.php. If that changes I’ll try the custom plugin method. thanks for the options and thanks for the support.

The support post ‘dashboard event lisiting page’ 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