• I’m displaying gravatars on a page and I can’t seem to figure out how to hide a gravatar if they don’t have one selected. I know that I can set it to display a blank image if they don’t have a gravatar, but I don’t even want that. I just don’t want it to render and image at all if so.

    Can anyone help? Thank you!

Viewing 1 replies (of 1 total)
  • Thread Starter Spencer Hill

    (@s3w47m88)

    For the time being, I discovered that there is a CSS class applied to elements that don’t have images set, so I hid it with that. But, for the sake of performance, there should be a way to prevent it from loading via PHP (ideally WordPress settings somewhere). So I’m leaving this as unresolved.

Viewing 1 replies (of 1 total)
  • The topic ‘Hide gravatar if none set, need help…’ is closed to new replies.