WordPress:Template Tags/the author posts link
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.
显示连接到文章作者所有文章的一个链接。链接文本是用户在栏中公开显示的名称。点击当前链接的结果由作者模板的 模板层级控制。必须在The Loop内部使用这个标签。
Usage
用法
%%% <?php the_author_posts_link(); ?> %%%
%%% <?php the_作者_文章_链接(); ?> %%%
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>
<p>Other <?php the_作者_文章_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.
- idmode
- (字符串) 将作者的信息元素设置,显示链接文本。、
Related
相关的
the_author,
the_author_description,
the_author_login,
the_author_firstname,
the_author_lastname,
the_author_nickname,
the_author_ID,
the_author_email,
the_author_url,
the_author_link,
the_author_icq,
the_author_aim,
the_author_yim,
the_author_msn,
the_author_posts,
the_author_posts_link,
list_authors,
wp_list_authors