alt-text in Header-Picture

Viewing 3 posts - 1 through 3 (of 3 total)
  • #21018
    84ck80n3
    Participant

    Hello and sorry for my english, im german!
    I will use a picture as my header-picture. i upload a picture, write the description, name and alt-text, click on upload and save, and i have a new header-picture. Great!
    But… if i look at the Sourcecode, i see, the alt-text of this picture is just the title of the site and not my written alt-text.
    With the pictures in my content, no problem, but the header-picture is always the same, alt-text is the site-name.
    Do you habe a solution for my problem?
    Thanks a lot!

    #21020
    Daniel Tara
    Keymaster

    The Custom Header is a WordPress core feature and it doesn’t return the image’s alt attribute.

    #21021
    84ck80n3
    Participant

    Thanks Daniel for your answer. At the same time i found it on

    …/wp-content/themes/pinboard/header.php

    on line 20

    <img src="<?php header_image(); ?>" alt=.....

    You can see it on my site: http://www.thecanaryislandsfiles.com/

    • This reply was modified 8 years, 11 months ago by 84ck80n3.
Viewing 3 posts - 1 through 3 (of 3 total)

Tagged: 

You must be logged in to reply to this topic.