[EventCalendar] Widget formatting?
etbain at yahoo.ca
Mon May 12 12:03:59 UTC 2008
In order to get php code to work in a text widget, you'll need to get
something like the Exec-PHP plugin (http://wordpress.org/extend/plugins/exec-php/
I'm not a calendar user but I assume that's the issue you're running
Hope that helps,
On 12-May-08, at 7:27 AM, Unwork Studio wrote:
> Firstly, great plugin - exactly what I was looking for.
> However, I'm struggling to make a small adjustment to the way the
> 'upcoming event' widget displays the events ...
> What I am trying to achieve is already documented on your site;
> Example 1. No special headers:
> <li>Events <?php
> '5', // limit
> '%DATE%: <a href="%LINK%">%TITLE%</a>', // template_event
> '' // template_day
> 2 January: First event.
> 5 January: Second event.
> I can achieve this by pasting the code directly into my
> dynamic_sidebar.php (I am using widgets) but cannot find where I can
> edit the actual widget to achieve the same effect? I've even tried
> pasting the code into a text widget but this does not seem to work
> (no php?).
> I'm not a coder so I have to fiddle around in a trial and error kind
> of way to see if things work or not but I'm struggling with
> something that seems so simple ... can anyone help?
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
More information about the EventCalendar