Warning: Trying to access array offset on false in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 216
the_author_posts_link() - 显示当前文章作者的作者页面的HTML链接 - WordPress函数 - WordPress动力
当前浏览:首页 / WordPress函数 / the_author_posts_link()

the_author_posts_link( string $deprecated = '' )

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


Warning: Undefined array key -1 in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference-cat.php on line 185

Warning: Undefined array key 4 in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference-cat.php on line 186

Warning: Undefined variable $searchand in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 154

Warning: Undefined array key "650ae00d9c1fad3fccc0887ab9025dcf" in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 223

Warning: Undefined variable $searchand in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 154

Warning: Undefined array key "3743f043ec003c5dec15b1f60f641527" in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 223

Warning: Undefined variable $searchand in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 154

Warning: Undefined array key "90bc51819c89f7657afbc48dce2e8b1c" in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 223

Warning: Undefined variable $searchand in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 154

Warning: Undefined array key "da3fa25e51008d111052e4f7cd1619a4" in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 223

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>