Template Tags/the author nickname
Материал из WordPress Wiki
Содержание |
Description
This tag displays the nickname for the author of a post. The Nickname field is set in the user's profile (Administration > Profile > Your Profile). This tag must be used within The Loop.
Usage
%%% <?php the_author_nickname(); ?> %%%
Example
<p>Posted by <?php the_author_nickname(); ?></p>
Parameters
This tag does not accept any parameters.