Open hellor0bot opened 6 years ago
Hi! The HTML output generated here is definitely valid HTML.
Please can you elaborate by linking to an example where you are seeing this please and the exact error that Google Search Console is reporting?
Hi, @philipjohn !
Thanks for your response. I'm afraid the HTML isn't valid according to the Schema specification.
WordPress adds hentry
to the post_class()
automatically.
http://microformats.org/wiki/hentry
It says:
author. required using hCard. [*]
The most important here is using hCard:
http://microformats.org/wiki/hCard
It means that the url
and fn
classes must be nested inside the main parent vcard
.
Please see how TwentySeventeen implements it:
If the fn
and url
aren't nested inside the vcard
and author
the Google crawler won't recognise the author structured data and since it's required by the hentry
it will throw errors.
Hello,
Looks like the Co Authors Plus
coauthors_posts_links()
function generates the following markup:It is not recognized by Google and results in "missing author" errors in Google Search Console :(
It should be wrapped inside an element with the "author" and "vcard" classes instead: