您的购物车目前是空的!
the_author_link() 是显示文章作者的网站链接,该链接会加在 the_author() 显示的公开名秒文本中。
网站链接来自 仪表盘 -> 用户 -> 我的个人资料 中的“站点”所填写的值。
我的个人资料“站点”
并且该函数必须使用在 the_loop 中。
<?php the_author_link(); ?>
该函数不接受任何参数。
<p>Written by: <?php the_author_link(); ?></p>
将显示“ Written by: admin”,admin会带上上图“站点”的链接。