This blog will show you how to tackle the Google Warning on rich snippets extracted structured data.
I saw the following errors when I used to test with Google Rich Snippet Testing Tool. It shows that Google is reading our class on time tag, title tag and missing author.
Warning: Missing required field “entry-title”.
Warning: Missing required field “updated”.
Warning: Missing required hCard “author”.
Its very easy to fixed this.
Warning missing required field “entry-title”
To fixed the entry-title make sure your wordpress page/post title has a class “entry-title”. Now if you have customize it to your own theme and have different class just like me then you should not be worried. But just add the class without removing the existing one.
For instance :-
Warning missing required field “updated”
The issue is known to be coming from your time(
sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date updated" datetime="%3$s">%4$s</time></a>',
Warning Missing required hCard “author”
This error comes when you don’t have post the author name in your theme. Copy the below code and paste it into your sidebar,footer or where ever you think it will appear in all the pages. I have keep it in content.php below the title tag.
<span class="vcard author"><span class="fn"> By <a href="https://plus.google.com/+SantoshShahplus/posts" rel="author"><?php the_author() ?></a> </span></span>