Showing author name in wordpress post

The default theme for wordpress “TwentyEleven” (along with some other themes like “Bridge” from Blank Themes) does not show the author name in the blog post by default. This is because, these themes are primarily designed for single author blogs.

To show the author name in the posts, edit the style sheet file (style.css) and replace the following code:

.single-author .entry-meta .by-author {
	display: none;
}

with the following code:

.single-author .entry-meta .by-author {
	display: inline;
}

Leave a comment