Displaying author bio after the post is in practice from quite a long time and it helps the readers to know more about the author and is also the best space which grabs the eye ball attention of the reader after reading the post completely and if you ask me I strongly recommend to use the author bio after the post and along with that would ask (recommend) you to add few of the products which will add value to your readers (the products related to your niche for which you are affiliate) as it will not only help the readers to know about the authors but also will help you with the some additional income.
SEE ALSO: How To Add Google Adsense After/Before The Post Title in Thesis Theme?
How To Add Author Bio Box After Post Content in Thesis Theme?
Note: Before starting with the changes I strongly recommend you to backup the Thesis Custom_functions.php and custom.css files (without a proper backup I won’t touch my theme files).
- To start with navigate to Thesis Theme Options –> Custom File Editor and open “Custom_functions.php”.
- Copy and paste the following code to custom functions file and click on save.
/* Add Author Bio Box To Thesis Theme */
function author_bio() {
if (is_single())
{
?>
<div>
<?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> articles out of his expertize for us. <br/><br/><?php the_author_description(); ?></p>
</div>
<?php
}
}
add_action('thesis_hook_after_post_box', 'author_bio');- After that open custom.css file under Thesis Custom file editor options and save the following code.
.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; }Recommend: Top 10 Free Thesis Theme Skins
That’s it Author Box will be live on should work fine without any errors, do let us know if you have gone through with any of the errors we will be more glad to help you out with the setup.













{ 5 comments… read them below or add one }
Hi
I am new to Theme making for Wordpress. I just wanted to ask, would this work only on thesis or would it work with any other theme as well?
Thanks,
This would work in thesis theme only
Thanks For Sharing

This Will Help Me In Future
Glad that it is of help to you
Thanks for this one, I’m looking for it for quite some time