Title: WP Author Ranking
Author: minojiro
Published: <strong>9 сар 4, 2014</strong>
Last modified: 10 сар 3, 2014

---

Search plugins

![](https://ps.w.org/wp-author-ranking/assets/banner-772x250.png?rev=983601)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/wp-author-ranking/assets/icon-256x256.png?rev=983601)

# WP Author Ranking

 By [minojiro](https://profiles.wordpress.org/minojiro/)

[Download](https://downloads.wordpress.org/plugin/wp-author-ranking.1.0.4.zip)

 * [Details](https://mn.wordpress.org/plugins/wp-author-ranking/#description)
 * [Reviews](https://mn.wordpress.org/plugins/wp-author-ranking/#reviews)
 *  [Installation](https://mn.wordpress.org/plugins/wp-author-ranking/#installation)
 * [Development](https://mn.wordpress.org/plugins/wp-author-ranking/#developers)

 [Support](https://wordpress.org/support/plugin/wp-author-ranking/)

## Description

WP Author Ranking the wordpress plugin provides ranking of the popular blog authors.
Results are depends on page viewing numbers. Getting data, it has options (year,
month, day, post type) to filtering.

## Screenshots

 * [[
 * The setting menu.

## Installation

 1. Upload the `wp-author-ranking` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Open the setting menu, it is possible to set the execution condition.

#### Get the ranking data.

The function “get_wpAuthorRanking()” return the ranking data stored in an array.

This example prints ranking data.

    ```
    <?php
    $rankingData = get_wpAuthorRanking();
    for ($i=0; $i < count($rankingData); $i++) {
        echo '<li>';
        echo '<p>No'.$rankingData[$i]['rank'].'</p>';
        echo '<p><strong>'.$rankingData[$i]['display_name'].'</strong></p>';
        echo '<p>'.$rankingData[$i]['count'].'pv<p>';
        echo '</li>';
    }
    ?>
    ```

#### Informations the ranking data has.

 * ID
 * user_login
 * user_nicename
 * user_email
 * user_url
 * user_registered
 * user_activation_key
 * display_name
 * count (page view count)
 * rank (rank)

Request options

You have four options to require ranking data.

 * y (year)
 * m (month)
 * d (day)
 * cpt (custom post type)
 * exclude (exclude users)
 * sort

This example gets columnist (post type ‘column’) ranking in September 2014.

    ```
    <?php 
    $rankingData = get_wpAuthorRanking(array(
        'y'=>2014,
        'm'=>9,
        'cpt'=>'column'));

    for ($i=0; $i < count($rankingData); $i++) {
        echo '<li>';
        echo '<p>No'.$rankingData[$i]['rank'].'</p>';
        echo '<p><strong>'.$rankingData[$i]['display_name'].'</strong></p>';
        echo '<p>'.$rankingData[$i]['count'].'pv<p>';
        echo '</li>';
    }
    ?>
    ```

Gets totally worst ranking, exclude ID.3 and ID.4 user.

    ```
    <?php 
    $rankingData = get_wpAuthorRanking(array(
        'sort'=>'ASC',
        'exclude'=>array(3,4)));
    for ($i=0; $i < count($rankingData); $i++) {
        echo '<li>';
        echo '<p>No'.$rankingData[$i]['rank'].'</p>';
        echo '<p><strong>'.$rankingData[$i]['display_name'].'</strong></p>';
        echo '<p>'.$rankingData[$i]['count'].'pv<p>';
        echo '</li>';
    }
    ?>
    ```

#### Count pv manually

In default setting, page views are counted at single post page. You also have the
function “count_wpAuthorRanking()” to count authors page views manually.
 This example
counts id-3 user on ‘column’ post type.

    ```
    <?php 
    count_wpAuthorRanking(array('user'=>3,'cpt'=>'column'));
    ?>
    ```

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WP Author Ranking” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ minojiro ](https://profiles.wordpress.org/minojiro/)

[Translate “WP Author Ranking” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-author-ranking)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-author-ranking/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-author-ranking/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-author-ranking/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-author-ranking/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.4

 * bug fix

#### 1.0.3

 * Language: add French language translate. (Thanks Nicolas)

#### 1.0.2

 * Fix: showing setting page properly in wordpress version 3.0

#### 1.0.1

 * Add filtering option that excludes users.
 * Add request option to request worst ranking.

#### 1.0.0

 * 2014-09-01 First release

## Meta

 *  Version **1.0.4**
 *  Last updated **12 жил ago**
 *  Active installations **10+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **4.0.38**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-author-ranking/)
 * Tags
 * [author](https://mn.wordpress.org/plugins/tags/author/)[pageview](https://mn.wordpress.org/plugins/tags/pageview/)
   [popular](https://mn.wordpress.org/plugins/tags/popular/)[ranking](https://mn.wordpress.org/plugins/tags/ranking/)
   [user](https://mn.wordpress.org/plugins/tags/user/)
 *  [Advanced View](https://mn.wordpress.org/plugins/wp-author-ranking/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/wp-author-ranking/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-author-ranking/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-author-ranking/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-author-ranking/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-author-ranking/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/wp-author-ranking/reviews/)

## Contributors

 *   [ minojiro ](https://profiles.wordpress.org/minojiro/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-author-ranking/)