Can not get Gravatar to substitute when no Author Image is available
-
I am using <?php the_author_image(); ?> in my template. The Author Images display, but when no Author Image is assigned to a user, nothing shows. I would like to fallback to the users Gravatar. If the user has no Author Image or Gravatar, it should fallback to the WordPress placeholder avatar.
When I use <?php c2c_the_author_image(); ?> in my template, the page doesn’t render.
Any help is appreciated, thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Can not get Gravatar to substitute when no Author Image is available’ is closed to new replies.