Gravatar is cool. And you know what’s cooler? Gravatar Hovercards!
These are triggered as soon as you insert a Gravatar into a post, or in a comment section for example. However, there are times when you don’t want to trigger Hovercards. A good example is a site header like on my other site. I use my Gravatar as a header image, and I want my readers to be able to click this image to go back to the home page.
Luckily, you can use the .no-grav
class to ask the Hovercard to ignore a specific image like so:
<img src="<?php echo pinkman_get_gravatar(); ?>" class="no-grav" width="120" height="120" />