Remove the date/ time stamp from posts
-
Is it possible to remove or hide the date and time stamp from posts?
-
-
OOPS! I forgot something important. Even if you hide the time and date on the posts you cannot change the permalink structure and the date is embedded in the permalinks for posts.
-
-
To hide the date and time stamp from posts on the Clean Home theme, try this:
.post-date { display: none; } -
Hi there,
I tried adding the following css:
.post-category {
display:none;
}.post-date {
display:none;
}…to the Twenty Eleven theme and previewed it, but nothing happened. (I didn’t purchase the css editing upgrade, because adding custom css didn’t seem to work.) My date/time and category are still there on my post. Any suggestions?
Here’s my site: http://dg2portfolio.wordpress.com/
Thanks! Help is appreciated! :)
-
CSS is theme specific so each them will almost always have different selectors. The theme author decides what to call thing and how to organize the CSS and the markup (XHTML). The following takes care of both on your theme.
.entry-meta { display: none; } -
That worked! Thank you so much @thesacredpath!!! I wouldn’t have been able to use WordPress for my porfolio site if I hadn’t been able to remove those two things. I really appreciate it- have a great day. :)
-
- The topic ‘Remove the date/ time stamp from posts’ is closed to new replies.