Sorting Users By Roles (On a “Staff” Page, for example)
-
Hi There!
I’m trying to come up with a “staff” page for a WordPress-powered site. Basically I want to sort users by their roles. For example, at the top would be “Administrators”, then “Editors”, and so on.
Is there any way to do this? I tried wp_list_authors but that doesn’t seem to want to do it. :/
Any ideas? I’m assuming I’ll have to write a sql query for this, but if there’s some sort of WordPress-specific way of doing this, I’d love to know. 🙂
Thanks!
- The topic ‘Sorting Users By Roles (On a “Staff” Page, for example)’ is closed to new replies.