List all the ‘Authors’, with WP_User_Query

Go to source

From: wpsnipp.com
By:

Introduced in WordPress 3.1, the WP_User_Query class allows you to query the wp_users, and wp_usermeta tables. This allows you to create lists of authors that match a certain criteria (in this example, the role of author), and display information about each user.

The following code lists all the ‘Authors’, showing for each author its Gravatar, name with a link to an archive of their posts, and their bio.

link: List all the ‘Authors’, with WP_User_Query


List all the ‘Authors’, with WP_User_Query is a post from: wpsnipp.comWordPress Snippets, Code, Hacks, 615+ for your wordpress theme or blog.