Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

CountPosts

Mô tả

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/

Cài đặt

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.

Đánh giá

There are no reviews for this plugin.

Người đóng góp & Lập trình viên

“CountPosts” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.