diff --git a/includes/helper-functions.php b/includes/helper-functions.php index ccce146..62562e8 100644 --- a/includes/helper-functions.php +++ b/includes/helper-functions.php @@ -160,10 +160,13 @@ function display_featured_image_genesis_add_archive_thumbnails() { $permalink = get_the_permalink(); $alignment = genesis_get_option( 'image_alignment' ); - $image = sprintf( '', + $itemprop = 'itemprop="image"'; + $image = sprintf( '', esc_url( $permalink ), esc_url( $image_url ), - esc_attr( $alignment ) + esc_attr( $alignment ) . ' post-image entry-image', + esc_html( the_title_attribute( 'echo=0' ) ), + esc_attr( $itemprop ) ); echo $image;