[EventCalendar] How do I remove the post date from events?

Jon Bradley jon at ninefootone.co.uk
Wed Jun 6 10:19:35 UTC 2007


Cheers for that. I'm afraid my PHP skills are a bit lacking. This is  
the line where my post-date are added...

<div class="post-date"><span class="post-month"><?php the_time('M') ? 
 ></span> <span class="post-day"><?php the_time('d') ?></span></div>

And I want to remove it when it's the 'Dates' category.

Any chance you could tell me what code I should use?

Cheers,

Jon

------------------------------------------------------------------------ 
-----

Original Message:

Hi

I guess that the date in the top left corner is created with
"the_date" - the creation date of the post?

You could avoid this in a IF tag like:

if !is_category("whatever cat is your date-cat") { here's where the
"the_date" tag is put in }
else { --- do nothing--- }

But of course you then will be breaking some of the fundamentals of
you nice layout....

best regards
Johan



w. http://www.ninefootone.co.uk
e. jon at ninefootone.co.uk
t. 0114 232 2302
m. 07870 687 844


-------------- next part --------------
Skipped content of type multipart/related


More information about the EventCalendar mailing list