After posting a general tutorial on How to Add 
an About Author Box in the Post Footer in WordPress yesterday, my visitor traffic soared and quite a few persons were asking me how to add the author box to the Thesis theme. So since I like to please my readers, here’s a short and easy tutorial on how to get it done.
Step 1 – Add your bio to wordpress
Fill out your profile information in the wordpress Users’ Profile section. Ensure to add your first name and your site’s name because the script will be calling and displaying this information on your posts.
Step 2 – Code in the Custom_functions.php file
Access your Thesis Options (Located at the bottom-left in your wordpress admin) and select Custom File Editor, this is where you will add the code to call the bio information. Within the thesis custom file editor, ensure that custom_functions.php is selected in the file selection drop-down menu at the top. If it is not selected then select it from the drop-down menu and click Edit Selected File.
Then add the code below at the end of the file and click save:
function post_footer() {
if (is_single())
{
?>
<div class="postauthor">
<?php echo get_avatar( get_the_author_id() , 120 ); ?>
<h4>Article by <a href="<?php the_author_url(); ?>">
<?php the_author_firstname(); ?> <?php the_author_lastname(); ?></a></h4>
<p><?php the_author_firstname(); ?> has written <strong><?php the_author_posts(); ?></strong> awesome articles for us. <br/><br/><?php the_author_description(); ?></p>
</div>
<?php
}
}
add_action('thesis_hook_after_post_box', 'post_footer');
Note: For the code in the bold highlight above, the RSS feed addresses should be changed to your own.
Step 3 – Code in the Custom.css file
Within your custom file editor select Custom.css from the drop-down menu and click edit selected file. Then add the css code below at the end of the file and hit save:
.postauthor { background: #F5F5F5; border-top: 1px solid #e1e1e0; border-bottom: 1px solid #e1e1e0; overflow: hidden; padding: 1.5em; }
.postauthor img { border: 5px solid #e2dede; float: left; margin-right: 1.5em; }
.postauthor h4 { color: #666; font-size: 2em; margin-bottom: 5px; }
.postauthor p { color: #515151; font-size: 13px; margin-bottom: 12px; }
You should end up with something like this:
And that’s it. Hope you found this useful.
Please let me know if this works for you or if you have any difficulties. Everybody is going crazy over the Thesis theme, can anyone convince me as to why I should switch?
Related posts:
- How to Add an About Author Bio Box in the Post Footer in WordPress
- How to Highlight Author Comments & Edit Your Reply Button in Thesis
- How To Create A Custom Front Page In WordPress
- How to redirect web pages using a very simple PHP code
- Secure Your WordPress Blog Against Malicious URL Requests






{ 2 trackbacks }
{ 25 comments… read them below or add one }
Twitter: tnsblog
March 20, 2010 at 9:32 AM
great post mate ….very helpful for thesis users.
Dev | Technshare´s last blog ..12 ways to Increase comments on your Blog
Twitter: samudary
March 20, 2010 at 10:36 AM
Thanks for reading Dev. Please retweet. Thanks
Twitter: tnsblog
March 21, 2010 at 9:00 AM
Retweeted

Dev | Technshare´s last blog ..Weekly Roundup #1
this should be very useful to thesis users
Jamaipanese´s last blog ..Monster Hunter Tri Will be HUGE
Twitter: samudary
March 21, 2010 at 8:07 AM
Definitely. I’m thinking about switching to thesis. There are some really cool ways to customize the theme
Sam´s last blog ..10 Simple Steps to Secure & Protect your WordPress Blog
I notice your blog title goes down. Maybe you should shorten the ‘subscribe link’ at the top of your blog to fix it.
Fazreen´s last blog ..How To Upgrade From Thesis 1.6 To Thesis 1.7
Twitter: samudary
April 15, 2010 at 1:37 PM
Hey Fazreen,
Thanks for giving me the heads up. I’ve never had that problem with my display though. What screen resolution are you using or are you using the zoom feature in your web browser? I think these factors may affect that.
Please let me know.
Sam´s last blog ..6 Awesome WordPress Alternatives
I’m using old version off firefox as I’m using LINUX OS. Don’t worry it looks fine when i view in latest version off firefox on windows OS.
Twitter: AlisonMSmith
April 16, 2010 at 1:43 AM
I’m the sole blogger on a couple of blogs, but own a large, group blog. I’l be updating it to Thesis in the next month or so (have some hacking to fix) and will try this out. Perfect for a group blog. Thanks!
Alison Moore Smith@Easy Blog Setup´s last blog ..31DBBB: Day #9 Join a Forum and Start Participating
Twitter: samudary
April 17, 2010 at 12:59 PM
Thanks for visiting Alison!
The thesis theme provides an excellent framework for customizing and exercising total control of a blog’s design. Nice move. If you need any help, please don’t hesitate to ask

Sam´s last blog ..6 Awesome WordPress Alternatives
I didn’t want to learn how to add an author box. However, I did need to learn how to had post footer content. Your post was the most helpful. Once I decide on exactly what content I want to add to my post footer, I’ll be golden. Thanks!
This is my first time on your site. It looks great! I’ll be visiting often from now on.
Chuck Edwards@Weight Loss Blog´s last blog ..The Special K Diet and Challenge
Twitter: samudary
April 29, 2010 at 5:38 PM
Hey Chuck,
I’m really glad you like my site. I took a look at yours and I must say that the information you’re providing there is awesome. Let me know if you need further help with your thesis theme.
You forgot to link the CSS to the code. You need to put class=”postauthor” in the opening DIV tag for your code to work. Other than that it works like a charm.
Twitter: samudary
June 10, 2010 at 4:39 PM
Thanks for the heads up Jonathan!
I made the correction.
Sam´s last blog ..How To Develop That “ProBlogger” Frame Of Mind
Great tutorial Sam!
It was exactly what i need and with it, I have just customized my thesis theme.
Thanks a lot for the great post,
-Onibalusi
Onibalusi Bamidele´s last blog ..A Better Tomorrow
Twitter: bizchickblogs
July 6, 2010 at 3:18 AM
Thanks, Sam. Just finally switched over to Thesis on my own blog and this really helped.

Tia´s last blog ..Blogger Questions Answered- How to deal with rude comments
hi,
pls tell me can we use this bio box only after posts, not after pages??
Please reply soon, i need to implement it asap…
Thanks a lot.
Twitter: samudary
August 3, 2010 at 12:49 PM
Hello Sanya,
Sorry for taking so long to reply.
You can actually add it to pages. Instead of using if (is_single()) at the start of the code, you would use if (is_page())
The code in the tutorial is only for posts.
Sam´s last blog ..How I Increased My Search Engine Traffic By 1-000 in 4 Months
Twitter: ArunBasilLal
July 14, 2010 at 5:39 AM
Works like a charm. Nice work!
Arun Basil Lal´s last blog ..Fix For BuddyPress Activity Stream Not Showing Up on HomePage
Twitter: samudary
August 3, 2010 at 12:44 PM
I’m glad it helped Arun

Sam´s last blog ..18 Awesome Websites Powered By WordPress
This is exactly what I was looking for. I just have one question for you…for contributing authors, how do I upload their picture to be shown?
Lee´s last blog ..Grapes aren’t just for wine
Twitter: samudary
August 3, 2010 at 12:43 PM
Glad it helped Lee.
For contributing authors’ images to be shown, they will need to create a gravatar account at gravatar.com and ensure that they complete their author bio information in the wordpress dashboard with the same e-mail. Once this is done their image will be automatically shown.
Let me know if this helps.
Sam´s last blog ..18 Awesome Websites Powered By WordPress
Hi,
Thanks for the help sam, it works great.
hi
how do you add an author bio to the top of the side bar?
Thanks so much for this tutorial. It was exactly what I was looking for and it works perfect.