<?php // Wordpress only the_post_thumbnail('thumbnail', array('itemprop' => 'image')); // Genesis $image_args = array( 'attr' => array( 'itemprop' => 'image', ), ); genesis_image( $image_args );
Add schema.org attribute to the featured image
How to add schema.org attribute to the featured image (itemprop:image).