X

Gravatar hovercards

Plugin results page in WordPress.org directory

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.


function gravatar_hovercards() {
	wp_enqueue_script( 'gprofiles', 'http://s.gravatar.com/js/gprofiles.js', array( 'jquery' ), 'e', true );
}
add_action('wp_enqueue_scripts','gravatar_hovercards');

Comments  Leave a Reply

  1. WordPress Gravatar hovercards – wpsnipp.com WordPress code snippets for your blog…

    This is not a well known feature of wordpress but very cool. Creates a hovercard with social profile details when you mouse over comment avatars on your wordpress blog….

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!