Title: User Identity Function
Last modified: August 19, 2016

---

# User Identity Function

 *  [YOUAREtehSCENE](https://wordpress.org/support/users/youaretehscene/)
 * (@youaretehscene)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/user-identity-function-1/)
 * okay i have this layout called “Smokey”
    [http://web2feel.com/2008/06/21/smokey/](http://web2feel.com/2008/06/21/smokey/)
   and on this smokey layout they got this rad feature that will display your user
   name “Welcome (user name)”
 * ” * Welcome Sys0p.
    * Go to dashboard * Make new post * View profile * Logout“
 * Now, my question is how can I have this on this other layout that iam using now,
   I made a text box in the widget section and have been coding it with links to
   peoples own profile, got a dashboard link, a paypal, hit counter, and logout,
   but I’d like it for that welcome sign to be in the widget text box
 * Thank You
    Dave

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/user-identity-function-1/#post-873523)
 * Assuming you are want a widget to display “Welcome John Doe”, where John Doe 
   is the user’s name, you’d probably need to use something like [Otto’s php code widget](http://wordpress.org/extend/plugins/php-code-widget/).
   Then copy and paste the code that’s in your existing template (e.g. sidebar.php)
   that now displays that Welcome stuff.
 *  Thread Starter [YOUAREtehSCENE](https://wordpress.org/support/users/youaretehscene/)
 * (@youaretehscene)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/user-identity-function-1/#post-873609)
 * i don’t understand, i have to do what with the “Sidebar.php”
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/user-identity-function-1/#post-873615)
 * You don’t need to do anything to sidebar.php if you are using a widget.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘User Identity Function’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 3 replies
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [17 years, 8 months ago](https://wordpress.org/support/topic/user-identity-function-1/#post-873615)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
