Support › Forums › Flex Theme › FEATURED IMAGE › Reply To: FEATURED IMAGE
June 14, 2015 at 1:30 am
#297
Moderator
Add the following code in your functions.php file
add_action( 'genesis_entry_content', 'genesis_do_post_image_single_post', 8 );
function genesis_do_post_image_single_post() {
if( ! is_singular('post') )
return;
$img = genesis_get_image( array(
'format' => 'html',
'size' => 'full',
'context' => 'archive',
'attr' => array('class' => 'aligncenter'),
) );
if ( ! empty( $img ) )
printf( '<p>%s</p>', $img );
}
====================
Title:
Are you adding the title in WP Editor? Do not need to add it there. Title will automatically come on Single details page.