[EventCalendar] Event list in a static page?
Bob Dobbs
dobbsster at gmail.com
Thu May 24 22:27:38 UTC 2007
You have to put the code in an individual page template or get a plug-
in that allows you to execute php within a post.
On May 24, 2007, at 18:21 PM, Marc Smith wrote:
> I have been trying for some time to place an event list into an
> "Events" static page in WordPress
>
> I paste the following code into a page in Wordpress:
>
> <?php
> ec3_get_events(
>
> '2',
> // limit
> '%DATE%: <a href="%LINK%">%TITLE%</a>', // template_event
>
> ''
> // template_day
> );
> ?>
> and then save the page.
>
> When I go to look at the code, since the page is failing, the code
> now looks like this:
>
> <!--p<-->ec3_get_events(
> '2', // limit
> '%DATE%: <a href="%LINK%">%TITLE%</a>', // template_event
> '' // template_day
> );
> ?>
> Frustrating as heck.
>
> The only question I have is, can a list of events be generated in a
> "page" you create in WordPress, not just the sidebar?
>
> Regards,
>
> Marc
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20070524/f67ad72e/attachment.html
More information about the EventCalendar
mailing list