Remove Date From Sticky Post?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Maccsta
Regular
Posts: 77
Joined: Mon Feb 19, 2007 6:07 am
Location: Leeds, England

Remove Date From Sticky Post?

Post by Maccsta »

Hi!

I am using the Extended body plugin on my blogs to show a sticky post. I'd like to remove the date for this one post.

What code would I need to add to the Customfields to allow this?

Thanks for any help :)
Check out this blog today!
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Remove Date From Sticky Post?

Post by yellowled »

Maccsta wrote:I am using the Extended body plugin on my blogs to show a sticky post. I'd like to remove the date for this one post.

What code would I need to add to the Customfields to allow this?
None. You can to that in your template's entries.tpl. Most templates usually do this. To be exact, they replace the date with a note "Sticky posts" for, well, sticky posts.

Basically, all you need to do is wrap the line of your entries.tpl which emits the date in

Code: Select all

{if not $dategroup.is_sticky}

{/if}
Which line that is depends on your template, of course. Unless you're using a custom template, you can just name your template if you need help. If you use a custom template, you'll probably know what to do. :)

YL
Post Reply