I would like to use gravatar image as background image for a button. When i use get_avatar function it returns with height width src parameters. But i need only...
  • May 20, 2022
  • 0 Comments
I’ve got an install that’s loading the wrong gravatar and I can’t figure out why. Most confusing is that it’s doing it in the front-end templates AND in the...
  • May 17, 2022
  • 0 Comments
I’m using the avatar_defaults filter hook to filter the default avatar list. For example: function my_avatar_defaults( $avatar_defaults ) { $avatar_defaults['http://example.com/foo.png'] = __( 'Foo' ); return $avatar_defaults; } add_filter( 'avatar_defaults',...
  • May 17, 2022
  • 0 Comments
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...
  • May 17, 2022
  • 0 Comments
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...
  • May 15, 2022
  • 0 Comments
Ok so i have added a custom field inside of the WordPress edit profile field where a contributor and above can add a custom image if they do not...
  • May 12, 2022
  • 0 Comments