I’ve tried reverting to a built-in theme and the problem persists. We are using a custom template file and the ‘false’ value for show_expired is coming through fine there, and getting sent to get_datetimes_for_event_ordered_by_start_time.
If you are using a custom template I’m assuming you copied the template to your theme’s root directory? If so you can rename that template (add -temp on the end) so that EE loads the default.
If you using the template_file attribute instead, just try using [ESPRESSO_EVENTS_TABLE_TEMPLATE show_expired=false]
– Using default template – same thing happens
– The custom template is in uploads/espresso/templates folder, I did change that template file to -temp though and now the page is blank – nothing shows up.
– Removing the template_file attribute from the shortcode and I still see the same problem, though.
What may be happening is a string ("false") is getting passed in for false(which should be a boolean). You should be able to avoid this by either removing the show_expired parameter from the shortcode
(i.e. [ESPRESSO_EVENTS_TABLE_TEMPLATE])
The support post ‘ESPRESSO_EVENTS_TABLE_TEMPLATE Ignores show_expired’ 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.