17
I have a simple question.
Could someone demonstrate for me how I could take the above code and use it towards custom user profile variables (/fields)?
For example, if I were to add the custom field "gender", how would I alter the above code to read "Welcome, (real name), you are a female."?
Edit: This was not quite clear. I would like to show the information for the user whose profile you are currently viewing, not for the user who is signed in. I.e., if I added custom fields for "gender" and "emotion", I would like to be able to display, for each user, "(Username) is a female. She is feeling happy."
How might I go about doing this?