Avatar Display for Logged In Users
-
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', 'https://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!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Avatar Display for Logged In Users’ is closed to new replies.