Missing required field "entry-title", "updated", hCard "author" solution
1 min read
Today I met a problem when I was using google rich snippets testing tool to test one website youtubeexplorer.com
Extracted structured data
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
Authored By Jesse Lau
A freelancer living in New Zealand, engaged in website development and program trading. Ever won 1st ranking twice in the Dukascopy Strategy Contest. This article is licensed under a Creative Commons Attribution 4.0 International License.