Template Tags/the author login
Материал из WordPress Wiki
Содержание |
Description
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.
Usage
%%% <?php the_author_login(); ?> %%%
Example
<p>Author username: <?php the_author_login(); ?></p>
Parameters
This tag does not accept any parameters.