Do you want to use the Gravatar image as the favicon in your WordPress website or blog without using any plugin?
Then you land in the right place.
Using the gravatar image as the favicon is the best option for the person who uses his/her website logo or own image in their Gravatar profile.
Here:
We have created a custom function that will help you to display the Gravatar as favicon by only following few steps.
Let’s start it.
Gravatar Image as Favicon
To use Gravatar as the favicon, you need to copy the below code and paste it into your theme’s functions.php file.
After that:
Save the file and view the result in your browser.
Code to Display Gravatar as Image
That’s it.
Hope it helped you because the code is 100% working for us.
If you face any error or have some opinion then let us know in the comment section.
Don’t forget to share this Display Gravatar Image as Favicon guide.