The following snippet below will let you use gravatar image as WordPress favicon.
1 2 3 4 5 6 | // add gravatar favicon to site, 16x16 favicon.ico function snix_add_favicon() { $GetTheHash = md5(strtolower(trim('scott@scottnix.com'))); ?><link rel="shortcut icon" href="<?php echo 'http://www.gravatar.com/avatar/' . $GetTheHash . '?s=16;'; ?>" /><?php } add_action('wp_head', 'snix_add_favicon'); |
Snippet Source/Credit: forrst.com