Add Featured Image at top of Single Post/Page in Genesis
One of the latest themes from Genesis has the ability to show the featured image that is set to appear at the top of a post or page, the setting is shown in the Customizer and is enabled by default – here is how you can use this in any Genesis theme.
It is best to modularize the customizer and image functions into respective files but you can add the whole thing in functions.php.
Add the Customizer Fields and Settings
So add in the Customizer controls
Add in the function to add the Featured Image
If you wanted the image to appear before the header you would change the add_action hook to genesis_entry-header
Doing It Alone
If you didn’t care about the customizer control you can just add the featured image to the post with this amended snippet…
Using Custom Image Sizes
For any image sizes outside of thumbnail, medium or large you need to pass in the size and crop values in an array like this…
size => array(300, 450, true),
So you pass in width, height and whether or not to hard crop; true for yes and false for no.