wordpress的api接口
http://www.brighttj.com/wordpress/wordpress-api.html
http://tangjr.gitbooks.io/brighttj-api/content/index.html
因为本站用了WP-PostViews插件(用来统计文章浏览量的,很好用),所以可以通过wp_postmeta表中的字段来获得文章浏览量,如果没有安装这个插件,那么需要删除SQL语句中与views相关的语句,否则会报错。
wordpress的api接口
http://www.brighttj.com/wordpress/wordpress-api.html
http://tangjr.gitbooks.io/brighttj-api/content/index.html
因为本站用了WP-PostViews插件(用来统计文章浏览量的,很好用),所以可以通过wp_postmeta表中的字段来获得文章浏览量,如果没有安装这个插件,那么需要删除SQL语句中与views相关的语句,否则会报错。