[EventCalendar] Listing events both on homepage and by event date

Jono Alderson jono.alderson at unidin.co.uk
Wed Jan 27 15:30:01 UTC 2010


I couldn't manage this for the life of me, hence my long-winded method to
extract the event date and add it to the post as a custom field, then do a
manual query. Bit of a pain, but it's the only way I've managed to do it :)

-----Original Message-----
From: eventcalendar-bounces at firetree.net
[mailto:eventcalendar-bounces at firetree.net] On Behalf Of Ken Gagne
Sent: 27 January 2010 15:22
To: eventcalendar at firetree.net
Subject: [EventCalendar] Listing events both on homepage and by event date

I'm using Event Calendar 3.2.beta2 with WordPress 2.9.1.

Readers of my blog complained that the events did not receive enough
publicity, so I changed the "Keep Events Separate" setting so that they'd be
included on the homepage and distributed via RSS on the date of their
publication.

The downside is that I no longer have a way to list the events in
chronological order by event date.  Viewing /category/events/ used to do so
before I changed the setting but no longer does, and URLs such as this don't
seem to work with the new setting:

http://blog.address/category/events/?ec3_listing=events

http://blog.address/category/events/?ec3_after=today&order=desc

In all cases I've tried, the result is a listing of events in reverse chron
order by post date, not event date.

Is it possible to have the "Events are Normal Posts" listing and still have
a page where the events are listed chronologically?  If so, how?  I've seen
some custom code on this mailing list, but I'm enough of a PHP noob to not
know exactly how and where to use it.

My apologies if this question has been asked before (I checked the last four
months of archives and couldn't find it), or if the answer would be obvious
if I had more experience or had RTFM more carefully.
_______________________________________________
Blog: http://wpcal.firetree.net/
EventCalendar at firetree.net mailing list
Unsubscribe: http://penguin.firetree.net/eventcalendar




More information about the EventCalendar mailing list