WP Author Ranking
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.
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.
A closer look.
- 01Upload the wp-author-ranking folder to the /wp-content/plugins/ directory.
- 02Activate the plugin through the ‘Plugins’ menu in WordPress
- 03Open 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.
- 04ID
- 05user_login
- 06user_nicename
- 07user_email
- 08user_url
- 09user_registered
- 10user_activation_key
- 11display_name
- 12count (page view count)
- 13rank (rank)
Request options
You have four options to require ranking data.
- 14y (year)