PHP code for Author Widget in WordPress
Hi friends, in this post I would like like explain how to write php code in author widget in wordpress blog. In earlier we learned about how to create WordPress widgets and execute PHP Code in WordPress Widget, this post is extended to earlier posts.
Open website https://en.gravatar.com/
Login to website and manage profile images
If you want to insert new image then go to https://en.gravatar.com/gravatars/new
Now you will successfully created image for your account. In the earlier post I have explained about execute php code in wordpress widget. So now in your wordpress widget write the below code to get the image for author.