Your Ad Here
Browsing articles in "Tips & trick"
Jul
22
2010

How To Add Gravatars For The Post Author and comment post in WordPress

gravatar

Please input the code into the file index.php and single.php. Or wherever you want, hopefully useful Code Post Author: <?php echo get_avatar( get_the_author_email(), ’80′ ); ?> Code Comment Post: <?php if(function_exists(’get_avatar’)){ echo get_avatar($comment, ‘50’);} ?> Note: 50 or 80 size images view in Gravatars

UA-8573369-5