WordPress.org

Forums

[resolved] List authors by role (3 posts)

  1. BigJohn
    Member
    Posted 9 years ago #

    I have developing a multiple author site where authors fall into different roles, e.g. (Press Releases, Columnnists, General bloggers). All are profiled as authors.

    Is there an easy way to use the list-author function but only include the authors that occupy a specific role.

    Thanks

  2. MichaelH
    Member
    Posted 9 years ago #

    Not too sure I can address your question but point you to several things:

    1. Don't know if this applies but here Owen Winkler warns "NEVER check anything against a role name":
    http://comox.textdrive.com/pipermail/wp-hackers/2006-January/004161.html
    2. wp-hackers "Select all users with role x" thread:
    http://comox.textdrive.com/pipermail/wp-hackers/2005-December/003630.html
    3. Owen's Role Manager plugin:
    http://redalt.com/wiki/Role+Manager
    4. wp-hackers "Breaking down the Edit_Pages capability" thread:
    http://comox.textdrive.com/pipermail/wp-hackers/2006-January/004150.html

  3. BigJohn
    Member
    Posted 9 years ago #

    Thanks Michael:

    The answer to use the deprecated wp_user_level value is a way of getting around this but requires defining different levels for the differnt author roles and does not appear to be a long term solution.

    Anybody else got any other thoughts?

Topic Closed

This topic has been closed to new replies.

About this Topic