Need help with Google Webmaster Tools Errors
-
I have a lots of error on my Google webmaster tools under Search Appearance -> Structure Data
there are two sets of items
1- "hentry" and source is "Markup: microformats.org" and error says: "Missing: author | Missing: updated"
2-"hcard" and source is "Markup: microformats.org" and error says: "Missing: fn"
I am using WordPress.
Can anybody tell me how to fix these errors please.
Thank you
Sina
-
you would need to edit the single.php file.
look for:
<span < code="">class="post_date">`'j F,Y'); ?>`change it to:
<span < code="">class="post_date date updated">`'j F,Y'); ?>then for author look for:</span <>``</span <>````<span < code="">
class``=``"theauthor"``></span <>``or<span < code="">class``=``"theauthor"``></span <>``change to:<span < code="">class``=``"vcard author"``>
<span < code="">class``=``"fn"``>`or
<span < code="">class="fn"``></span <></span <>`</span <>`````
preferably you would copy the existing parent themes single.php file into a child theme and make the edit there/e I should mention that it is common for theme creators to abstract out these functions into less comprehensible formats like this entry from the Avada theme:
| Personally either way I dont bother to fix these particular "errors". But that is mostly because authorship markup ranks nil in regard to what I am up to.Your other option is to delete or comment out the existing related markup and write new or utilize one of many plugins that will address this particular issue.````
-
thank you
do you know what wordpress plugins can solve this issue
sina
-
Id probably go this route for a simple solve. I believe you would want to remove or disable the current handicapped markup.