WordPress.org

Support

Support » How-To and Troubleshooting » Top authors list with link to author page – how to?

Top authors list with link to author page – how to?

  • I am trying to establish a list of top authors by posts that will sit in the sidebar on the author.php page outside of the Loop.

    Ive read this heplping thread where you can define the number of top posters http://wordpress.org/support/topic/61404?replies=8 (check), where I replaced the author_url link with $user->the_author_posts_link – but that doesnt establish correctly towards the distinct authors pages, but to the current displayed page only (author or single page is the same).

    The code Im using is:
    <li><?php echo '<a href="' . $user->the_author_posts_link . '">' . $user->display_name . '</a>'; ?> (<?php echo $user->postcount; ?>) </li>

    Maybe a second loop wrapping this code is missing, but how can I solve this? Plus Id like to add the rss feed link to it as it does in wp_list_authors.

    Anyone with an appropiate idea?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Top authors list with link to author page – how to?’ is closed to new replies.