Missing required field "entry-title", "updated", hCard "author" solution

2014-04-29 187 words 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

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

author

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. Making GPTs on GPT Search | GPT Finder. This article is licensed under a Creative Commons Attribution 4.0 International License.

We notice you're using an adblocker. If you like our webite please keep us running by whitelisting this site in your ad blocker. We’re serving quality, related ads only. Thank you!

I've whitelisted your website.

Not now

Post Your Comments Here:

Our website uses cookies to improve your user experience. If you continue browsing, we assume that you consent to our use of cookies. More information can be found in our privacy policy Got it