6
WP 侧栏小挂件:WP Statistics 改版 "文章/访问统计"
source link: https://exp-blog.com/website/wp-gua-jian-statistics/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
由于WP Statistics自带的边栏统计小工具不好看,这是本站在WP Statistics插件基础上扩展的一个WP挂件。其实就是利用WP Statistics统计接口进行重写的一个统计小工具(可再自行修改CSS样式),其效果如下:
此工具需要预装两个插件才能使用:
- Enhanced Text Widget (支持在前端写PHP的小工具)
- WP-Statistics (统计模块,用于借用其统计函数)
使用方法:
1、下载后解压
2、把 statistics.css 拷贝到 Wordpress后台的主题目录下,被style.css引用(或者直接拷贝内容进去style.css也可)
3、在前端打开Wordpress的仪表盘, 外观 -> 小工具 -> Enhanced Text, 把 statistics.html 的内容拷贝进去即可
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK