Hi,
I’m using this plugin on a site that host multi-day yoga events. On the homepage I’ve got a box that displays Next Event and Upcoming Events.
I’d like the Next event to be replaced once it becomes current. Basically, once it starts on day one, the next event will take it’s place. Is there a way to do this, or do I have to wait until the event is over?
Here’s the site:
http://bit.ly/JHSsOl
Thanks!

Alicia St Rose
There seems to be a bug in the forum. I keep trying to add my code and when I do, the SUBMIT button disappears. I’m using the bracket icon and the code tag and both cause the same problem. I’m on Mac OS 10.6.8 and Chrome Version 31.0.1650.63.
Thanks!
-
This reply was modified 11 years, 2 months ago by
Alicia St Rose.

Alicia St Rose
Hi Alicia,
I think if the code is very wide the submit button is pushed out of the container. It’s a bug with WP-Markdown (of which I’m the author) and has been fixed in a recent update, but I’m yet to update the plug-on this site. Hopefully that issue will be resolved soon.
Regarding changing the event when it has started. I’m not sure how you’re donig it at the moment, but you can query the next event (to start) with the following (you can do something similar with the shortcodes):
$events = eo_get_events( array(
'event_start_after' => 'now',
'numberposts' => 1,
) );
if( $events ){
$next_event = $events[0];
}

Stephen Harris