After my earlier How to display Featured image before entry content on Posts and Pages in Genesis tutorial, a user asked,
I would like to place (different) images above the page title (pages only) but not the featured image, as the 2 will have vastly different aspect ratios. Can anyone advise how to do this?
We can use Advanced Custom Fields plugin to create a Image type field, attach it to Pages and show the corresponding image (if set) on Pages in Genesis.
Step 1
Add a new custom fields group named say, 'Page Meta' and add a Image field named say, 'Page Top Image' in it. Set the group to appear on Pages.
Step 2
Edit Page(s) for which you would like to display the top image and upload/select an image in the 'Page Meta' meta box.
Step 3
Add the following at the end of child theme's functions.php:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.