Since I’m the only one posting here, I added the following CSS:
.author-info, span.byline { display: none; }
You can compare how the author information (single post and byline) is displayed on the Twenty Fifteen demo.
If your blog is on WordPress.com, you’ll need Custom Design, which is a feature of the WordPress.com Premium and WordPress.com Business plans.
Hi Brian—you shouldn’t need any CSS at all to hide single author bylines in the last few default themes and many themes based on _s (Underscores).
They use a WordPress function called is_multi_author() to hide the byline of there are not more than 1 author on the blog.
LikeLike
On looking at Twenty Fifteen specifically—the template tag is hidden by default on single post view only (not on index).
LikeLike
Thanks Lance! I removed
span.byline
, but my name still appears on single post view. I’ll try a test blog soon.LikeLike
Perfect, works great, our of curiosity what was the “.byline” part do?
LikeLiked by 1 person
Awesome! It displays the name of the post author.
For your reference, in Google Chrome, I used Inspect Element to take this screenshot image.
LikeLike