• Resolved Jose

    (@yeahthatguyjose)


    I modified the shortcode as follows:

    [eo_events numberposts=3]
    				<div class="date">%start{M jS}%</div>
    				<div class="event">
    				<a class="title" href="%event_url%">%event_title%</a> <br />
    				 %event_excerpt%<br />
    				<a class="btn sm" href="%event_url%">Learn More</a>
    				</div><div class="cf clear"></div>
    				[/eo_events]

    What I’m asking for, maybe it had been asked and solved already but is there a possibility I can get an event to be removed once the event has occurred. I notice I have to do it manually but was wondering if it can do so automatically.

    Thanks.

    http://wordpress.org/extend/plugins/event-organiser/

Viewing 2 replies - 1 through 2 (of 2 total)
  • So I think you’re asking if you can exclude an event from the list once its occurred? Yes you can:

    [eo_events numberposts=3 event_end_after='today']

    Will list events which end after (or on) today. Alternatively you can use:

    [eo_events numberposts=3 showpastevents=false]

    You could also be asking if its possible to automatically delete an event after its finished – and again, yes you can. In the plug-in settings there is the option to run a (WP) cron job which will automatically trash events around 24 hours after they have finished (for recurring events, this is 24 hours after the last occurrence has finished).

    Thread Starter Jose

    (@yeahthatguyjose)

    Sorry for getting back late. But it worked

    [eo_events numberposts=3 showpastevents=false]

    Thank you so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Possible to have event removed once the event has occured?’ is closed to new replies.