Support » Theme: Independent Publisher » Completely disabling Gravatar

  • Resolved betheroots

    (@betheroots)



    Hi,

    I was just wondering if it would be possible to add an option to completely disable Gravatar in the theme (stopping any requests to WordPress servers).

    Is there a simple way for me to do this myself?

    Thanks 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Raam Dev

    (@raamdev)

    @betheroots You should be able to disable Gravatar by simply unchecking “Show Avatars” on the WordPress Dashboard → Settings → Reading page. Otherwise, you’ll want to use a plugin to disable Gravatar. Gravatar integration is a feature of WordPress itself.

    That said, I just reviewed the themes codebase again and I see that the theme does make an external call to secure.gravatar.com in /inc/custom-header.php, inside the independent_publisher_get_default_header_image() function, so if necessary can refactor that function. However, changes there would likely break future updates to the theme and I recommend using a child theme.

    betheroots

    (@betheroots)

    Thanks Raam. I’ve uploaded my own header image and so that seems to have done the trick!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Completely disabling Gravatar’ is closed to new replies.