Hi, Thank you for your excellent plugin!
I am displaying user avatars in posts with this suggested code:
<?php echo get_avatar($post->post_author); ?>
It works great! Except I would like to be able to make it function so that, if a user does not have a user profile graphic/avatar, it defaults to display nothing. If I use your plugin 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. I would like to get rid of this empty space when the user has now avatar.
Do you have any suggestions?
Thank you in advance for considering.
- The topic ‘Conditional Display’ is closed to new replies.