WordPress.org

Support

Support » How-To and Troubleshooting » how to: display number of posts by a contributor

how to: display number of posts by a contributor

  • does anyone know the snippet of code i can use to display the number of posts by anyone particular author or contributor? i have a page of blog contributors and beside each of their names i’d like to display the number of posts they’ve contributed. possibly rank them.

    any help appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The wp-stats plugin here:
    http://wordpress.org/support/topic/62975?replies=8
    will do that. It also does a pile more stuff.
    What you could do is install the plugin and then on the page you want place just the code needed – which is this:
    <div class="wrap">
    <h2>Authors Stats</h2>
    <ol>
    <?php get_authorsstats(); ?>
    </ol>
    </div>

    and
    <?php get_authorsstats(); ?>
    is the actual line that does the stats.

    That a possible solution?

    podz,

    thanks for that. i thought maybe wordpress could do this on its own but this will do just dandy.

    thanks for the tip.

    branden

    podz,

    thanks for that. i thought maybe wordpress could do this on its own but this will do just dandy.

    thanks for the tip.

    branden

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to: display number of posts by a contributor’ is closed to new replies.
Skip to toolbar