当前浏览:首页 / WordPress函数 / the_author_posts_link()

the_author_posts_link( string $deprecated = '' )

显示当前文章作者的作者页面的HTML链接

author 作者more...

linkmore...

postsmore...

themore...


参数

$deprecated

(string) (可选) 未使用

默认值: ''



源码

查看源码 官方文档


更新日志

版本描述
4.4.0转换为get_the_author_posts_link()的包装器
1.2.0开始引入

使用示例

  • 示例1

    使用示例
    显示链接,链接文本值为用户的显示名称。

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