Codex tools: Log in / create account
wp-includes/deprecated.php.Contents |
This tag displays the login name of the author of a post. The login is also referred to as the Username an author uses to gain access to a WordPress blog. This tag must be used within The Loop.
Note: It's usually not a good idea to provide login information publicly.
<?php the_author_login(); ?>
This tag does not accept any parameters.
<p>Author username: <?php the_author_login(); ?></p>
the_author, the_author_link, the_author_posts, the_author_posts_link, wp_list_authors, wp_dropdown_users, the_author_meta