the_author_posts()
Display the number of posts by the author of the current post.
Description
Source
File: wp-includes/author-template.php
function the_author_posts() { echo get_the_author_posts(); }
Changelog
Version | Description |
---|---|
0.71 | Introduced. |
Basic Example
Displays the author’s name and number of posts.
Output is “Harriett Smith has blogged 425 posts.”