Linux 软件免费装

Plugin Name

开发者 Ivan Djurdjevac
更新时间 2008年10月3日 20:54
PHP版本: 1.5 及以上
WordPress版本: 2.6.2

标签

statistic count visitors count top 10 post

下载

详情介绍:

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.

安装:

  1. Add CountPost.php in Plugin folder
  2. In Plugins section, click on the activate button for CountPost plugin
  3. Add Code (php)
  4. <?php HitThisPost(�Hits for this post:�, �); ?>;
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. <?php mainCounter(�Visits: : �, � .�); ?>
in sidebar.php First attribute is print before visits number, and second is after visits number 5) Add Code (php)
  1. <?php TopHitsList(); ?>
somewhere when u want to show top list of read posts. Using TopHitsList(); function Code (php)
  1. <?php function TopHitsList($beforeRead = � (�, $afterRead = � ).�, $top = 5, $beforeAll = �
      �, $beforeLink =�
    • �,
    • $afterLink = �
    • �);
Code (php)
  1. <?php
  2. function TopHitsList($beforeRead = � (�, $afterRead = � ).�, $top = 5, $beforeAll = �
      �, $beforeLink =�
    • �,$afterLink = �
    • �);
    • /*$beforeAll - print before all.
    • $afterAll - print after all.
    • $beforeLink - print before post link.
    • $beforeRead - print after post link and before hits.
    • $afterRead - print after hits.
    • $afterLink - print after $afterRead*/
    • ?>