WordPress.org

Ready to get started?Download WordPress

Forums

wp_list_authors() and post types (8 posts)

  1. Triple P
    Member
    Posted 2 years ago #

    Four months ago, Hilj wrote:

    Listing authors with wp_list_authors() only lists the authors that have written Posts, not the ones that have written custom post types.

    And he's right, the function would be even greater and more useful if it supported post types. Something for the next release?

  2. meeko
    Member
    Posted 2 years ago #

    I have same problem, on my sites most users only write on custom post types.. It's a bit tricky.

  3. theoutdoors
    Member
    Posted 2 years ago #

    Same here...trying to find a good way to handle this. On my site we only use custom post types, so this function is essentially rendered useless.

  4. It's mentioned in passing here: http://lists.automattic.com/pipermail/wp-testers/2010-June/013351.html

    I'm looking through trac to see if it got picked up. This would be something to add, I think.

  5. schulte
    Member
    Posted 2 years ago #

    Ran into this today -- did it make it into trac?

  6. Nope.

  7. Daniel Fru?y?ski (sirzooro)
    Member
    Posted 2 years ago #

    I've just logged #18791.

  8. Clicknathan
    Member
    Posted 2 years ago #

    Here's a solution involving writing a custom function. I tried it with a custom post type I created, worked like a charm.

    http://cogdogblog.com/2010/08/05/wordpress-authors-list/

Topic Closed

This topic has been closed to new replies.

About this Topic