WordPress.org

Support

Support » How-To and Troubleshooting » Displaying a nickname with a template tag

Displaying a nickname with a template tag

  • Probably a very simple answer to this question…. I am trying to set up a line in the header of the public portion of my WP page that basically says the same thing as it does in the backend:

    “Howdy, Tom Jones [Logout, Edit Profile]”

    I copied the code directly over into the header, but that did not work properly as it would not show the user’s nickname. Looking at template tags, I see the <?php wp_loginout(); ?> tag to handle login and logout, but while I see template tags for authors, categories, and posts, I don’t see anything to just display the information of the current user. How do I do this, or where can I look to find out? Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Displaying a nickname with a template tag’ is closed to new replies.