Missing required field “entry-title”, “updated”, hCard “author” solution
Today I met a problem when I was using google rich snippets testing tool to test one website youtubeexplorer.com
Extracted structured data
hatom-feed
hatom-entry:
entry-content:
90% YouTube Users Don't Know About This Trick Brand new free software helps you to find YouTube movies quickly. Download from CNET From 1 to 1974 YouTube Videos In One Click Who Else Wants...
Error: Missing required field "entry-title".
Error: Missing required field "updated".
Error: Missing required hCard "author".
It is because some wordpress themes don't support hatom-feed.
But wordpress has a default post_class() function which automatically add .hentry class to a single page and front page.
If your website don't have time or author information. You will encounter the problem.
We want to make google like our websites so we should clear all the error information.
I think hatom is not very useful in SEO. So I just want to remove the hentry bla bla.
So here is a simple solution
- Open post-template.php in wp-includes folder
- Find// hentry for hAtom compliance
$classes[] = 'hentry';
- Replace to $classes[] = '';
- That's all.
I remove all the error information now. Check here: https://www.google.com/webmasters/tools/richsnippets?q=http%3A%2F%2Fyoutubeexplorer.com%2F
Comments