外掛說明
This plugin provides a function to register/output/return a list of the most viewed posts.
Usage
You can use the function kf_get_posts_by_hits() anywhere in the template.
Examples:
Most read
<!-- Return mode (no output), retrieve the 5 most read posts in 31 days -->
<?php
$my_posts = kf_get_posts_by_hits(31,5);
// .. do some magic with $my_posts
?>
安裝方式
As always:
1. Upload the file under your wp-content/plugins directory
1. Activate the plugin
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.1 Fixed some minor bugs.