daverogers 0 Report post Posted January 31, 2011 Hi everyone. I am going to have the user avatar on the main page via a php widget. What do I use to call the user id? Many Thanks In advance Share this post Link to post Share on other sites
bryan-hadaway 3 Report post Posted February 1, 2011 I recommend using Gravatar: http://codex.wordpress.org/Using_Gravatars ` <?php echo get_avatar( $id_or_email, $size = '96', $default = '' ); ?> ` This of course needs to be set in Settings > Discussion as well. And I recommend: http://wordpress.org/extend/plugins/allow-php-in-posts-and-pages/ to allow the use of PHP. Thanks, Bryan Share this post Link to post Share on other sites