Post Views Plugin

By , Sunday, 27th May, 2007

Now I have installed the WP-PostViews (Version 1.10) into my WordPress installation, thanks to Lester ‘GaMerZ’ Chan.

This required all the downloaded files to be uploaded to my Plugin directory, then activate the plugin.

Then I added the required code

Post Views Code 1

anywhere below

Post Views Code 2

in the single.php and the page.php files in my theme folder.

This now adds a statement at the bottom of posts/pages, showing how many times the post or page has been viewed by non-registered members (ie, it excludes me!!).

I also added it to the Main Index Template (index.php) so that the “popularity” of posts can be seen from the main page.

Leave a Reply

OfficeFolders theme by Themocracy