Removing date/comments from just one post
-
Hi,
I’m using a plugin (WP Featured Content Slider) as a sticky post at the top of my page.
It works fine, except that, as a post, it shows the original date of posting (12 April 2011). This kind of gives the impression that it’s “old news”, even though it isn’t, so I’d like to remove the date from this one post, while keeping it on all subsequent posts. I’d also like to remove the option to Comment on this particular post.I’ve had a search around the forum for similar problems, and I tried adding this code to the end of my single.php file, which I got from another thread:
#post-929 .entry-meta .meta-prep, #post-929 .entry-meta a{ display: none; } #post-929 .entry-meta span.vcard a, #post-929 .entry-meta span.comments-link a{ display: none; }
However, this hasn’t worked. Did it I put it in the wrong place/file?
Any help appreciated…
Many thanks.
- The topic ‘Removing date/comments from just one post’ is closed to new replies.