How To Add Author Box On Your WordPress Blog Without Using Any Plugins

Author Box is always nice to have on your WordPress blog, not only because it looks good, but it gives the reader a chance to connect with and promote yourself in one or two liners.

I will not keep you awaiting for what you have come in for, so here is the code below I am using on this blog, you can get a glance of it at the end of this post. For those who are thinking i have not used a plugin for this is because too many plugins can make your blog loading time a bit higher than usual.

<?php echo get_avatar( get_the_author_email(), '64' ); ?>
About Author: <?php the_author(); ?> has written <?php the_author_posts(); ?> articles. <?php the_author_meta('display_name'); ?> <?php the_author_meta('description'); ?>

Just copy-paste the php and html code to your WordPress Loop, Remembers its very essential to have this code in WordPress Loop otherwise it will not work.

The text in description is fetched from the profile page, under the heading Biographical Info, so what ever you will write there it will be displayed as it is. Also you can have a links to your Facebook and Twitter profiles like I have done in mine below.

To give this box a design we need to add some Css as well, which you will find below:

.aboutauthor { overflow:hidden; background:#f4f4f4; border:1px solid #ccc;
padding:5px; margin-bottom:6px;}
.aboutauthor img { background:0px; border:0px; padding:0px;}
#aboutauthorimg { float:left; padding:5px 0 5px 10px;}
.aboutauthor .span-13 { overflow:hidden; margin:0px; width:500px; float:left;}
.aboutauthor .span-2 {display: block; float: left; width:70px;margin:0px 10px 0 0;
padding: 10px 0 0 10px;} 

That’s it. Just copy paste the Css in your style.css file of your theme, and you are good to go. This Css may or may not fit in your blog as you may have different width area for your content area.

I hope you will find this code helpful, please share with us if you have any alternate method for adding the author box without a plugin.

About Jaspal

Mechanical Engineer, Blogger and a Web Designer from Jaipur, The Pink city of India. You can follow him on Twitter & you can connect with him on Facebook
This entry was posted in Design and tagged , , , . Bookmark the permalink.
You might want to subscribe to the RSS feed for updates. If you wish to subscribe here via Email, then kindly click here.

Connect with SD on FACEBOOK easily

17 Responses to How To Add Author Box On Your WordPress Blog Without Using Any Plugins

  1. Pingback: uberVU - social comments

  2. Pingback: wp-popular.com » Blog Archive » How To Add Author Box On Your Wordpress Blog Without Using Any Plugins

  3. Pingback: How To Add Author Box On Your Wordpress Blog Without Using Any Plugins « Netcrema – creme de la social news via digg + delicious + stumpleupon + reddit

  4. Pingback: === popurls.com === popular today

  5. Pingback: How To Add Author Box On Your Wordpress Blog Without Using Any Plugins : Popular Links : eConsultant

  6. Pingback: Adding a Author Box to your Wordpress blog

  7. Pingback: How To Add Author Box On Your Wordpress Blog Without Using Any Plugins | loveishs.com

  8. abhi says:

    Thats great. Really helpful

  9. adone says:

    Very good post. Thank you.
    .-= adone´s last blog ..Fotograficy i graficy w hip hopie obecni =-.

  10. thanks for tutorial.. thank you..
    .-= adegustiann´s last blog ..Jadwal Piala Dunia 2010 =-.

  11. Pingback: Weekly round-up: 15 must read development, design and blogging articles - Web Development Blog

  12. Ryan Bian says:

    nice tutorial.. Really solving my problem

  13. Pingback: How To Add Digg, Stumble, Twitter Share Buttons On Your Wordpress Blog

  14. Paritosh says:

    Nice tut… Though i have an author box on my blog but am still gonna test this one. Am not happy with the spacing in the current one…

  15. Sunil Jain says:

    Well written Jaspal :)
    But Why are you not using author box in savedelete ?? :) :D
    .-= Sunil Jain´s last blog ..50+ Chrome Addons you musy try!!! =-.

  16. Ron says:

    Thanks for this tuts. it works great just need some little tweaking..

    great job..

    cheers!
    Ron´s last [type] ..This Girl Misses Something Here!

  17. Ron says:

    by the way, im a noob so please bare with me..>:)

    can you tell me how can i change the font style for the description…?

    Thanks.
    Ron´s last [type] ..This Girl Misses Something Here!

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>

CommentLuv badge

Subscribe without commenting