On my website http://esci.edu.in the table view addon or EE4 shows events even after they have ended.
Here is the shortcode i use [ESPRESSO_EVENTS_TABLE_TEMPLATE limit="10" show_expired="FALSE" template_file="../../../themes/esci-child/espresso/templates/espresso-events-table.php" order_by="start_date" table_striping="false" table_paging="false"]
I have set show_expired=”FALSE” but still it shows the expired events. You can check that here http://esci.edu.in
In the Upcoming Trainings section the table shows events which expired 3 days back. I have even emptied my cache but it doesn’t work.
Am I doing something wrong? or is this a bug with the table view addon?
I just wanted to confirm the expected events were removed.
What’s happening is show_expired is being set to the string “FALSE”.
if(“FALSE”) {} will actually return as TRUE, as almost any string will do.
show_expired=0 should also work correctly, however we have a fix for this included within the next updates to the Template Add-ons.
Viewing 3 reply threads
The support post ‘Table View Addon shows expired 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.