Do you want to replace the Default Gravatar image to custom image that you want to set for all the commenters and users on your website?
Then you land to the right place.
Read also: Modify the Gravatar Size in Genesis
We have posted the guide that will help you to change default Gravatar with Custom image without using the plugin in WordPress.
Below are the guides:
Change Default Gravatar with Custom Image
All you need to do is copy the below code and paste it into your theme’s functions.php file, Then change the path of the image to the path of your default image.
For eg: If I have a image on the folder “img/gravatar.jpg”, what I will do is change the path from “/images/icons/gravatar_logo.jpg” to “/img/gravatar.jpg”.
Code Snippets for Change Default Gravatar
Let us know if you face any error.
Don’t forget to share this Replace Default Gravatar to Custom Image.