Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function _favicon_gravatar() {
- $hash = md5(strtolower(trim('mail@gmail.com')));
- echo 'http://www.gravatar.com/avatar/' . $hash . '?s=16';
- }
- // header.php
- <link rel="shortcut icon" href="<?php if( function_exists('_favicon_gravatar') ) _favicon_gravatar(); ?>" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement