How to get the autho username
-
Hi there,
I need a template tag to retrieve the athor username
For example, i have author.php profile page, how do i retrieve the username?
I have:
<?php global $current_user;
get_currentuserinfo();echo ” . $current_user->user_login . “\n”;
?>which retrieves the current logged in user, can i modify this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to get the autho username’ is closed to new replies.