Show Members with Specific Roles

This is a built-in feature for the Member Directory shortcode. This quick tutorial will show you how to display members in your members list who have a specific user role in your WordPress site.

If you want to show multiple roles seperate each role by a comma, see the following examples.

You can display members who have specific role only, or display all members who have specific roles by seperating the roles by comma.

Example 1: How to Display Subscribers Only?

[userpro template=memberlist role=subscriber]

Example 2: How to Display Subscribers and Administrators?

[userpro template=memberlist role=subscriber,administrator]

Example 3: How to Display Blog Authors?

[userpro template=memberlist role=author]

Was this article helpful?

Related Articles

Leave A Comment?