How to Display Post Author Link in Twenty Thirteen Theme

How can you display the post author link in the Twenty Thirteen WordPress theme?  I was surprised when we switched to the default Twenty Thirteen theme as there seemed to be no way to display post author information under post title.

As we are all aware, it is a good idea to display post author under posts to establish Google authorship and get better search engine rankings for your article, not to mention the higher click through rate with your photo besides your post links in Google search.

Hidden Post Author Link

I was not willing to believe the default Twenty Thirteen WordPress theme would simply leave out any option to display post authors. So instead of editing the core content files in the child theme to add a author link, I looked around for a  better way.

A close look at the default css file reveals that the author information is hidden by default.

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

I am not sure why they WordPress designers would want to hide author links. But it seems to happen for single author blogs only!

But it is easy to reverse as you can simply edit that line or add another line at the bottom of the CSS file.

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

Just do that and the author link will be shown which will link to all the archives of all the posts written by the author.

author link

Hope that helps.

Share with friends

12
Leave a Reply

avatar
10 Comment threads
2 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
11 Comment authors
AlvieMadhav TripathiMebel JeparabardDr Paresh Soni Recent comment authors
  Subscribe  
Notify of
Nancy Badillo
Nancy Badillo

Thanks for providing this great tips! I will be using this code for my theme press. Just what I was looking for!

Vishnu
Vishnu

Hi there,

Thanks for sharing such a simple but great article. Actually this is what I was searching for a couple of days. Today I got it with its maximum perfection. I loved your blog.
I will surely use this code on my blog.
Once again thanking you !

robby
robby

great !
it will relay help me

Sunday
Sunday

A very helpful post I must say. For many who have been finding it difficult to display the post author link, this piece reveals how simple it is to achieve that in the Twenty Thirteen WordPress Theme. I have learned from this post, and would be willing to apply it.

This comment was shared in kingged.com – the content syndication website for Internet marketers where I found this post.

Sunday – kingged.com contributor
http://kingged.com/how-to-display-post-author-link-in-twenty-thirteen-wordpress-theme/

Latz
Latz

The problem with this solution is that the css file will be overwritten if you install a twenty-thirteen update. The “official” way would be to create a child theme but IMHO this is overkill just to accomplish this small change.

A more future save solution would be to tell WordPress that the blog has multiple authors. In that case it displays the link to the author page. This can be done by creating a filter:

add_filter( ‘is_multi_author’, ‘__return_true’);

You can put this code into your wp-config.php almost at the end of the file before the ?> tag.

Dr Paresh Soni
Dr Paresh Soni

Implemented this on my website, thanks for it.
Can you make one more post on a topic to make a responsive header for twenty thirteen. (like your header, narrow and responsive)
Thanks for help.

bard
bard

i find quickonlinetips good site

i start to read all articles
thanks

Mebel Jepara
Mebel Jepara

I loved your blog.
I will surely use this code on my blog.

Madhav Tripathi
Madhav Tripathi

Thanks for the post, I don’t now how to ad adsense code in Twenty Fourteen below the byline and after related posts. When I try to to do it breaks.

Alvie
Alvie

Thanks for sharing valuable tips! post author is one of many ways to introduce ourself to readers and it’s good for engagement :)