the_author_posts()

WordPress模板函数the_author_posts输出当前作者发表的文章总数,不包含草稿、私密文章,必须用在The Loop主循环中。

the_author_posts()

函数使用示例

<p><?php the_author(); ?> 共发表了 <?php the_author_posts(); ?> 篇文章</p>

扩展阅读

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

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索