Here is the code how i call the avatar on my posts:
<?php echo get_avatar( $post->post_author, $size="150"); ?>
You can also define a default avatar if user has no avatar.
Related Posts:
- Removing Gravatar.com support for WordPress and Simple Local Avatars
- Alternative to using get_avatar function?
- Using Heroku, need to have non-gravatar avatars, but not stored locally
- How to check if gravatar of user is the default’s one?
- Setting different width and height for gravatar
- How to get gravatar url alone
- Replace default avatar
- Listing all users by their avatars in wordpress
- How to output nothing instead of default avatar?
- get the avatar url instead of an html img tag when using get_avatar?
- show author avatar
- Prompt users to Upload Avatar on Registration
- Assign a random avatar to every user?
- Display avatar of user profile when logged in
- get_avatar() default image not working as of wp 3.5 [closed]
- How to restore $args for get_avatar custom “class”?
- Displaying avatar of a user
- Force users to display default Gravatars
- Change wordpress default avatar with custom plugin
- Conditional avatar
- How to get authors avatar
- Which Function Displays The Post Authors Gravatar
- show list of latest comments for each post in a loop
- How do I accesss gravatar?
- Gravatar – Default IMG
- How to change users avatar with specific e-mail addresses
- Return WP avatar inside a function
- Hexagon avatar with get_avatar()
- Adding avatars/gravatar to a WordPress blog
- How to give users a fixed gallery of avatars to choose from?
- get_avatar_url() how to reset the default image
- get_avatar() returns image with margin-bottom
- WordPress User Gravatar images not displaying. Loading default instead
- WP User Avatar preview for users
- Retrieve meta_value from add_comment_meta
- Broken Gravatar images in comments
- get_avatar not working
- How to display user’s avatar on the top of main menu in WordPress admin panel?
- list all authors outside of loop with photo from /uploads
- How do I get the avatar URL instead of an HTML IMG tag when using get_avatar?
- What should I do to make generated avatars different for anonymous comments?
- Add aditional class to get_avatar when showing image
- Frontend Simple Local Avatar upload
- Upload gravatar in WP profile?
- Wrong gravatar showing up?
- Alternative default avatar generator?
- Inserting PHP before a menu element, while using the inbuilt menu function wp_nav_menu()
- Get only the author profile picture image url inside a loop
- How to replace any occurence of Gravatars with a local placeholder image?
- How to make gravatar.com avatars conditional?
- remove_filter( ‘comment_author’, ‘floated_admin_avatar’ ); doesn’t work
- Displaying Logged-In User Name and avatar in WordPress Menu
- Changing default Buddypress avatar affects all site avatars (because gravatar)
- Replace comment avatars and links at the same time
- Cannot get local avatars to show [closed]
- How to link avatar and nickname to profile
- How to change avatar of the comment author using comment ID?
- woocommerce allow users to select or use avatar
- get_avatar won’t show uploaded avatar, only default gravatar
- custom avatar removal
- Adding custom class to get_avatar() image doesn&https://wordpress.stackexchange.com/https://wordpress.stackexchange.com/#39;t work
- Setting the profile picture from another field
- Getting the current author (it has changed) of a post, not the original author
- custom default avatar showing broken link
- How to change user`s avatar?
- Disable Gravatars in WordPress
- upload or auto setup feature photo by user avatar
- Best way to tell if a comment is from a user?
- How to set custom avatar for users?
- How do I get a post author’s image/avatar via RSS from another blog?
- How can I display other user avatars on an author profile page?
- Custom avatars in wordpress comments?
- Change admin avatar only (without Gravatar or plugin)?
- How would I be able to use a font awesome icon as a user’s avatar?
- Moving the WordPress dashboard avatar over the admin menu
- Avatar picture does not display when using get_avatar
- Display Authors avatars when more than one author
- Simple Local Avatar Plugin
- How to use author’s avatar as Facebook post preview image when a single post is shared
- Change the avatar ratio in bbPress login widget
- How do you remove the buddypress group avatar from the activity stream post? [closed]
- How to show avatar of current logged in user in a widget
- get_avatar() is not working in my custom theme
- How is it possible to current user info on page in WordPress?
- List of all authors avatars
- WordPress Custom Local Avatar not showing in comments
- Array for WordPress Avatar Size and Class
- WordPress User profile with Avatar upload on the front end without plugin?
- WordPress get_avatar filter to match logins
- Yoast SEO plugin open graph add meta tag to fetch Avatar from Author Page
- User avatar-ACF fields
- How to override get_avatar() function?
- How to have a specific image show up for everyone who comments?
- Show custom default avatar instead of gravatar
- How to update avatar in buddypress programmatically? [closed]
- avatar displays outside of targeted area
- Change the avatar ratio?
- How to load locally saved author photos based on author ID
- Convert User’s Avatar/Gravatar to a jpg or png on the Fly
- Displaying an Uploaded Image as a Custom Avatar in WordPress