How to Display Post Author Link in Twenty Thirteen Theme

By 01-12-2013   BloggingWordPress
Tweet Share Email Share  

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.

Advertisements

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.

12 comments on “How to Display Post Author Link in Twenty Thirteen Theme

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

  2. Vishnu says:

    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 !

  3. robby says:

    great !
    it will relay help me

  4. Sunday says:

    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/

  5. Latz says:

    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.

    • P. Chandra says:

      Thanks Latz for the tip. IMO we should always use a child theme and then we can upgrade themes easily. Its surprising how frequently several popular themes update!

  6. 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.

  7. bard says:

    i find quickonlinetips good site

    i start to read all articles
    thanks

  8. Mebel Jepara says:

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

  9. 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.

  10. Alvie says:

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

Leave a Reply

Your email address will not be published. Required fields are marked *

css.php