=== WP Author Ranking === Contributors: Natsuyasumi Seisakushitsu Tags: author, user, popular, ranking, pageview, unique user Requires at least: 3.0 Tested up to: 4.0 Stable tag: 1.0.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html == 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. == 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. `'; echo '
No'.$rankingData[$i]['rank'].'
'; echo ''.$rankingData[$i]['display_name'].'
'; echo ''.$rankingData[$i]['count'].'pv
'; echo ''; } ?>` = 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. `2014, 'm'=>9, 'cpt'=>'column')); for ($i=0; $i < count($rankingData); $i++) { echo '
No'.$rankingData[$i]['rank'].'
'; echo ''.$rankingData[$i]['display_name'].'
'; echo ''.$rankingData[$i]['count'].'pv
'; echo '
No'.$rankingData[$i]['rank'].'
'; echo ''.$rankingData[$i]['display_name'].'
'; echo ''.$rankingData[$i]['count'].'pv
'; echo '