WordPress Read Counter Plugin

Saturday October 4thOpen Source, Scripts Category



WordPress Read/Hit Counter Plugin

When WordPress was in 1.5x tree, I have designed a WordPress theme. But I did not ever made a plugin for it though I have studied much on the plugin development system. Actually it was not needed. Every time I need something, I get it online :-) . But today I thought I should have some hands on experience on WordPress Plugin Development.

So I started with a very simple plugin. Its a hit counter. I think, there may have a lot of, even nicer, such plugins for WordPress. But still I made my one. Its v0.5 release.

Features:

  • It can count number of times a post is viewed (currently do not work with pages)
  • You can view an additional column on Manage -> Post screen. There you will see the number of views of each post
  • You can Enable / Disable counting from Settings -> Read Counter
  • You can Enable / Disable counting on Homepage items. It means, when Disabled, when someone visits your homepage, views/counter will not get changed. So counter will update only when someone reads your single post.

Compatibility:

I have developed this plugin using WordPress 2.6.2. But it is also running fine on 2.6.1. I could not check it on older versions.

Installation:

Installation is simplest. Just upload the readCounter.php to your plugins (wp-content/plugins) directory. Login to Admin panel of WordPress. Activate the plugin from Plugins section.

You can change the settings from Settings -> Read Counter.

Suggestion is appreciated.

Download Plugin

Bookmark: bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

No related posts.

1 Trackbacks/Pingbacks

  1. Pingback: The Capricious Boy » Blog Archive » Some fundamentals to promote your blog and gets lot of traffics on April 9, 2009

9 Comments

  1. Pavlos
    December 11, 2008

    Hello I’m new as a newborn on Wordpress. (actually on web developement too)
    I want to add a simple hit counter on my sidebar
    how can I do that.
    The web page I’m trying to develop is still under construction because as I said I’m new to this and I’m having some small dificulties

    I installed the plugin. activated it enabled it from settings.. now.. where is the magic number I need to see???

  2. admin
    December 11, 2008

    Hello Pavlos,
    after installation you will the magic numbers in Manage -> Posts section.

    I am also releasing a upgrade of this plugin using which you will be able to show the number of hits in your posts too.

    thanks for using it.

  3. A.B. Dada
    January 8, 2009

    Installed it no problem.

    Would love to see an update that lets me post the number of hits in each post. Should be fairly easy to do.

  4. Chris
    January 16, 2009

    Hey ever get any updates to this. Im using it on 2.6.3 but its not showing the count. Would love if it could display how many times it was viewed on the post itself?

    Thanks

  5. kaka
    January 17, 2009

    i have failed to use this plugin. I have tried this for my 2.6.3 version. is there any problem ?

  6. Patrick
    January 31, 2009

    I’v been searching for months to find a plugin that does what your plugin does. I tested many other plugins but they where never perfect.
    Now i have found your plugin and it is perfect. Just what i wanted. Thank you very much for it.
    There was 1 problem with installing it. I needed to make a new field in the database because the plugin didn’t do it. But that was just a small problem. Maybe it needs to be fixed in your plugin. I’m using Wordpress version 2.6.2.

  7. Martin
    November 22, 2009

    Hello
    you can fix litte bug in your plugin
    file: readcounter.php
    line: 95
    now : $text = str_ireplace(‘%x’,$post->post_read_count,$text);
    change to : $text = str_replace(‘%x’,$post->post_read_count,$text);

    chnge: str_ireplace to str_replace

    have nice day

  8. admin
    November 23, 2009

    what is the problem with ireplace?

  9. MD. Fahim Murshed
    January 10, 2010

    I used you plug-in just now in my blog. It’s great.

    You can develop more plug-ins for us.

Leave a comment

wordpress read count - wordpress read count plugin - wordpress add view counter - wp read counter plugin - wordpress views counter - The HungryCoder read counter - wordpress visitor counter - FLAG COUNTER plugin - wordpress read counter plugin - hit counter plugin wordpress - wordpress mobile counter problem - count reads plugin wordpress -

Size

Colors