[EventCalendar] How do I display a list of Past or Previous Events on the sidebar?

Joe Subs subs.scriber at gmail.com
Mon Sep 24 13:41:11 UTC 2007


thank you, Dr. for your prompt reply. i'm very grateful for your help

but what i want is to know how can I feature a list of "past events"  
on the sidebar.

with Upcoming Events, we can paste in the code: <?php ec3_get_events 
(5); ?> somewhere in the sidebar.php of the theme, and that will list  
5 upcoming events there.

but what is the code needed to show "past events",

and while we are at it,

can I also know what is the code to show "today's events"?

i'm doing a site for a community venue which hosts a lot of theatre  
shows, exhibitions and gigs. and it would be super if we can have  
that feature on the main page.

thanks again,

JK


On Sep 24, 2007, at 7:56 PM, Dr. Peter Troxler wrote:

> you can set a time window with ?ec3_before=today&ec3_after=20070801  
> and you'd then set the after date with some suitable calculation
>
> for todays events check http://wpcal.firetree.net/advanced-queries/
>
> / pt
>
> On 24-sep-2007, at 13:21, Joe Subs wrote:
>
>> How do I display a list of Past or Previous Events on the sidebar?
>>
>> Hello all, I need your kind help...
>>
>> I'm using: WP 2.2 / EC 3.1.0
>>
>>
>> I know that we can display past events by using this as a page link:
>>
>> 	http://domain.com./?ec3_before=today
>>
>> click on that an the whole page will feature a list of past events
>>
>>
>> but how do I display a list of past events on a sidebar?
>>
>> for a list of upcoming events, we can add this:
>>
>> 	<?php ec3_get_events(5); ?>
>>
>>
>> but what about past events?
>>
>> or today's event?
>>
>>
>> thanks in advance.
>>
>> cheers.
>>
>> jk
>> _______________________________________________
>> Blog: http://wpcal.firetree.net/
>> EventCalendar at firetree.net mailing list
>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>
> _______________________________________________
> 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/20070924/0257820f/attachment.htm


More information about the EventCalendar mailing list