Location: PHPKode > scripts > post - views > post-views/readme.txt
=== Plugin Name ===
Contributors: violetcharm
Donate link: http://ziming.org
Tags: post,views,analytics
Requires at least: 2.8
Tested up to: 3.0.1
Stable tag: 1.6.1

A plugin logging how many times your post/page has been visited.

== Description ==

A plugin logging how many times your post/page has been visited, comparing to other congeneric plugins, it logged the bots(search engine), and show it as indexed indicator.

[Demo](http://ziming.org)

== Installation ==

1. Unzip the archive and put the 'post-views' folder into your plugins folder (/wp-content/plugins/).
2. Activate the plugin from the Plugins menu.

== Usage ==
1. Add the following code to you template's single.php and index.php or another place where you want to show it.

if(function_exists('get_post_views')) {  _e(' , Views: '); echo get_post_views('normal');     } 
 
if(function_exists('get_post_views')) {  _e(' , Index: ');  echo get_post_views('robot');      } 
 
if(function_exists('get_post_views')) { _e(' , Today Views: '); echo get_post_views('normal','today');} 
 
if(function_exists('get_post_views')) { _e(' , Week Index: ');  echo get_post_views('robot','week'); } 
 
php if(function_exists('get_post_views_time')) {  
              _e('Last indexed : ');  echo get_post_views_time('robot','m-d H:i:s');
} 
 
php if(function_exists('get_post_views_time')) {  
              _e('Last viewed : ');  echo get_post_views_time('normal','m-d H:i:s');
}
 
The parameter 'm-d H:i:s' can be changed to your favorite format: such as 'Y-m-j H:i:s'.

For external invoking pls visit [Advanced Usage](http://ziming.org/dev/post-views/usage)

2. You can add a 'post-views' widget to you sidebar, it includes 'most view','least view' and so on.

= Changing the CSS =
No till now.
== Screenshots ==
1. most/least views
2. normal/bot views
3. dashboard
4. option
== Frequently Asked Questions ==
No till now.
== Changelog ==
2010-11-10  version 1.6.0  new features.
2010-11-08  version 1.5.0  new features.
2010-11-02  version 1.2.3  fixed a bots logging error.
== Upgrade Notice ==
No till now.
Return current item: post - views