Return to Snippet

Revision: 11125
at January 25, 2009 19:07 by kristarella


Initial Code
function author_avatar() {
	echo get_avatar( get_the_author_id(), 50 );
}
add_action('thesis_hook_before_headline', 'author_avatar');

Initial URL


Initial Description
This CSS is nice to use with this function:
.custom .avatar {float:left; border:3px solid #ddd; margin-right:1em;}

Initial Title
Add avatar to post title in Thesis

Initial Tags
wordpress

Initial Language
PHP