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


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.

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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  echobrin 3 months, 1 week ago ago

Topic Tags

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!