The google administrator tool reported an error in extracting structured data, which was not found in the past. Recently, I was working on a blog mobile site. I was wondering if this was caused. The error is as follows:
Error: Missing required field "entry-title ".
Error: Missing required field "updated ".
Error: Missing required hCard "author ".
1. Solve Missing required field "entry-title"
In the title <? Php the_title ();?> Add class entry-title to the outer layer
<H1 class = "title"> <? Php the_title ();?> </H1>
Change
<H1 class = "title entry-title"> <? Php the_title ();?> </H1>
2. Fix Missing required field "updated ".
Post time <? Php the_time ('Y-m-D');?> Or <? Php the_date ();?> Add class updated
<Span class = "date"> <? Php the_time ('Y-m-D');?> </Span>
Change
<Span class = "date updated"> <? Php the_time ('Y-m-D');?> </Span>
3. Fix Missing required hCard "author"
<? Php the_author ();?>
Change
<Span class = "vcard author"> <span class = "fn"> <? Php the_author ();?> </Span>
The article is published, indicating that my problem has been solved, but some people on the Internet say that you only need to change single. php. Are you sure you want to test it yourself.
URL: http://www.google.com/webmasters/tools/richsnippets
The figure above has been changed, but it is a single. php page. You can also try it, distribution page, home page, etc.