I am using a plugin that allows users to upload profile graphics in place of avatars. The plugin is "User Avatar".
I am displaying user profile graphics with this code:
echo get_avatar( get_the_author_meta('user_email'), $size = '60')
It works fine except I would like it to function so that, if a user does not have a user profile graphic, it defaults to display nothing. If I use the avatar Discussions settings to display "Blank" when there is no user avatar I still get text that is wrapped around where the graphics would be, creating an empty square where a user profile should otherwise be.
Does anyone have any suggestions?
Thank you in advance for considering.