the_author_posts

Sponsored Link

著者が公開した記事の合計数を表示します。下書きとプライベート記事はカウントされません。このタグはループ内で使用する必要があります。

Sponsored Link

Displays the total number of posts an author has published. Drafts and private posts aren’t counted. This tag must be used within The Loop.

the_author_postsのテンプレートタグ使用方法

<?php the_author_posts(); ?> 

著者名や記事の数を表示します。

Displays the author’s name and number of posts.

<p><?php the_author(); ?> has blogged<?php the_author_posts(); ?> 
posts</p>
Harriett Smith has blogged 425 posts.

the_author_postsのパラメーター

このタグは、任意のパラメータを受け付けません。

This tag does not accept any parameters.

関連テンプレートタグ

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

Sponsored Link