- 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細)
テンプレートタグ/the author description
提供: WordPress Codex 日本語版
< テンプレートタグ
このテンプレートタグは WordPress 2.8 から非推奨となりました。後継となる新しいテンプレートタグが作られたか、動作対象外となり、WordPress の将来のバージョンで削除される見込みです。
このタグを使っていた場合は、後継の the_author_meta
に切り替えてください。
説明
このテンプレートタグ the_author_description
は、プロフィールページで設定した「あなた自身について」という項目の説明を表示します(Administration > Profile > Your Profile)。「あなた自身について」には、ユーザーの公開プロフィール文などを記入します。このタグは The Loop 内でのみ使えます。
使い方
<?php the_author_description(); ?>
用例
使用例:
<p>投稿者のプロフィール: <?php the_author_description(); ?></p>
表示結果:
投稿者のプロフィール: このブログの管理人です。東京都在住の会社員です。
パラメータ
このタグにパラメータはありません。
関連
作成者タグ:
the_author(),
get_the_author(),
the_author_link(),
get_the_author_link(),
the_author_meta(),
get_the_author_meta(),
the_author_posts(),
get_the_author_posts(),
the_author_posts_link(),
get_author_posts_url(),
get_the_modified_author(),
the_modified_author(),
wp_dropdown_users(),
wp_list_authors()
関数リファレンス、テンプレートタグ目次もご覧ください。