WordPress站点统计总体发布文章数/建站天数代码-WordPress主题

摘要:我们在通过用wordpress制作个人主题时,很多时候需要用到站点整体的数据统计,比较网站已经运行了多长时间,一共发布了…

我们在通过用wordpress制作个人主题时,很多时候需要用到站点整体的数据统计,比较网站已经运行了多长时间,一共发布了多少篇原型的文章内容,有多少条评论等,实时的一些展现数据很让访问更加了解我们的网站,以及让我们自身对自己的网站情况有更明确的了解,那今天大挖给大家提供一下wordpress统计里面常见用一些函数,方便大家进行调用。

1、wordpress文章发布总数量:

2、wordpress保存的草稿数量:

3、wordpress整体的评论总数:

4、wordpress建站天数:

5、wordpress全部标签总数:

6、wordpress全部pages页面总数:

7、wordpress全部cat分类总数:

8、wordpress所有的链接总数:

9、wordpress所有的用户总数:

10、wordpress最后的更新时间:

来源:http://www.wazhuti.com/4402.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_12814.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?