[EventCalendar] showing post excerpt in ec3_get_events()
Alex Tingle
alex at firetree.net
Tue Oct 30 23:43:58 UTC 2007
Use a custom query (WP's query_posts() function), with its own loop.
There's an example on the web-site. I posted a fully worked example
to the list only a couple of weeks ago.
-Alex
--
On 30 Oct 2007, at 14:30, Charles Mangin wrote:
> is there a way to do this?
>
> one thing i would really like to be able to do (or, if it's
> possible, be shown how to do) is include the content of an event
> post in the events listing. something along the lines of:
>
>
> <?php
> ec3_get_events(
> '', // limit
> '%DATE%: %TITLE%: %EXCERPT%', // template_event
> '', // template_day
> 'd M', // date_format
> '<strong>%MONTH%</strong>' //
> template_month
> );
> ?>
>
>
> that would result (ideally) in something like:
>
> # December 2007
> * 31 Dec: Event Name: Event Excerpt
> . . .
>
>
> can this be achieved with the plugin as-is, or maybe with a little
> hacking of the template-functions.php?
>
>
> charles mangin | Alpha Geek and Chief Mental Hygienist
> option8 at option8.com
> http://mentalhygiene.com
>
>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
More information about the EventCalendar
mailing list