[EventCalendar] Filtering Out Past Events

James Kirsop james.kirsop at gmail.com
Sun Oct 24 01:32:41 BST 2010

What would be the best way of having this always applied, while trying  
to keep the URL's pretty (ie. not having ec3_after=today in every  
URL). I'm trying to use ec3 to create an online directory of future  
events for an organisation - meaning that all posts will be events,  
and there will be no use in having past events displayed.

I'm thinking of something in .htaccess or setting a variable as  
'always on' in eventcalendar3.php or template-functions.php


On 15/09/2010, at 2:42 AM, Glenn Mattsson wrote:

> Geez, I can't believe it was that simple, after all the searching  
> and hand-wringing I've done over this.
>> query_posts('ec3_after=today'); // query all posts after today
> That works perfectly for me.
> I'm on WP 3.0.1 and my Event Calendar is 3.1.4.
> Thanks!
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://penguin.firetree.net/pipermail/eventcalendar/attachments/20101024/64b2f884/attachment.htm>

More information about the EventCalendar mailing list