How to Add Author Bio in Blog Posts – WordPress

Adding Author Bio or Author info. to a post always is a plus point in the multi-author and single author blogs. Showing this kind of detail at the end of every post will make you visitors know more about you and help them to be in contact with you.

I have been looking around for a way to put the Author Bio information at the end of the every post. I was searching for the plugins but couldn’t able to find the plugin after some random search. I am sure there will be a plugin to do this.

So I looked for a work around for this, a hack basically. I found this hack to be really simple. You can Add the Author Info. and the Gravatar with this hack.

These are some steps to follow:

  1. Under the Users section go to Your Profile Users>>Your Profile.
  2. Having done that add the Some info. about the author and update.
  3. Now go to the Theme Editor and open Single.php
  4. Now we will be adding some thing to the Wp core,  look for something like this <?php the_content('Read the rest of this entry »'); ?> in the code.
  5. After this line wherever you want to place the authors info place this code <div><?php echo get_avatar(get_the_author_email(),’64′); the_author_description(); ?> </div>, make sure this code is before this line that looks like this <p><?php _e(“Sorry, but you are looking for something that isn’t here.”); ?></p>
  6. Doing that save it.
  7. Now to add some formatting to this add the below mentioned style to  style.css page.
  8. .postauthor {
    color: #222222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    background: #EAEAEA;
    border-top: 2px solid #000000;
    border-bottom: 1px solid #000000;
    width: 640px;
    padding: 3px;
    margin-bottom:5px;
    }

  9. Save this file  and you are done.

See the end of this blog post to see this hack in @work. Do tell me about a plugin if it exists if you find  some.

Popularity: 1% [?]

About Inderjeet

Inderjeet Singh is the founder and main author of Tech2view.com and writes about Technology, SEO, Social Media, Ways to Make Money Online and Security on Internet. Apart from blogger, he is a professional SEO and deals in onpage/offpage optimization aspects of small business websites and blogs. You can catch him at http://twitter.com/singhinder
This entry was posted in Blogging, Wordpress. Bookmark the permalink.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>