Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 7...
I tried putting this snippet in my functions.php add_filter( 'avatar_defaults', 'newgravatar' ); function newgravatar ($avatar_defaults) { $myavatar = get_bloginfo('template_directory') . '/images/default_avatar.png'; $avatar_defaults[$myavatar] = "Locale"; return $avatar_defaults; } A new...
I’ve been trying to set a different width and height using the get_avatar function. I need to set the author’s avatar in single.php to 60×40 size. So let’s say...
I am looking for a way to check if the user has the default gravatar. It doesn’t work if I use a simple get_avatar( current_user_id() ) === false as...
I’m interested in the theory of a user being able to register/upload a gravatar directly in their user account within a hosted WP system. Is this feasible? 4 Answers...
I’m using Simple Local Avatars for uploading custom user avatars. How can I create a frontend page with the avatar upload function? Below please find the code from Simple...
So, I am new to PHP, so I’m hoping to do this with a plugin, if possible. We are hosting on Heroku, this means uploading a local image to...
I want to use local avatar system for my wp website , I want to filter the get_avatar() function so it will return the avatar from my server instead...
I want to add bootstrap img-responsive and img-rounded classes to avatar image when displaying one. But for some reason the class is not displayed when using get_avatar. By WordPress...
By default, WordPress uses Gravatar for user avatars. I’ve created a custom field for avatar uploads, and I’m using this as users’ avatars on various pages in the theme....