Fix Missing Required Field Google Structured Data Testing Tool

Structured Data Testing Tool

[toc]The structured data testing tool lets you check your markup and make sure that Google can extract the structured data from your page. The tool will display the markup found on a specific web page, as well as a preview of how that page might appear in Google search results. You can also see examples of extracted markup for specific information types. If you’ve created rich snippets for a Google custom search engine, you can also use this tool to preview the results.

For WordPress powered site, this can be happened while checking the single post view or blog index page. The “twentythirteen” supports the Google structured data. You can find it in the content.php for the title and function.php for the author and date structure.

Missing required field “updated”

This means we should add a class name “update” for the post or page date.

<span class="post-date updated">December 14, 2013</span>

Missing required field “entry-title”

This means we should add a class name “update” for the post or page date.

<h1 class="entry-title">The Entry Title Goes Here</h1>

Missing required field “name (fn)”

This is the same warning for Missing required hCard “author”, means we should add an author info for the page and class for the author. Add “author” and “fn” to the author block or link.

<span class="author vcard">
    <span class="fn">John Doe</span>
</span>

or if using anchor:

<span class="author vcard">
    <a class="url fn n" href="#" rel="author">John Doe</a>
</span>

16 comments on “Fix Missing Required Field Google Structured Data Testing Tool

  1. Hi,

    I did look at your solution and I am using a custom made theme twentytwelve and I have the same problem with “missing author and missing updated errors”. I have found the_author in content-status.php but I don’t know how I can add or fix this.

    Hope this can give you more input to help me out and thanks in advance!

    1. Hi Sana
      I am also facing the same problem as i have also used the downloaded template. So if you come to know or you fix the errors then please let me also know how you fixed these errors.
      Thank you

    2. HI SANA,
      BEFORE MY WORDS I WANNA TELL YOU THIS CODES IS RIGHT AND I FOUND MY SOLVE FROM THIS PAGE, (THANKS).

      December 14, 2013

      – COPY YOUR DATE IN YOUR PAGE AND REPLACE IT IN “December 14, 2013” BUT MAKE SURE THIS DATE IS THE SAME DATE IN YOUR PAGE.

      – AFTER THIS COPY THE FINALLY CODE AND PUT IT IN YOUR HTML POST NOT IN THE MAIN PAGE.

  2. Realy Working Right Way is COPY YOUR DATE IN YOUR PAGE AND REPLACE IT IN “December 14, 2013″ BUT MAKE SURE THIS DATE IS THE SAME DATE IN YOUR PAGE.

    – AFTER THIS COPY THE FINALLY CODE AND PUT IT IN YOUR HTML POST NOT IN THE MAIN PAGE..
    Fix Missing Required Field Google Structured Data Testing Tool 4 My Blog *App Store For Pc And Android Mobile*

  3. Hi All, those who are getting the errors like missing entry title, missing author, Missing required field “updated” etc… They can fix their errors easily on their posts. There is a simple solution, install a word-press plugin itempropwp. and your errors will be automatically removed.
    Here is a link which will help you in downloading and installing the plugin
    https://wordpress.org/plugins/itempropwp/

  4. for Structured Data > Product (markup: schema.org)
    i am getting a missing name, A value for the name field is required.for every single item in my e-shop
    i am using woo commerce and buy shop theme
    can anybody help what to do about this?

Create Comment

Your email address will not be published. Required fields are marked *