the_author_login
AUTHOR TAG
What It Does
Displays the login name of the post’s author. This is the same as the Username used for the author to login to the WordPress admin panel. In most cases, you would not want the author login to be shared publicly, but if you choose to use this tag, it must be used within The Loop.
Code
<?php the_author_login(); ?>
Example
The following example will display the author’s login (username) within The Loop:
<p>The author’s username: <?php the_author_login(); ?></p>
Of course, the verbage surrounding the_author_login can be changed to whatever you like.




