How to detect if there's no Gravatar and pust a custom message under Gravatar??
-
So, here’s the problem I’m facing right now:
I’m using WordPressp 3.0.1. I have modified my “Default” Gravatar in the admin dashboard. I have uploaded the default image that I would like to show in the comments section for those who don’t have a Gravatar yet.My question is now: how can I put a custom message under the default Gravatar?
Because I would like to put a link to a “mini tutorial”, sort of a “Learn how to have a Gravatar” under the default Gravatar for those who don’t actually have a gravatar.
If it helps, my custom Gravatar function is this:
function customgravatar ($avatar_defaults) { $myavatar = get_bloginfo('template_directory') . '/images/custom-gravatar.jpg'; $avatar_defaults[$myavatar] = "I.D. Protype Gravatars"; return $avatar_defaults; }
Please, I’d really appreciate it.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘How to detect if there's no Gravatar and pust a custom message under Gravatar??’ is closed to new replies.