the_author
AUTHOR TAG
What It Does
Displays the name of a posts author. the_author must be used within The Loop.
Code
<?php the_author(); ?>
Example
The following example will display the author’s name within the post:
<p>The author of this post is <?php the_author(); ?></p>
Of course, the verbage surrounding the_author tag can be changed to whatever you like.
To display the author’s first name only, see the_author_firstname
To display the author’s last name only, see the_author_lastname




