Tuesday, August 14, 2012

Thesis Themes Customization: 7 | Author Details after post

I will use 1.8 Developer version of Thesis Theme

LogIn to your Dashboard and Go to Thesis > Custom File Editor
Give Different style of Admin Comment in thesis themes,thesis themes customization, moderator comment style in thesis themes, how to style admin comment style in thesis themes. 
Select custom_functions.php form drop down menu and Click Edit Selected File.
Give Different style of Admin Comment in thesis themes,thesis themes customization, moderator comment style in thesis themes, how to style admin comment style in thesis themes.

Place this code below custom_functions.php :
function post_footer() {
if (is_single())
{
?>
<div class="postauthor">
<img src="YOUR-IMAGE-RL" height="60" width="60"/>
<h4>Author: <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> posts for this blog.<br/><?php the_author_description(); ?></p>
</div>
<?php
}
}
add_action('thesis_hook_after_post_box', 'post_footer');
 Select custom.css file and place this code below it:
.postauthor { background: #BDF7CF; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; border-top: 1px solid #048BB7; border-bottom: 1px solid #048BB7; border-left: 1px solid #048BB7; border-right: 1px solid #048BB7; overflow: hidden; padding: 1.5em; }.postauthor img { -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; border: 2px solid #048BB7; float: left; margin-right: 1.5em; }
.postauthor h4 { color: #666; font-size: 2em; margin-bottom: 5px; }
.postauthor p { color: #000000; font-size: 13px; margin-bottom: 12px; }
 Now save it.
[Please comment for any Problem]

No comments:

Post a Comment

!! COMMENT HERE FOR ANY PROBLEM !!

Featured post

WordPress yoast plugin remove date or article:published_time

Yoast is an essential plugin for WordPress SEO. It is one of the best SEO plugin for wordpress right now. But, after disabling date from ...