I would loop through an array with the authors and then get their avatar and save them in a different array. You can use get_users()
to get the users and you already know how to get their avatar.
You can get users using get_users()
by giving it an array with arguments to specify what you need. You can see the available arguments to pass in the documentation for get_users(). This will return an array with users to loop through.
Related Posts:
- Display all authors in a theme template
- Show the most recent post for an author on the author page
- How to add avatar to authors list?
- Show author archive pages for authors with no posts
- Authors Page : A page of authors
- List authors of site with link and gravatar
- Creating distinct pages for author profiles and lists of posts by author
- Get only the author profile picture image url inside a loop
- Custom Author Fields + Existing Taxonomy – Integrating the Two Dynamically?
- Custom Author Loop
- Showing author’s page with no posts
- Show woocommerce products in author archive
- How to link avatar and nickname to profile
- How to add child page to author.php
- Remove admin role from the “Author” user listing on individual post screen
- Display Authors in a grid loop
- Post list based on the page author
- Get avatar of the logged-in user in WordPress
- What does the class look like that is returned from WP_User_Query?
- Is author.php a core file?
- Most recent post is missing from Author page
- Author’s Id from wp list authors function
- Can I Include author login in post class?
- Get 404 when try open author page
- Author Page Create Link to Page That Lists All Author’s Posts?
- Unpublish Authors With not Fulfilled Fields
- Display Authors avatars when more than one author
- How to show list authors with at least five posts published
- How to have certain WordPress settings set by default on a per author basis
- Get top authors for the last 30 days with posts count and avatar
- can’t see information on author page that don’t have posts
- How to fix a specific page (author archive) loading speed?
- How to create many author’s page?
- Yoast SEO plugin open graph add meta tag to fetch Avatar from Author Page
- Author page link in comments is different than in posts?
- if else for custom $curauth-> field
- Exclude Author by ID
- Uncode theme, create author page and author link under the blog
- author.php get current id of author for advance custom field
- How to load locally saved author photos based on author ID
- the_author function is displaying wrong name and url
- How to check if a user (not current user) is logged in?
- Woocommerce: assign an “author” to a product
- Programatically change post author
- Restrict one post per author
- Author page: Comments and Ratings?
- Display Authors Comments on Profile Page
- Display all comments or recent comments per user on author page
- How we can get the author ID by its Name
- How to hide posts count and posts of other users from edit.php for contributors and authors
- wp_list_authors including custom post types
- Author profile visitors in last 7 days in front end without plugins
- Remove /author/ from the author profile url
- Google Authorship on a multi-author blog?
- Change author base slug to user role
- Display Author role in archive or author page
- How to Add Author Editing Capability to Existing Post by Admin
- Hide Author.php template from specific user role
- Author list ‘special’ author first then ‘normal’ author
- hide something in single page if current author has only one post
- get_the_author_meta( $field, 0 ) returns the administrator $field
- Author website URL
- How can I get the author description’s excerpt?
- How to use Buddypress xProfile field as WordPress Bio
- What do you put in child themes author tag?
- Make user as Default contributor for all Blog Posts
- How to list the authors of all revisions?
- Link Author’s Website in Author Bio
- How to set post author to custom post field via front-end form?
- Display emails of users who already posted at least once
- Get author’s first name
- Display only author posts in dashboard all posts panel
- Breadcrumbs – get the author?
- Display author name, outside the loop, if they haven’t published a custom post
- Allow Google crawler to crawl specific Author pages
- Clean links in: the_author_meta(‘description’)
- Add Date and Author to Posts
- How to restrict an author scheduling their post date to a maximum X days ahead from the current date
- Different posttypes for different authors
- Create an Author Page on Registration
- Author template help. How to check if field exists in the profile?
- Disable WordPress Comment Author Name
- Condition within single.php to send an email to the post author
- Display Recent Posts in BuddyPress Profile
- Display All Authors only
- How to reorder the content of the single post?
- Possible to switch between admin view and author view?
- get_comment_author_link not working properly
- Simple Local Avatar Plugin
- Improving Co-Authors Plus Plugin [closed]
- Show Published and Draft posts from Logged in Author
- WHen I click on post author (on frontend) it doesn’t go to author page
- Custom author url and page for another role
- Author social media aren’t shown on the page
- Show text only to the author of the article
- Display Random Post in Author Page
- Show author image at home page latestest posts plugin
- Author Link Not Displaying
- Profile Field In Admin Bar
- Change get_author_posts_url / Author URL via filter