显示作者的链接或作者姓名。
原型
the_author_link()
描述
如果作者有主页设置,则回显HTML链接,否则只回显作者的姓名。
源文件
路径:wp-includes/author-template.php
<?php
...
function the_author_link() {
echo get_the_author_link();
}
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/the_author_link/