Forums
(@danielancuta)
9 years, 9 months ago
To display the current user (logged in user) avatar use this in your template.
<?php $user_id = get_current_user_id(); echo get_wp_user_avatar($user_id, 'thumbnail'); ?>