Support

Home Forums Event Espresso Premium table view: weekly class still appears in list after first week has passed

table view: weekly class still appears in list after first week has passed

Posted: May 13, 2019 at 1:04 pm

Viewing 2 reply threads


echobrin

May 13, 2019 at 1:04 pm

I set up a 6 week class with 6 datetimes. A person has to sign up for the entire 6 weeks, not individual weeks. After the first weekly class has passed, the class shows up on the list with the 2nd datetime (for example, the course started on May 13, and now the event is listed on May 20). There is also still a register link in table view even though registration ended prior to the first weekly class.

Should I just use a single datetime for these classes and put the weekly dates in the description instead, or is there a way to not show the event in the list after the first weekly class has passed?


Josh

  • Support Staff

May 13, 2019 at 2:01 pm

Hi,

You can add the following code to your site and it will remove any events from the table where registration has ended:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/templates/de_ee_filter_events_out_with_expired_tickets.php

You can add the above to a functions plugin or, if available, into your WordPress child theme’s functions.php file.


echobrin

May 14, 2019 at 8:49 am

This will work for us, thank you.

Viewing 2 reply threads

The support post ‘table view: weekly class still appears in list after first week has passed’ 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