Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hardcode for who's online avatar

  • 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)
  • 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)
  • The topic ‘Hardcode for who's online avatar’ is closed to new replies.
Skip to toolbar