這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

CountPosts

外掛說明

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.

Further Information

More information, the latest updates can found at the http://www.ivandjurdjevac.com/razno/countposts-v-10-wordpress-plugin/

安裝方式

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.

使用者評論

There are no reviews for this plugin.

參與者及開發者

以下人員參與了開源軟體〈CountPosts〉的開發相關工作。

將 CountPosts 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄