I currently have this code on my site to display the avatar for logged in users:
<?php
echo get_avatar( get_the_author_id(), '45', 'http://scrawlfx.com/wp-content/gravatars/blank_gravatar.png');
?>
Until a buddy of mine signed up on my blog, I haven't realized that it just displays the avatar of the admin across everyone's user names. How would I make it so that it displays only the avatar of the person logged in?
Thanks!