First of all, congratulations on the great plugin!
Unfortunately I am also having the same problem 🙁
$role = 'Author';
$users_per_page = 6;
$args_users = array(
'orderby' => 'user_nicename',
'order' => 'ASC',
'role' => $role,
'role__in' => $role,
'number' => $users_per_page
$authors_query = new WP_User_Query( $args_users );
$authors = $authors_query->get_results();
foreach ( $author as $autor ):
echo '<p>' . $autor->user_nicename . '</p>';
To display on the frontend a list of site authors, but this list only displays results when we are logged in to the site. I need any level of user, especially a user visiting my site, to be able to see this list of authors without logging in.
How can we solve?