Home Forums Theme support Eastend : display connected user name next to the top menu

This topic contains 3 replies, has 2 voices, and was last updated by  7Theme Support 9 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Dear Team,

    Could you please help me for the following request.

    I need to integrate a welcome message to my homepage when a user is connected.
    The best will be to display next to the menu (left or right)

    Could you say me where I can input the following source code to display properly the name of the connected user :

    global $current_user;
    if ( isset($current_user) ) {
    echo $current_user->user_login;

    You can see the menu on the page http://immovateur.com

    Note : if we can not add this information next to the menu, could you advise me the best place to put it (and where in the source code)

    Many thanks for that


    Hi Franck,

    why dont you activate the overhead section, then you can insert the code there. The file you have to insert the code is header.php, and the “overhead” section you can find on line 38 & 41


    Because I had not thought :-p
    Many thanks for this advice … it’s exactly what I need 🙂


    You’re welcome!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.