Title: the_author_posts_link
Published: April 25, 2014
Last modified: February 24, 2026

---

# the_author_posts_link( string $deprecated )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/functions/the_author_posts_link/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/functions/the_author_posts_link/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/functions/the_author_posts_link/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/the_author_posts_link/?output_format=md#changelog)
 * [User Contributed Notes](https://developer.wordpress.org/reference/functions/the_author_posts_link/?output_format=md#user-contributed-notes)

[ Back to top](https://developer.wordpress.org/reference/functions/the_author_posts_link/?output_format=md#wp--skip-link--target)

Displays an HTML link to the author page of the current post’s author.

## 󠀁[Parameters](https://developer.wordpress.org/reference/functions/the_author_posts_link/?output_format=md#parameters)󠁿

 `$deprecated`stringrequired

Unused.

## 󠀁[Source](https://developer.wordpress.org/reference/functions/the_author_posts_link/?output_format=md#source)󠁿

    ```php
    function the_author_posts_link( $deprecated = '' ) {
    	if ( ! empty( $deprecated ) ) {
    		_deprecated_argument( __FUNCTION__, '2.1.0' );
    	}
    	echo get_the_author_posts_link();
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/author-template.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/author-template.php#L351)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/author-template.php#L351-L356)

## 󠀁[Related](https://developer.wordpress.org/reference/functions/the_author_posts_link/?output_format=md#related)󠁿

| Uses | Description | 
| [get_the_author_posts_link()](https://developer.wordpress.org/reference/functions/get_the_author_posts_link/)`wp-includes/author-template.php` |

Retrieves an HTML link to the author page of the current post’s author.

  | 
| [_deprecated_argument()](https://developer.wordpress.org/reference/functions/_deprecated_argument/)`wp-includes/functions.php` |

Marks a function argument as deprecated and inform when it has been used.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/functions/the_author_posts_link/?output_format=md#changelog)󠁿

| Version | Description | 
| [4.4.0](https://developer.wordpress.org/reference/since/4.4.0/) | Converted into a wrapper for [get_the_author_posts_link()](https://developer.wordpress.org/reference/functions/get_the_author_posts_link/)  | 
| [1.2.0](https://developer.wordpress.org/reference/since/1.2.0/) | Introduced. |

## 󠀁[User Contributed Notes](https://developer.wordpress.org/reference/functions/the_author_posts_link/?output_format=md#user-contributed-notes)󠁿

 1.  [Skip to note 2 content](https://developer.wordpress.org/reference/functions/the_author_posts_link/?output_format=md#comment-content-602)
 2.   [Codex](https://profiles.wordpress.org/codex/)  [  11 years ago  ](https://developer.wordpress.org/reference/functions/the_author_posts_link/#comment-602)
 3. [You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fthe_author_posts_link%2F%23comment-602)
    Vote results for this note: 1[You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fthe_author_posts_link%2F%23comment-602)
 4. **Use Example**
     Displays the link, with the link text value as the user’s Display
    Name.
 5.     ```php
        <p>Other posts by <?php the_author_posts_link(); ?></p>
        ```
    
 6.  [Log in to add feedback](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fthe_author_posts_link%2F%3Freplytocom%3D602%23feedback-editor-602)

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fthe_author_posts_link%2F)
before being able to contribute a note or feedback.