Plugin Directory

CountPosts

CountPosts - Plugin for counting visit for every post separately.

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 = ‘
  • ’); Code (php) 1. 2. ’, $beforeLink =‘
  • ’,$afterLink = ‘
  • ’); 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.

    Requires: 1.5 or higher
    Compatible up to: 2.6.2
    Last Updated: 2008-10-2
    Downloads: 4,641

    Average Rating

    5 stars
    (2 ratings)

    Support

    Got something to say? Need help?

    Compatibility

    +
    =
    Not enough data

    0 people say it works.
    0 people say it's broken.

    0,1,0