[EventCalendar] Getting excerpts with ec3_get_events
Sean Schumacher
angelpark at gmail.com
Mon Dec 24 06:50:58 UTC 2007
Hi, everyone.
I've been trying to get ec3_get_events to display the excerpts of
events along with other event parameters. I've tried adding
"post_excerpt" to the get_events select statement and defining the
excerpt with "$data['EXCERPT']" as both "get_the_excerpt($entry->id);"
and "get_the_excerpt($entry->id);".
Both have the same result, though: excerpts are returned, but not the
excerpts of the events in question. From what I've tested, the code
seems to pull excerpts from whatever post ID is nearby, rather than
the ones specified by ec3_get_events, to the point where you can
control what excerpt they all show by manually changing the post ID in
the address.
Is there something I've missed in getting ec3_get_events to show the
right excerpts? Is there a way to make sure that the post IDs are
kept straight for the excerpts? I've run out of ideas for how to
accomplish this.
Thanks,
Sean
More information about the EventCalendar
mailing list