Warning: Missing required field "entry-title".
Warning: Missing required field "updated".
Warning: Missing required hCard "author".
Are you facing these errors while checking your rich snippets microformat?
Just add these following codes to your respective file and lines:-
For entry title:
[php]<h1 class="entry-title"><?php the_title(); ?></h1>[/php]
For update:
[php]<h2 class="updated"><?php the_date();?></h2>[/php]
For hcard author:
[php]Author:<p class="author"><span><?php the_author(); ?></span></p>[/php]
The above solution is for wordpress, for custom sites, just replace the code with your own code, like the_title will be replace with your page title etc.
Done, now you will see no warnings in testing your webpage on rich snippets testing tool
Hi dude. How with blogspot? im warning for "Update" and "Hcard" on snippet. What means that?
ReplyDeleteThese warnings are the micro formats warning, You need to solve them if you want that google picks your micro formatted site.
ReplyDeleteThanks. Im done mark up my profile and microformat.. :)
ReplyDeleteGreat. Happy to help :)
ReplyDeleteThe snippet tool is always giving those warning even for many editing trial.
ReplyDeleteWhat warnings is it giving you? And what CMS or framework are you using for your website? Did you tried the above solution?
ReplyDeletethe updated warning they said Missing required field “updated” at the bottom of label link. any help?
ReplyDeletehow to remove update warning for blogspot plz help me
ReplyDeleteFor blogspot you need to do the same
ReplyDelete@3b30bfc9e45aa8709b498642cb1413b1:disqus please try the updated code, it will work for sure
ReplyDeleteThis is so frustrating - I cant seem to fix this error for my self hosted WP blog!
ReplyDeletewhats the error? can you give me a description
ReplyDeleteWhere do i need to place the code (in wordpress)? In what file in the editor and where in the file?
ReplyDeleteyou ll need to edit in the themes editor section, the file may depend on the theme, but I guess you need to edit single.php file, and add the above code in it at appropriate place
ReplyDeleteGoogle is returning the warning you are mentioning but i have confirmed using googles tool that rich snippets is indeed working but it does not show in google results.
ReplyDeleteNot same with wordpress strucrture dude...
ReplyDelete----------------------------------------------------------------------
Put this code after Title Post + before Content Post ( Put via HTML Template )
----------------------------------------------------------------------
on
no idea for this, but my site is also in wordpress I have fixed it, and one more thing these errors doesn't mean that you won't get snippets on google, I am still having author error but still my snippets is been shown on google.
ReplyDeleteFrustrating that there is no solution from Google on this - they simply say "oh look you have errors on your website, that's bad." No suggestions for what to do. Search on Goolge and you say many confused people wondering what to do.
ReplyDeleteI think it's an over reaction from Google and probably not worth worrying about.
thanks a lot
ReplyDeleteany idea for blogger?
ReplyDeleteThanks.. it's worked
ReplyDeleteSo true Ntechi, those errors doesn't have any inpact on your G+ display. I don't know why folks are that concerned
ReplyDeleteFinally i got Google authorship . Thanks to u admin .. hurraaayy
ReplyDeletereally useful... thank you! :-)
ReplyDeleteThanks for post. finally i got it done.
ReplyDeleteThanks it really helped me...
ReplyDeletejob done
i have pasted the code beside in single.php, but don' work.
ReplyDeleteTanks, thanks, thanks............, i have to change my theme, but no tension, i got the solution.
ReplyDeleteI have searching for the respective files in atahualpa theme and i cant find them,Direct me please
ReplyDeleterespective file and lines-- don't understand?/ Where? Help please
ReplyDeleteThanks for the help!
ReplyDeleteI modified the code to include the classes for twentyeleven in functions.php and it still doesn't work....does it take Google time for the updates?
ReplyDelete