WordPress作者链接标签:the_author_link

WordPress模板标签the_author_link输出带作者主页链接的作者名称,也就是作者在个人资料中设置的“站点”的链接,必须用在The Loop主循环中。

the_author_link()

the_author_link()函数没有任何参数,直接调用即可。

函数使用示例

<p>作者: <?php the_author_link(); ?></p>

扩展阅读

the_author_link()函数位于:wp-includes/author-template.php

相关函数:

阿里云