テンプレートタグ/the author posts

出典: WordPress Codex 日本語版

  • 書式: <?php the_author_posts(); ?>
  • 説明: 投稿者の現在までに公開した記事の数を出力。
  • 位置: ループ内
  • 引数: なし
  • コード記述例: <p><?php the_author(); ?>のこれまでの投稿記事数: <?php the_author_posts(); ?></p>
  • 出力例: <p>WebMasterのこれまでの投稿記事数: 345</p>
他の言語