I’ve just checked the website, and the first event showing is the 8th July 7pm (as expected if you don’t want to show past events).
There’s no sign of any aggressive caching though, do you have a plug-in installed (for caching)?
No, no caching plug-in, I suppose another plug-in could be causing the issue though so will check that.
If I click on a date within the calendar of events I will then see past events e.g. if I click on the 8 July I will see dates from 6 June etc.
Likewise on the homepage I see the 5 June as the latest event (in the upcoming events)?
As mentioned tried to change show past events to false and add events to start now but it hasn’t made a difference?
Caching won’t be an issue then. And there is definitely something wrong with http://bishopscastletownhall.co.uk/events/event/on/2014/07/08/.
A plug-in conflict is possible but very unlikely.
… think I’ve found the problem. When you create an event you set the start and end date. You can then repeat that event according to some (or no) set pattern. It’s important to note that the ‘end date’ you set originally means the end date of the first occurrence. The events are repeated, with the duration of each occurrence set by the initial start/end dates.
Seems like you may have set that to be the date of the last occurrence (or something similar). If in the admin calendar you are seeing a lot of very long events – that’ll be why.
This explains why the 5th June event appears on the 8th July page: these are events which run on the 8th July. If you’re event (occurrence) starts on the 5th July and ends sometime after 8th July – it’ll appear on that page because on he 8th July that occurrence is ‘running’.
Aha that has fixed it on the event archive pages although interestingly not change it from being the latest upcoming event on the homepage (I’ve gone in and updated the homepage just to see if that will clear the cache but it hasn’t).
Should it automatically update once you make a change to an event?
I’m using the shortcode:
[eo_events numberposts=1]%start{j F Y}%
%event_excerpt{13}%
read more[/eo_events]
I’m also wondering how best to add events that run across weeks rather than days but am sure that has been answered already so will do a search 🙂
I’ve gone in and double checked start and end dates but the shortcode for eo_events is still not showing the most recent event. Any ideas please?
Sorry Emma, I missed your reply, try
[eo_events event_start_after="now" numberposts=1]%start{j F Y}%
%event_excerpt{13}%
read more[/eo_events]
(Note the added event_start_after="now"
)
Worked a treat! Will need to add additional training notes for the team there to avoid this happening again!
Many thanks for your help 🙂