WordPress.org

Ready to get started?Download WordPress

Forums

Social Login
[resolved] Avatar not showing (3 posts)

  1. Maartje_1992
    Member
    Posted 8 months ago #

    Hi there,

    I'm using your plugin to let users subscribe through their linkedin accounts.

    On a page I made a loop to display all sucscribed users.
    I just cant echo their avatar (wich is taken over from their linkedin account).

    I tried the normal echo get_avatar(); wich displays the standard empty wp avatarĀ“

    I also tried:`
    $user_meta_picture = get_user_meta ($userid, 'oa_social_login_user_picture', true);
    echo $user_meta_picture;`

    Wich echos nothing...

    Can u help me?

    http://wordpress.org/plugins/oa-social-login/

  2. Maartje_1992
    Member
    Posted 8 months ago #

    O, It can't be another plugin.. I already tested that

  3. Maartje_1992
    Member
    Posted 8 months ago #

    Found it

    $user_meta_picture = get_user_meta ($user->id, 'oa_social_login_user_picture', true);
    echo '<img src='.$user_meta_picture.' />';

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.