文章訪問計數插件, 說白了就是翻版的 WP-PostViews.
插件下載: 下載 (v1.0.1 2011/05/26 更新)
安裝方式:
1. 解壓縮後, 將 Views 放在 usr/plugins/ 目錄.
2. 後台不用任何設定.
使用語法:
// 輸出訪問次數:
代码: 全选
<?php Views_Plugin::theViews(); ?>
// 輸出最歡迎文章:
代码: 全选
<?php Views_Plugin::theMostViewed(); ?>
代码: 全选
<?php Views_Plugin::theViews(); ?>
代码: 全选
<?php Views_Plugin::theMostViewed(); ?>