Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Can you link to a page with featured image?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Thanks, that looks easy. I had a little panic when I thought you wanted the header image linked.
Can you copy the header.php file from the parent theme and put it into your Child Theme folder?
Then edit the ‘header.php’ file from within your Child Theme and replace all of the code with this code: http://pastebin.com/b8X1Hizr
Let us know when you’ve done that.
It works– thank you hugely! One question: will this code work if I employ it the same way on other sites built with Twenty Seventeen? I know so little PHP that I don’t even really know what I’m looking at here….
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
That’s difficult to say, but it should work in other implementations of Twenty Seventeen.
I almost forgot, now that your featured image is wrapped in a link the alternative text of the image should now say “Home page”. This is because your alternative text is no longer describing the image, it is acting as the link text.