Sorry to bump, but I really need to fix this widget tonight if possible.
Am I understanding the widget correctly? When the date/time of the event passes, it should no longer be shown?
If that is correct, it isn’t working as I have an event that passed at 8pm last night, but it still shows in the widget.
Can you help please?
Thank you
Hey,
It currently shows events starting from exactly 24 hours before the current time.
As a quick fix you can remove the “- (60 * 60 * 24)” part from
'value' => date('Y-m-d H:i:s', time() - (60 * 60 * 24)),
in widget-upcoming-events.php
I’ll look into adding an option to change the offset in the next version.
Brilliant! I really appreciate your help on this! Thank You! 🙂
Because I was using the plugin for our training sessions, I didn’t want the old session to be showing once it had passed. People kept saying its still showing the old training session.
Thank you again.
Hi Atte,
I just wanted to thank you for the new implementations in this wonderful plugin. They make things so much easier 🙂 Thank you!
Karl