[EventCalendar] showing post excerpt or content in ec3_get_events()

Charles Mangin option8 at option8.com
Sat Oct 27 01:37:35 UTC 2007


i've been impressed with the event calendar plugin and its simple  
approach to something that can get overly complicated in other  
calendar schemes.

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





More information about the EventCalendar mailing list