Add Authors Profile to WordPress post

By | December 16, 2011

Add Authors Profile to WordPress post

In this we do like to share how to add  authors profile on WordPress posts.Copy the below code and add it to you single post.php file.Add it after the loop of the post.


Css for the code Given:

.authortemplate {background: #F5F5F5; width:610px; border-top: 1px solid #e1e1e0; border-bottom: 1px solid #e1e1e0; overflow: hidden; padding: 10px;
}
.authortemplate img { border: 2px solid #e2dede; float: left; margin-right: 1.5em; }
.authortemplate h4 { color: #666; font-size: 2em; margin-bottom: 5px; }
.authortemplate p { color: #515151; font-size: 13px; margin-bottom: 12px; text-align:justify;}
.authortemplate p.hlight { font-size: 11px; text-transform: uppercase; }
.authortemplate p.hlight span { color: #CB3131; font-size: 13px; font-style: italic; font-weight: bold; letter-spacing: 0.8px; }

This code can be inserted into any where you like in your WordPress theme file.

Output :

Leave a Reply

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