sacredpath
(@sacredpath)
Automattic Happiness Engineer
To remove the metadata from posts and from comments, add the following custom CSS.
.hentry .entry-meta {
display: none;
}
.comment-metadata {
display: none;
}
Thread Starter
dhatul
(@dhatul)
This would remove author as well from the post. I want to retain the author and number of comments but remove date and categories meta.
sacredpath
(@sacredpath)
Automattic Happiness Engineer
To hide only the author and comments link from the main and single post pages, add the following.
footer .entry-meta, .entry-meta .byline, .entry-meta .comments-link {
display: none;
}
Thread Starter
dhatul
(@dhatul)
I want to remove date and categories.
sacredpath
(@sacredpath)
Automattic Happiness Engineer
Hi, and sorry for my confusion. This will hide the date, but on the Libretto demo site I am not finding any categories showing on posts.
/*hide date on posts*/
.entry-meta .posted-on {
display: none;
}
I did find tags showing on a post on the demo site, and if you wish to hide them, this would be the CSS.
/*hide tags on posts*/
.entry-meta .tags-links {
display: none;
}
This will hide the categories on posts.
/*hide categories on posts*/
.entry-meta .cat-links {
display: none;
}
And this will hide the comments link.
/*hide comments link on posts*/
.entry-meta .comments-link {
display: none;
}