Support » Plugin: WP User Avatars » get_avatar pulling gravatar

  • I’m relatively new to PHP and could use a little help with using this plugin. I created a custom theme and in it I want to display the logged in users profile image they uploaded. I use

    $user_id = wp_get_current_user(); echo get_avatar( $user_id ); ?>

    but it always seems pull the gravitar image instead even though it shows the new uploaded image in “Your Profile”. What am I doing wrong here?

    • This topic was modified 3 years, 6 months ago by carlitron88.
Viewing 1 replies (of 1 total)
  • baileys2611


    Did you manage to find a solution to this? I’m trying to echo the Ultimate Member avatar and wondering if this is along the right lines.

Viewing 1 replies (of 1 total)
  • The topic ‘get_avatar pulling gravatar’ is closed to new replies.