Can a multi-day event be removed once it starts

WordPress Event Management, Calendars & Registration Forums General Question Can a multi-day event be removed once it starts

This topic contains 2 replies, has 2 voices, and was last updated by  Stephen Harris 11 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8692

    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
    #8693

    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
    #8696

    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
Viewing 3 posts - 1 through 3 (of 3 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.