[EventCalendar] date box on page ...?
Alex Tingle
alex at firetree.net
Fri Sep 1 15:16:38 UTC 2006
On Thu, 17 Aug 2006 20:00:37 +0200
"Dr. Peter Troxler" <peter.troxler at gmx.net> wrote:
> added in evencalendar.php
>
> > if(is_page())
> > return $posts;
>
> after line 44 to avoid date box being displayed on pages
That's a reasonable hack for you. The real trouble is that the conversion script sometime "converts" pages, and gives them a schedule. I've fixed that in the next version so people newly upgrading will not see the problem.
You can eliminate the erroneous scheduled with this (MySQL 5+) SQL command.
DELETE FROM wp_ec3_schedule WHERE post_id IN
(SELECT ID FROM wp_posts WHERE post_status='static');
-Alex
--
:: Let me solve your problems: http://www.firetree.net/consulting/
:: alex.tingle AT firetree.net +44-7901-552763
More information about the EventCalendar
mailing list