外掛說明
CountPosts is plugin for WordPress Blog. It’s very easy to install and use.
This plugin count visits on your blog, but not when u are log-in as admin. Also count visits for every post separated, and u know in every moment how many people read your posts. U can see what is the most read post in your blog. Also when u read your posts, CountPost won’t count your visits.
CountPost make u list of the most read post, with hits for every post separated.
Further Information
More information, the latest updates can found at the http://www.ivandjurdjevac.com/razno/countposts-v-10-wordpress-plugin/
安裝方式
1) Add CountPost.php in Plugin folder
2) In Plugins section, click on the activate button for CountPost plugin
3) Add
Code (php)
1.
;
in index.php or single.php (It depending of your Theme you using) somewhere before comments or where ever you like. First and second attribute can be changed.
4) Add
Code (php)
1.
in sidebar.php First attribute is print before visits number, and second is after visits number
5) Add
Code (php)
1.
somewhere when u want to show top list of read posts.
Using TopHitsList(); function
Code (php)
1.
- , $beforeLink =
- ,
2.
$afterLink = - ,$afterLink =
);
Code (php)
1.
2.
- , $beforeLink =
);
4.
5.
6.
/*$beforeAll – print before all.
7.
$afterAll – print after all.
8.
$beforeLink – print before post link.
9.
$beforeRead – print after post link and before hits.
10.
$afterRead – print after hits.
11.
$afterLink – print after $afterRead*/
12.
?>
13.
使用者評論
There are no reviews for this plugin.
參與者及開發者
以下人員參與了開源軟體〈CountPosts〉的開發相關工作。