the_author_posts_link

Sponsored Link

著者の全ての記事のリンクを表示します。リンクテキストは、フィールドとして公開されたユーザーの表示名です。提示されたリンクをクリックした結果は、著者テンプレートのテンプレート階層によって制御されるでしょう。このタグはループ内で使用する必要があります。

Sponsored Link

原文(翻訳元)Displays a link to all posts by an author. The link text is the user’s Display name publicly as field. The results of clicking on the presented link will be controlled by the Template Hierarchy of Author Templates. This tag must be used within The Loop.

the_author_posts_linkのテンプレートタグ使用方法

<?php the_author_posts_link(); ?> 

使用例

デフォルトのリンクテキストの値は、フィールドとして公開されたユーザーの表示名である、リンクを表示します。

原文(翻訳元)Displays the link, where the default link text value is the user’s Display name publicly as field.

<p>Other posts by<?php the_author_posts_link(); ?></p>

the_author_posts_linkのパラメーター

この関数は引数を取得します。

原文(翻訳元)This function takes no arguments.

非推奨パラメータ

idmode

(string) リンクテキストに表示するための著者情報の要素を設定します。

原文(翻訳元)(string) Sets the element of the author’s information to display for the link text.

関連テンプレートタグ

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

Sponsored Link