Add checkbox to Featured Image metabox

This adds a checkbox to the Featured Image metabox.

You can then use the ea_featured_image_display meta value to determine if the featured image should be shown. Ex:

* Featured Image
function ea_single_featured_image() {
$show = get_post_meta( get_the_ID(), 'ea_featured_image_display', true );
if( is_single() && has_post_thumbnail() && $show )
the_post_thumbnail( 'large' );
add_action( 'genesis_entry_header', 'ea_single_featured_image', 11 );
view raw single.php hosted with ❤ by GitHub

Featured Image metabox