wordpress snippets last updated   : October 6, 2014
we now have 641 snippets

Display gravatar image as the favicon

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will display your gravatar image as the favicon. Go into your settings menu to update the default admin_email.

read more

Custom default gravatar image

wordpress snippet

Adding this PHP code to the functions.php of your wordpress theme will set the default avatar.

read more

Gravatar hovercards

wordpress snippet

Adding this PHP code to the functions.php of your wordpress theme will enable a fairly unknown wordpress feature called gravatar hovercards. I have no idea how if this will work for everyone, when I tried it on a new install of wordpress it works great. For more details visit the WordPress blog.

read more

Enable wordpress Gravatars

wordpress snippet

Adding this code to your wordpress theme will use the Gravatar service to display your avatar. The number 80 refers to the avatar size in pixels.

read more