• Hi All,

    If I wanted a section on a page (not in a widget) to show the following, how would it be done?

    – You are currently logged in as “user name”
    – There are currently “x” users logged in to this site

    Thanks
    dvent

Viewing 3 replies - 1 through 3 (of 3 total)
  • The help of plugin can actually solve this problem. Would you like to have a plugin for this?

    Thread Starter dvent

    (@dvent)

    Is there a plugin for this?

    This code will allow you to display the current logged in user:

    global $current_user;
    get_currentuserinfo();
    echo($current_user->user_firstname . ” ” . $current_user->user_lastname . “, “);
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Show Info About Users’ is closed to new replies.