[EventCalendar] ordering archive by post date

Boris Rorsvort boris.rorsvort at gmail.com
Sun Jan 3 00:51:01 UTC 2010

someone gave me this snippet to order archives by event date but somehow its broke. May be with the new wordpress 2.9 version.
Right now its broken and ordering events by post dates.


any idea how to fix this?

function custom_rewrite_rules($rules) { 

$custom_rules = array();

$custom_rules['([0-9]+)/?$'] =

$custom_rules['([0-9]+)/([0-9]+)?$'] =

$custom_rules['([0-9]+)/([0-9]+)/([0-9]+)?$'] =

return $custom_rules + $rules;


thanks in advance

Boris Rorsvort
Web Design & Development
boris.rorsvort at gmail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20100103/6ec115e3/attachment-0001.html

More information about the EventCalendar mailing list