Displays the number of posts by the author of the current post.
Source
function the_author_posts() {
echo get_the_author_posts();
}
Changelog
Version | Description |
---|---|
0.71 | Introduced. |
Displays the number of posts by the author of the current post.
function the_author_posts() {
echo get_the_author_posts();
}
Version | Description |
---|---|
0.71 | Introduced. |
You must log in before being able to contribute a note or feedback.
Basic Example
Displays the author’s name and number of posts.
Output is “Harriett Smith has blogged 425 posts.”