• roger85

    (@roger85)


    I’m trying to create my own login box on the side bar of my page. If a user is not logged in, it’ll display a login box. If a user is logged in, it’ll display links similiar to the ones in their dashboard (profile, tools).

    What I want to also do is display the user’s avatar. I am currently using “Local Avatar” plugin for users to upload their avatar from their profile. When I use <?php echo get_avatar(); ?> it displays the default avatar only.

    I don’t want to use Gravatar because I don’t want my site to rely on avatar services. Is there code for me to use on the side bar that calls the avatar the users have uploaded?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Showing user’s avatar on page’ is closed to new replies.