In GenesisWP Slack chat, a user asked:
I'd like to display featured image as a background to entry title and post info on home and archive pages. Can anyone point me to any tutorials, please! I've been trying to figure this out myself for the past two hours. Thanks!
genesis_attrfilter can be used to set the URL of featured image (if present) as a background image for .entry-header on archives in Genesis.
While the tutorial has been written for Genesis Sample child theme it should work with minor adjustments in any Genesis child theme.Follow these steps.
Step 1Add the following in child theme's functions.php:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.