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

出典: WordPress Codex 日本語版

  • 書式: <?php the_author_url(); ?>
  • 説明: ユーザー情報編集画面で設定した投稿者のサイトURLを出力。
  • 位置: ループ内
  • 引数: なし
  • コード記述例: <p>筆者のサイト: <a href="<?php the_author_url(); ?>"><?php the_author_url(); ?></a></p>
  • 出力例: <p>筆者のサイト: <a href="http://example.com/">http://example.com/</a></p>
他の言語