[EventCalendar] custom template

Janey_Chen at ontla.ola.org Janey_Chen at ontla.ola.org
Thu Feb 26 14:25:20 UTC 2009


Hi Damon,

Could you please give me more details about how to do this? What script should I look for? The template-functions.php under Eventcalendar directory? 

Thanks,

Janey

-----Original Message-----
From: eventcalendar-bounces at firetree.net [mailto:eventcalendar-bounces at firetree.net] On Behalf Of Damon Timm
Sent: February 26, 2009 8:49 AM
To: charlesanthony at ottawalivemusic.com; Support for EventCalendar plugin
Subject: Re: [EventCalendar] custom template

Without checking http://codex.wordpress.org I think that you can use a
template function that tests the category ... I believe it is
"in_category(X)" ... where X is the category number of your event
calendar ... then you can create and if/else statement where you
format the single entry one way for ec3 posts and another for
everything else.

That's one idea.

On Wed, Feb 25, 2009 at 9:44 PM, Charles Anthony
<charlesanthony at ottawalivemusic.com> wrote:
> I want to create a customize my single.php file for my posts so that I can
> take advantage of WP custom fields.  However, I want my customization to
> only involve EC3 events instead of all posts.
>
> How can I do that?
>
>
>
>
> Charles Anthony
> "Ottawa Live Music"
> the only interactive live music radio show
> http://www.ottawalivemusic.com
>
>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
>

_______________________________________________
Blog: http://wpcal.firetree.net/
EventCalendar at firetree.net mailing list
Unsubscribe: http://penguin.firetree.net/eventcalendar




More information about the EventCalendar mailing list