Wordpress - Show posts number beside authors name? - ex. - author (6)

Discussion in 'WordPress' started by johno123, Dec 20, 2008.

  1. #1
    Is there a way to make the authors name have beside it the number of posts they have posted?

    Like below:

    I would want it like this:

    author1 (7)
    author2 (3)
    author3 (0)
    etc.

    so the user could see how many articles or posts that user has posted at a glance. And be able to click on the number and have it take you to the author page. Which lists the authors posts.


    Is this possible? Maybe a plugin?
     
    johno123, Dec 20, 2008 IP
  2. LindseyInteractive

    LindseyInteractive Well-Known Member

    Messages:
    2,830
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    175
    #2
    Hello,
    By looking at what you are asking it seems it would be a custom plugin, and then once you install the plugin it would be a custom <php include> call.
     
    LindseyInteractive, Dec 20, 2008 IP
  3. johno123

    johno123 Well-Known Member

    Messages:
    1,492
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    130
    #3
    Turns out to be a simple bit of code

    (<?php the_author_posts(); ?>)

    place that beside authors name, it will work..
     
    johno123, Dec 21, 2008 IP