the_author_posts_link

AUTHOR TAG

What It Does

Creates and displays a hyperlink which, when clicked, displays all posts published by a given author. The anchor text for the hyperlink will display the “Display name publicly” setting as defined from within the admin panel at Administration > Profile > Your Profile. the_author_posts_link must be used within the loop.

Code

<?php the_author_posts_link(); ?>

Example

The following example displays a link to all posts published by the current post’s author:

<p>View all posts by <?php the_author_posts_link(); ?></p>

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

For another example of how you can link to all of the author’s posts, see the_author_id