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?
- How to remove the author pages?
- Select subscriber as author of post in admin panel?
- Echo author ID in author.php
- Woocommerce: assign an “author” to a product
- How can HTML be allowed in Author Bio?
- Programatically change post author
- Restrict one post per author
- How to get author’s name by author’s id
- Author page: Comments and Ratings?
- Display Authors Comments on Profile Page
- Give Author users the right to embed
- How to get post author name by its ID inside a function?
- How can I publish a post with two or more authors?
- Add admin bar link to edit author
- Display all comments or recent comments per user on author page
- If Else Gravatar Author Picture
- Displaying custom post types in author.php
- Add rewrite endpoint to author page + pagination
- Order the users by the date of their latest post
- What’s a good way to put authors into groups
- Author archive only for custom post type
- Permalink to user profile
- Show Author in custom rss feed
- What is the difference between user_description and description?
- How can an author be subscribed to the posts of another author and receive notifications of the new posts?
- No authors in change author dropdown
- More posts from the current author
- 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
- Display all authors and their only one latest post
- User Published Post Count
- How to make an author archive only for certain user role and show related CPT
- Custom size for image uploaded to custom field in user profile?
- What capability allows someone to change a page’s/post’s author?
- How to get posts without author?
- Allow Content Author to Publish, But Not Edit or Delete
- Just wanted to Pull Author’s Link
- wp_list_authors including custom post types
- Making WordPress author follow button, need missing ingredient
- list author’s posts in author.php
- Get the comment author ID by the comment ID
- Get the terms of a custom taxonomy for a specific author in author template
- Author profile visitors in last 7 days in front end without plugins
- wordpress plugin that show my reputation (points) in any stackexchange project in my wordpress blogs
- How To Remove The Author(s) From Certain Posts
- Is it possible to set/override default the_author_posts_link to login name?
- add capability to author role to be able to delete attachments
- Remove /author/ from the author profile url
- Google Authorship on a multi-author blog?
- Replace Gravatar with img URL for avatars
- Change author base slug to user role
- Get the excerpt for a post created by the related author
- Display Author role in archive or author page
- How to Add Author Editing Capability to Existing Post by Admin
- WordPress Author Page
- get the username of a user in his author page
- Editing the loop for Author pages
- What is wrong with this code?