[wp-testers] Avatars

Mr. Awesome theone.andonly.mr.awesome at gmail.com
Tue Mar 18 02:32:37 GMT 2008


Gene Steinberg wrote:
> OK, where's that command go?

What I did, was viewed this comment on Ryan's post, then viewed that 
theme's comment.php file..
http://boren.nu/archives/2008/03/04/avatars-in-wordpress-25/#comment-177520

(For example) Around line 66:
http://code.google.com/p/tarski/source/browse/trunk/comments.php

Well, in my theme's comments.php file.. I found this block of code, and 
inserted the code Aaron sent through here the other night. I might 
change it up later, but I'm more worried about styling my comments in 
general at the moment lol. My custom theme wasn't completely done when I 
uploaded it live on server.. LOL!

<small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" 
title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> 
<?php if(function_exists('get_avatar')){ ?> <span
style="float:right"> <?php echo
get_avatar(get_comment_author_email(), '50');?> </span> <?php } ?><?php 
edit_comment_link('e','',''); ?></small>

I put it right before the: <?php edit_comment_link('e','',''); ?>

I edited my theme via the Theme Editor in control panel..


More information about the wp-testers mailing list