This is a continuation of my earlier post titled How to add a responsive image above site header in Genesis.
Here's the summary of what the code in this article does:
- displays header.jpg from child theme's images directory above .site-header. This image will be linking to site's homepage and will appear on most pages of the site incl. homepage.
- If a static Page has a Featured Image, that image will be used instead of header.jpg. Again, it will be linking to site's URL.
On the homepage and everywhere other than static Pages that have Post Thumbnails attached:
On a Page that has a Post Thumbnail:
And here's the code. Goes in functions.php.
To view the full content, please sign up for the membership.
Already a member? Log in below or here.