模板标签-the_author_posts_link()

0条评论

说明

该标签显示一个指向某作者所有文章的链接。链接文本为该作者的“公开显示名称”。点击链接的结果由作者模板模板层级决定。该标签必须用在WordPress主循环(loop)中。

用法

<?php the_author_posts_link(); ?> 

示例

显示指向作者文章的链接,默认链接文本为该作者的“公开显示名称”。

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

参数

该函数不接收参数。

停用函数

idmode

(字符串)设置为链接文本而显示的作者信息元素。

发表新评论

此内容将保密,不会被其他人看见。
  • 自动将网址与电子邮件地址转变为链接。
  • 允许HTML标签:<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • 自动断行和分段。

更多关於格式化选项的信息

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.