Hi!
I have inserted your code in mine:
//* Add featured image on single post
add_action( 'genesis_entry_content', 'maker_featured_image', 1 );
function maker_featured_image() {
$add_single_image = get_theme_mod( 'maker_single_image_setting', true );
$image = genesis_get_image( array(
'format' => 'html',
'size' => 'featured-image-large',
'context' => '',
'attr' => array ( 'alt' => the_title_attribute( 'echo=0' ), 'class' => 'aligncenter' ),
) );
if ( is_singular() && ( true === $add_single_image ) ) {
if ( $image ) {
printf( '<div class="featured-image">%s<div class="featured-image-credits">'<?php echo do_shortcode( '[caption id="'.get_post_thumbnail_id( $post->ID ).'"]<p>%author%</p>[/caption]' ); ?>'</div></div>', $image );
}
}
}
then the following message appears:
Parse error: syntax error, unexpected ‘?’ in /www/htdocs/w00a8160/gesundheitsrebell_de/wp-content/themes/maker-pro/functions.php on line 281