Codex

Template Tags/the author posts link

Contents

Description

Displays a link to all posts by an author. The link text is the user's Display name publicly as field. The results of clicking on the presented link will be controlled by the Template Hierarchy of Author Templates. This tag must be used within The Loop.

Usage

 <?php the_author_posts_link(); ?> 

Examples

Use Example

Displays the link, where the default link text value is the user's Display name publicly as field.

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

Parameters

This function takes no arguments.

Deprecated Parameters

idmode 
(string) Sets the element of the author's information to display for the link text.

Related

the_author, the_author_link, the_author_posts, the_author_posts_link, wp_list_authors, wp_dropdown_users, the_author_meta