How do I remove the date from my blog posts?
-
I’m using the Twenty Ten theme and would like to remove the date from my blog posts, but haven’t been able to figure out how to do that. I’m not a big techie and haven’t done any work with CSS. Help!
Thanks.
Blog url: http://thebrightersideoflifeca.wordpress.comThe blog I need help with is: (visible only to logged in users)
-
You can indeed use the Custom Design Upgrade to hide the date from your blog posts.
To get started, go to Appearance > Custom Design in your dashboard, and add the following to your Custom stylesheet:
.meta-prep-author, .entry-date {
display:none;
}If you’d like the date to appear on the home page, but not within the post, add the following code instead:
.single .meta-prep-author, .single .entry-date {
display:none;
}Let me know if that helps!
-
Hi,
Thanks so much for the info, though for some reason it doesn’t seem to work. I haven’t done anything with CSS before, so what I did here was delete the “Welcome” CSS text, pasted the code (the 2nd set) into the CSS stylesheet and did preview, but there was no change – the date still appear on all the posts.
Do you suggest I go through the CSS tutorial before I go any further?
-
If you paste the 2nd code snippet, the dates will only be hidden when viewing single posts.
If you want the dates to be hidden everywhere on the blog, I would recommend that you use the first code snippet instead.
Let me know if it still doesn’t work for you.
-
- The topic ‘How do I remove the date from my blog posts?’ is closed to new replies.