Posted By

kristarella on 01/25/09


Tagged

wordpress thesis thesiswp avatar


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

goddess
girliegeek
naeemnur


Add avatar to post title in Thesis


 / Published in: PHP
 

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

  1. function author_avatar() {
  2. echo get_avatar( get_the_author_id(), 50 );
  3. }
  4. add_action('thesis_hook_before_headline', 'author_avatar');

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: jackiboa on October 3, 2009

Thanks for sharing. Phd Thesis

You need to login to post a comment.