the_author_nickname

AUTHOR TAG

What It Does

Displays the nickname of the post’s author. This is defined from within the admin panel at Administration > Profile > Your Profile. the_author_nickname must be used within The Loop.

Code

<?php the_author_nickname(); ?>

Example

The following example will display the post author’s nickname:

<p>The author of this post is <?php the_author_lastname(); ?></p>

Of course, the verbage surrounding the_author_lastname can be changed to whatever you like.