<?php
// prepare arguments
$args = array(
'role' => 'Author', // измените на нужную роль
'orderby' => 'display_name', // Order by display name
//'exclude' => array( 2, 5, ), // Remove the two main admins
);
// Create the WP_User_Query object
$author_query = new WP_User_Query( $args );
// Get the results
$authors = $author_query->get_results();
// Output results
foreach( $authors as $author ):
$pattern = '<%1$s class="%2$s">%3$s</%1$s>';
echo '<li class="author author-' . $author->ID . ' author-' . $author->user_nicename . '">';
// printf( $pattern, 'div', 'author-gravatar', '<a href="' . get_author_posts_url( $author->ID ) . '">' . get_avatar( $author->user_email, 96, null, $author->display_name ) . '</a>' );
printf( $pattern, 'span', 'author-name', '<a href="' . get_author_posts_url( $author->ID ) . '">' . $author->display_name . '</a>' );
printf( $pattern, 'div', 'author-description', get_the_author_meta( 'user_description', $author->ID ) );
echo '</li>';
endforeach;
?>