Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hardcode for who's online avatar

  • Avatar of oicolague
    oicolague
    Member

    @oicolague

    Does anyone know a hardcode for putting “who’s online avatar” in your side bar

    without using the widget?

Viewing 1 replies (of 1 total)
  • Avatar of oicolague
    oicolague
    Member

    @oicolague

    I found this code that will list current user.

    How would I change it to list all users?

    <?php

    global $current_user;

    get_currentuserinfo();

    echo get_avatar( $current_user->ID, 50 );

    ?>

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.