You didn’t add any code (make sure you add your own code next time because nobody bothers to help you if we have to guess the problem) but Im pretty sure I know what’s wrong.
Straight out of the WordPress codex:
echo get_avatar( $user_id_or_email, $avatar_size, $default_avatar, $alt_text, $args );
You have to echo
it because get_avatar()
doesn’t output it by default.
Also make sure that “Show Avatars” is checked in Settings because it will not return avatar otherwise.
Related Posts:
- Get basic Image Uploader on User Profile Page
- Send mail to user only once when specific check box is selected and updated from profile meta updated by admin
- add custom field in user register form
- Prevent update of custom user profile meta field on the front end after 1st entry
- action user_new_form param is a string
- How do I add a dropdown list of numbers 1 – 1000 as an extra profile field?
- Using xprofile_insert_field
- How to order custom fields in the user profile (admin area)
- Remove fields from WordPress profile
- How $_GET[‘updated’] variable is passed when updating a user?
- Gender based user avatar
- how to save multiple checkbox in usermeta and get it?
- use single form to enter multiple profiles
- user profile replace first name last name with custom values
- add_user_meta() vs update_user_meta()
- How do you update user_email on the front end in WP 3.3?
- Capabilities Vs User Meta
- Problem storing arrays with update_user_meta
- Where the Nickname is being used in WordPress
- wp_get_current_user always returns 0
- get_users is expecting unserialized meta_value
- how to get specific fields from get_user_meta()
- Validating a new user registration field
- Connect Users and Taxonomies
- Upload gravatar in WP profile?
- User meta to post
- How to create virtual pages with information from user meta profile fields?
- very last action before during user registration before he is redirected to homepage
- How to Make admin Sidebar Menu always be Collapse by code
- Extra User Profile Field Upload File / Image
- get_users / WP_User_Query returns empty when logged out
- How to query users by meta value, even when meta key doesn’t exist?
- Add a member number to new user
- Add custom fields to the user profile
- How to get the user description with get_users?
- get current user not working
- No first_name or user_firstname property in WP_User object
- Possible bug: update_user_meta is updating two unique meta entries
- How to display current_user bio
- Store user’s registration date as meta
- WordPress User Profile Upload – If page is saved file reset
- The “Profile Picture” section just disappeared from my User Profile
- update_user_meta() not working
- WP_user_query throws a 404 error
- Incrementally add or substract from usermeta field
- ‘profile_update’ hook alternative for WooCommerce user meta data
- strange issue with user_meta + json_encode/decode
- Inserting and finding multiple values in user-meta fields
- Update user meta on logout
- Adding user data to an existing user_id
- Problem to wp_hash
- Redirecting users based on custom user meta
- Customize Avatar using user meta
- get_user_meta returning old data
- Why does the usermeta table contain html entities?
- How can I programmatically show a specific (template) page, like author.php?
- WP_User_Query not returning users with meta – what am I missing?
- Randomize Users
- “Select your country” landing page. Remember user choice
- How get meta from all users?
- Update user meta without lose of old data
- Show image if author meta (profile fields) exists outside loop
- Test if key is in user_meta array
- Using WP for user management
- Show extra user profile meta for current user
- Pulling member name from WordPress URL
- Update a user profile via frontend
- Add additional Fields for users and get value
- Show global Message in User Profiles with admin only Input field in WordPress Backend
- Give users alternative/second avatar that is rectangle sized
- E-mail Update – Validation
- Parsing a shortcode through an author meta textfield
- How to save a label for an extra user meta field and to display it later?
- Display user meta data from a textarea as a formated text
- Sort users by meta key value even if meta key not present for all users
- Wrong result in fetching User meta of WordPress
- How to display user_meta array as a table?
- how to get users with usermeta include array of an array
- How is it possible to current user info on page in WordPress?
- Delete user meta ( delete_user_meta ) by key without user id
- Why is my Custom User Meta deleted on Profile Update?
- Updating User Profile information removes image
- Edit a user profile field on front end
- How to set a user meta key value based on another user meta key value
- How to get value from radio buttons meta box, and return different contents?
- Changing an array of IDs in the usermeta table to fit different format
- Using wp_login vs login_redirect to redirect based on user-meta
- Saving an array of values (file urls) to update_user_meta()?
- Checkbox not showing as checked on UserProfile (even with checked=”checked”)
- Get meta value and associated user meta
- Store Foreach in user profile
- Allow users to create and store data and retrieve it on login
- How to access User meta data within a plugin
- Using IDX feed to display agent’s and listings with agent’s info associated for Real Estate Website
- how to add radio field on user meta on function.php?
- Custom user meta data [closed]
- WPML – how to translate user profile fields with icl_t()? [closed]
- Creating a Digital Download facility and track downloads [closed]
- Find matches of a variable in custom usermeta
- Can’t display user bio