Home » Labs » How to use gravatars in WordPress  

How to use gravatars in WordPress


Filed under Labs

Gravatar means Globally Recognized Avatar, it is used to display pictures for users on theme with out integrating any plugin. For example below code will return a 50px x 50px Gravatar.

 
<?php 
	echo get_avatar( 'email@example.com', 50 ); 
?>

Posts you may like: