Title: Post Ranking View
Author: Leo Baiano
Published: <strong>5 Tháng 1, 2014</strong>
Last modified: 15 Tháng 1, 2014

---

Tìm kiếm plugin

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.

![](https://s.w.org/plugins/geopattern-icon/post-ranking-view.svg)

# Post Ranking View

 Bởi [Leo Baiano](https://profiles.wordpress.org/leobaiano/)

[Tải về](https://downloads.wordpress.org/plugin/post-ranking-view.1.1.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/post-ranking-view/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/post-ranking-view/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/post-ranking-view/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/post-ranking-view/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/post-ranking-view/)

## Mô tả

This plugin generates a list of more pupulares posts based on the number of visits
the post received. The plugin uses cookies to ensure that the user’s visit is counted
only once in each post, making the manipulation of the ranking.

You can set how many posts will be displayed in the ranking set that only posts 
from a particular CPT or a particular category will be taken into consideration,
among other settings.

#### Contribute

You can contribute to the source code in our [GitHub](https://github.com/leobaiano/Post-Ranking-View)
page.

## Cài đặt

To install just follow the installation steps of most WordPress plugin’s:

e.g.

 1. Download the file lb-back-to-top.zip;
 2. Unzip the file on your computer;
 3. Upload folder post-ranking-view, you just unzip to `/wp-content/plugins/` directory;
 4. Activate the plugin through the `Plugins` menu in WordPress;
 5. Be happy.

#### Showing the ranking of posts

To display a list of posts you have two options:

1 – Let the plugin generate the HTML

2 – Save an array with the data in a variable

#### Parameters of the function

    ```
    <?php
        displayRanking( $amount, $post_type, $category, $print, $thumb );

        $amount - Amount of posts to be displayed. Default = 5
        $post_type - Type of post that should be considered in the ranking, if not set all kind of posts will enter the ranking. Default = null
        $category - Category that should be considered in the ranking, if not set posts from all categories will enter the ranking. Default = null
        $print - Sets whether HTML is returned or an array with the posts ranking. Default = null ( display HTML )
        $thumb - Show thumbnail or not - true to display thumbnail, default false
    ?>
    ```

## Hỏi đáp

  How do I change the look of the list of posts?

The plugin does not bring any CSS style for the list of posts, the visual follows
the style sheet theme, so to change the look just customize the CSS of the theme.

  How do I change the amount of posts being displayed in the rankings?

The first parameter of the function to set the number of posts by default 5 posts
will be listed, but if you want to change this value just set the value in the first
parameter. For example, if you want the 10 most viewed posts are displayed use the
following code to call the ranking:

    ```
    <?php
    if ( function_exists( 'displayRanking' ) ) {
    displayRanking(10);
    }
    ?>
    ```

  How to display the thumbnail of the post?

To show the thumbnail you need to set the parameter to true $ thumb, below an example
of displaying the ranking with thumbnail image:

    ```
    <?php
    if ( function_exists( 'displayRanking' ) ) {
    displayRanking( '', '', '', '', true );
    }
    ?>
    ```

## Đánh giá

Không có đánh giá nào cho plugin này.

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

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

Những người đóng góp

 *   [ Leo Baiano ](https://profiles.wordpress.org/leobaiano/)

[Dịch “Post Ranking View” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/post-ranking-view)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/post-ranking-view/), check
out [SVN repository](https://plugins.svn.wordpress.org/post-ranking-view/), hoặc
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/post-ranking-view/)
qua [RSS](https://plugins.trac.wordpress.org/log/post-ranking-view/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.1 2014-01-15

 * Including the option to show the post thumbnail

#### 1.0 2014-01-04

 * Creation of the plugin, the initial version.

## Meta

 *  Phiên bản **1.1**
 *  Cập nhật lần cuối **12 năm trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 3.8 hoặc cao hơn **
 *  Đã kiểm tra lên đến **3.7.41**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/post-ranking-view/)
 * Thẻ
 * [popular](https://vi.wordpress.org/plugins/tags/popular/)[popular posts](https://vi.wordpress.org/plugins/tags/popular-posts/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/post-ranking-view/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

[Your review](https://wordpress.org/support/plugin/post-ranking-view/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/post-ranking-view/reviews/)

## Những người đóng góp

 *   [ Leo Baiano ](https://profiles.wordpress.org/leobaiano/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/post-ranking-view/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](http://lbideias.com.br/donate)