Genesis Grid – move images above title

/**
 * Genesis Grid - Move images above title
 * @link https://www.billerickson.net/code/genesis-grid-move-images-above-title/
 */
function be_genesis_grid_move_images() {

	// First, we make sure we're in the grid loop.
	if( ! apply_filters( 'is_genesis_grid_loop', false ) )
		return;

	// Move image above title
	remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );
	add_action( 'genesis_entry_header', 'genesis_do_post_image', 8 );
}
add_action( 'genesis_before_entry', 'be_genesis_grid_move_images' );

Bill Erickson

Bill Erickson is the co-founder and lead developer at CultivateWP, a WordPress agency focusing on high performance sites for web publishers.

About Me
Ready to upgrade your website?

I build custom WordPress websites that look great and are easy to manage.

Let's Talk