User greetings possible?
-
Let’s say I have a WordPress 2.5-powered website on a hosting provider other than WordPress.com.
Now let’s say my website wants visitors to Register to be able to do things like leave comments and such.
Let’s say that there is a Register/Login thing at the top of the website so visitors can register easily, or if they are registered users, login easily.
Now let’s say that I, as the creator of the website, would think it were cool if, for logged-in registered users, the Login/Logout thing would say something like, “Hello, User Name” next to the Logout.
So my inquiry is, with conditions as they are, is there any way to display a User Name the same way you might display an Author name? Is there something like <?php the_author_nickname(); ?> but for Users?
Certainly not a necessary tag, but something nice for a registered User to see on a website, of course.
Just wondering. Thanks! ??
- The topic ‘User greetings possible?’ is closed to new replies.