Managing a Website and fixing errors is a full time job. There are many more things other than setting up a website and design it.
One has to keep checking for the errors as they can harm the website rankings in Search Engines. Similar thing happened with me few days ago.
When I logged into the Google Webmaster Tools, I saw there were so many errors in the Structured Data tab which looked something like this.
Structured data is the information formatted in a manner that a Search Engine can understand and how in the search results. And all my webpages were showing the same errors,
I used the Structured Data Testing Tool from Google to find out the errors the pages were showing. These were mainly three fields were missing.
Warning: At least one field must be set for HatomEntry
Warning: Missing required field “entry-title”.
Warning: Missing required field “updated”.
Warning: Missing required hCard “author”.
As the error is showing for all the pages, it means that the these fields are missing in the single page ( mainly single.php in the themes).
Fixing “entry title”
“entry title” displays the Title of the field, You can class the title with this tag
If you are looking for the codes in Twenty Fourteen Theme, you can find them in content.php. They already use “entry title” for their post titles. View this image.
Your theme might be using a different class to display the title. You can simple add the “entry title” like this,
I have used the above code in one of my own blogs, which are using a different class tag. I just added the “entry title” tag to the existing class and it worked. View this image.
Every post contains publishing date, the saturated data looks for “date updated” tag to get the date. So you can add this code to fix this.
Now, your theme might be using a different class to display date on posts, so you can put this “date updated” tag like this,
The Structured data needs the Author of the post, you need this tag “vcard author” and “fn” tag.
You can find the code that is pulling author’s name in your theme and enclose it with these tags like this,
When you add these three elements in post template of your theme, you will see no errors in the Structured Data Tool Test.
Get more stuff like this
in your inbox
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
Thank you for subscribing.
Something went wrong.