wordpress snippets last updated   : January 29, 2015
we now have 646 snippets

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.

snippet :  PHPcopy
function gravatar_hovercards() {
	wp_enqueue_script( 'gprofiles', 'http://s.gravatar.com/js/gprofiles.js', array( 'jquery' ), 'e', true );
source →

Did you like this post? If so please share it with your friends. Thanks!