[EventCalendar] Display date range?

Alex Tingle alex at firetree.net
Sun Nov 5 23:58:03 UTC 2006


Hi Steve,

On 5 Nov 2006, at 21:04, Steve Weintraub wrote:

> Hi - is there a way to display the event range in the sidebar  
> header? In other words, instead of the header reading "10  
> November:", it would read "10 November - 5 December:"

How would you define the 'end'? Would that be the end of the next  
event in the post, or the end of the last event in the post?

The ec3_get_events() function is too blunt a tool to make these  
distinctions. If you want to make your own version then go for it.  
You could copy the code from eventcalendar3/template-functions.php or  
you could set up your own query and WP-loop.

> Also, is there a way to remove the URI of the event title? That is,  
> I don't want to be able to click the event text.

Did you read the documentation??
   http://wpcal.firetree.net/template-functions/ec3_get_events/

-Alex




More information about the EventCalendar mailing list