!
也想出现在这里? 联系我们
广告位

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

相关函数:

  • the_author()
  • get_the_author()
  • get_the_author_id()
  • get_the_author_link()
  • the_author_meta()
  • get_the_author_meta()
  • the_author_posts()
  • get_the_author_posts()
  • the_author_posts_link()
  • get_author_posts_url()
  • get_the_modified_author()
  • the_modified_author()
  • wp_dropdown_users()
  • wp_list_authors()

给TA打赏
共{{data.count}}人
人已打赏
WordPress教程

WordPress作者文章数量标签:the_author_posts

2021-4-8 23:28:45

WordPress教程

WordPress作者名称标签:the_author

2021-4-9 11:29:04

下载说明

  • 1、微码盒所提供的压缩包若无特别说明,解压密码均为weimahe.com
  • 2、下载后文件若为压缩包格式,请安装7Z软件或者其它压缩软件进行解压;
  • 3、文件比较大的时候,建议使用下载工具进行下载,浏览器下载有时候会自动中断,导致下载错误;
  • 4、资源可能会由于内容问题被和谐,导致下载链接不可用,遇到此问题,请到文章页面进行反馈,以便微码盒及时进行更新;
  • 5、其他下载问题请自行搜索教程,这里不一一讲解。

站长声明

本站大部分下载资源收集于网络,只做学习和交流使用,版权归原作者所有;若为付费资源,请在下载后24小时之内自觉删除;若作商业用途,请到原网站购买;由于未及时购买和付费发生的侵权行为,与本站无关。本站发布的内容若侵犯到您的权益,请联系本站删除,我们将及时处理!
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索