WordPress:Template Tags/the author posts link
来自站长百科
描述[ ]
显示连接到文章作者所有文章的一个链接。链接文本是用户在栏中公开显示的名称。点击当前链接的结果由作者模板的 模板层级控制。必须在The Loop内部使用这个标签。
用法[ ]
%%% <?php the_author_posts_link(); ?> %%%
例子[ ]
使用例子[ ]
显示链接,默认链接文章参数值是用户公开显示姓名栏。
<p>Other posts by <?php the_author_posts_link(); ?></p>
参数[ ]
这个函数没有参数。
不可以使用的参数[ ]
- idmode
- (字符串) 将作者的信息元素设置,显示链接文本。、
相关的[ ]
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