Schema.org: Editing the_post_thumbnail code?
-
Hi there,
I’m working with this code:
<?php the_post_thumbnail('full'); ?>
What I’m trying to do is wrap it in a this tag:
<img>
because I want to add Structured Data Markup like so:<img itemprop="image" class="alignright size-full wp-image-753" alt="" src="image.jpg"/>
Does anybody know how to do this?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Schema.org: Editing the_post_thumbnail code?’ is closed to new replies.