◆ WordPress に関するドキュメントは 『WordPress Codex 日本語版』へ移動しました。 ◆
最新情報はリンク先でお読みください。
テンプレートタグ/the author description
出典: ps*wiki
< テンプレートタグ
このテンプレートタグ the_author_description は、プロフィールページで設定した「あなた自身について」という項目の説明を表示します(Administration > Profile > Your Profile)。「あなた自身について」には、ユーザーの公開プロフィール文などを記入します。このタグは The Loop 内でのみ使えます。
<?php the_author_description(); ?>
使用例:
<p>投稿者のプロフィール: <?php the_author_description(); ?></p>
表示結果:
投稿者のプロフィール: このブログの管理人です。東京都在住の会社員です。
このタグにパラメータはありません。
the_author, the_author_description, the_author_login, the_author_firstname, the_author_lastname, the_author_nickname, the_author_ID, the_author_email, the_author_url, the_author_link, the_author_icq, the_author_aim, the_author_yim, the_author_msn, the_author_posts, the_author_posts_link, list_authors, wp_list_authors
