[EventCalendar] EC on static page interfering w/ other categories
Jeremy Carlson
info at jeremycarlson.com
Sat Jul 1 03:43:27 UTC 2006
Hi there,
First off, this is a fantastic plugin. Tying into iCal was particularly
impressive to me.
But of course, give a guy an inch...
Maybe I'm trying to do maybe too many things at once, but:
I have built a static page which is pulling in posts for the 'News'
category. 'Events' is a sub-category of 'News'. On this page, I want to
show the events list and calendar, plus recent news.
On the page, I'm pulling in:
1. an events list with ec3_get_events() - this works fine to show
future events only.
2. a calendar with ec3_get_calendar() - this works fine to show all
events.
3. Any content posted to the page itself, so I could have a little
blurb "here's the news, isn't it great". - this, too, works fine; it's
done w/ a fairly standard WP loop.
4. Then I'm using rewind_posts() and going through the loop again w/
query_posts('category_name=News&showposts=5'), and I get odd results.
* If EC3's options are set to 'Events are Normal Posts', I get Event
posts in the future & all posts in the past.
* If EC3's options are set to 'Keep Events Separate', I only get future
Event posts, and that's it.
But I WANT to get just all posts in the past, or even just non-event
posts in the past. Is that possible?
Thanks so much for any assistance,
Jeremy
More information about the EventCalendar
mailing list