is_author()

Sponsored Link

全ての投稿者ページを表示している場合です。

Sponsored Link

原文(翻訳元)When any Author page is being displayed.

is_author(‘4’)

投稿者ナンバー(ID)4のアーカイブページが表示されている場合です。

原文(翻訳元)When the archive page for Author number (ID) 4 is being displayed.

is_author(‘Vivian’)

“Vivian”のニックネームである投稿者のアーカイブページが表示されている場合です。

原文(翻訳元)When the archive page for the Author with Nickname “Vivian” is being displayed.

is_author(‘john-jones’)

“john-jones”のナイスネームである投稿者のアーカイブページが表示されている場合です。

原文(翻訳元)When the archive page for the Author with Nicename “john-jones” is being displayed.

is_author(array(4,’john-jones’,’Vivian’))

ユーザーID 4、user_nicenameが”john-jones”、ニックネームが”Vivian”のいずれかである投稿者のアーカイブページが表示されている場合です。注:配列機能は、バージョン2.5から追加されました。

原文(翻訳元)When the archive page for the author is either user ID 4, or user_nicename “john-jones”, or nickname “Vivian”. Note: the array ability was added at Version 2.5.

is_archive()や投稿者テンプレートを参照してください。

原文(翻訳元)See also is_archive() and Author Templates.

Sponsored Link