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

出典: WordPress Codex 日本語版

目次

説明

このTemplate Tagを使えば、最後に編集したユーザーを表示できます。このタグは、ループ内で使います。注: the_modified_author は、バージョン 2.8から新しく導入されました。

使い方

<?php the_modified_author(); ?>

用例

最後に編集したユーザーの「表示名」を表示

ユーザーのブログ上の表示名フィールドの値を表示します。

<p>この投稿は <?php the_modified_author(); ?> が書きました。</p>

パラメータ

このタグで利用できるパラメータはありません。

更新履歴

  • 2.8 : 新規テンプレートタグ

最新英語版: WordPress Codex » Template Tags/the modified author最新版との差分

Related

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


他の言語