Can you help me understand why EE4’s Table View add-on shows past/archived events – when the event has MULTIPLE dates?
I have an event with two dates, one in August, and one in October. However, the Table View still shows the August events that have been archived (automatically).
The table template displays the event’s primary datetime. You can make it display the next upcoming datetime instead of the primary datetime by adding a template tag function.
You can add the function to the table template file, your theme’s functions.php file, or (recommended) into a custom snippets plugin. Basically what this function does is return the next upcoming date for the event.
Then you open up the espresso-events-table-template.template.php file and look for this line of code around line 98 or so:
The support post ‘EE4 Table View add-on showing archived events’ 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.