Viewing 1 replies (of 1 total)
  • Thread Starter Md Abul Bashar

    (@hmbashar)

    //***Custom Gravatar**/
    add_filter( 'avatar_defaults', 'bourncreative_custom_gravatar' );
    function bourncreative_custom_gravatar ($avatar_defaults) {
         $myavatar = get_stylesheet_directory_uri() . '/images/custom-gravatar.jpg';
         $avatar_defaults[$myavatar] = "Custom Gravatar";
         return $avatar_defaults;
    }

    it’s worked live server. before i’m try in locahost so do not work. thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Default Avatar Image Not Showing’ is closed to new replies.