WordPress:Template Tags/the author posts link

来自站长百科
Xxf3325讨论 | 贡献2008年6月25日 (三) 10:33的版本 (新页面: == Description == 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 ...)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航、​ 搜索

Description

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 WordPress:Template Hierarchy of WordPress:Author Templates. This tag must be used within WordPress:The Loop.

Usage

%%% <?php the_author_posts_link(); ?> %%%

Examples

Use Example

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>

Parameters

This function takes no arguments.

Deprecated Parameters

idmode
(string) Sets the element of the author's information to display for the link text.

Related

模板:Tag Author Tags

模板:Tag Footer