Codex tools: Log in / create account
Contents |
Retrieve the post author. This tag must be used within The Loop.
<?php $author = get_the_author(); ?>
This function takes no arguments
Grabs the value in the user's Display name publicly as field.
<?php $author = get_the_author(); ?>
Since:
get_the_author() is located in wp-includes/???.php.