add_action( 'genesis_before_entry', 'featured_image_before_entry', 12 ); function featured_image_before_entry() { if ( ! is_singular( 'post' ) ) { return; } $image = genesis_get_image( array( 'size' => 'full', 'format' => 'html', 'attr' => array ( 'alt' => the_title_attribute( 'echo=0' ) ) ) ); if ( $image ) { printf( '%s', get_permalink(), $image ); } }

Main navigation

%d bloggers like this: