Support » Theme: Highwind » How to change alt image on my blog

  • Hello Everyone !

    I need help about my gravatar, I would like to change the alt text of the image but I don’t know to do it on my blog.

    You can see my blog here.

    Thank you very much !

Viewing 1 replies (of 1 total)
  • Capobis


    The avatar is added by function highwind_site_title in highwind-template.php. There you’ll find a method called get_avatar which is part of the WordPress API.

    Check out the documentation. The fourth argument $alt is used to set the alt-tag for the gravatar. It defaults to get_bloginfo( 'name' ) in highwind.

    So if you want to alter the alt-tag, either change the code in highwind_site_title or create a child theme and properly override it. I’d recommend the child theme approach, because otherwise your changes will get lost on a theme update.

Viewing 1 replies (of 1 total)
  • The topic ‘How to change alt image on my blog’ is closed to new replies.