Call us today for more information: 877-840-2640

How to Fix Structured Data Errors Showing in Google Search Console (Webmaster Tools)

By Peter Ehat on December 18th, 2013

Update: New Plugin Available

This new WordPress plugin will help fix your problems with structured data errors showing in Google Search Console (formerly called Google Webmaster Tools). The plugin is cheap and will cost you less than the time it’ll take you to fix it on your own.

For a time, we’ll be offering the plugin for FREE! Just use the coupon code fsde100off at checkout to get the discount.

Get the new plugin!

Is WordPress Causing Errors in Your Search Console (Webmaster Tools)?

If you’re using WordPress as a CMS for your website, be sure you’re doing a few simple things to your markup to avoid Google crawl errors pertaining to structured data (like hentry or hcard errors showing missing author, updated or entry-title designations for your structured data).  In particular, you’ll want to make sure if you include an hentry class for your individual posts (which is a WordPress default) that you also include the proper entry-title, author and updated designations to your markup.  If you don’t, you’ll end up with errors in Webmaster Tools (now called Google Search Console).

We recently found that WordPress based websites may often present incomplete structured data to Google’s search spiders.  This should not affect your organic rankings negatively by much, but it’s worth fixing because having this information can definitely have a positive impact on your rankings.

You’ll notice the errors (after selecting the site in question on your dashboard) in Search Console (Webmaster Tools) under Search Appearance > Structured Data. You will see errors saying that certain pages are:

Missing: author
Missing: entry-title
Missing: updated

It may look something like this within Search Console (Webmaster Tools):


Why This Happens

See these MUST KNOW quick tips now.These errors come because (at least in our case) we have a div section within individual posts that has hentry as a css declared class.  This indicates to Google that this page contains structured data that it can collect for use within search results.  Read more about Google’s structured data usage here.

The errors above simply mean that by using the hentry class, each post is signaling to Google that structured data is available on the page.  The problem is that we’re sending only a partial signal.  Digging into the errors shows us that we still need author, entry-title and updated designations to complete our structured data for the page.

How to Fix It

Fixing the errors can be as simple as adding span tags to your posts where the data shows up, complete with the proper CSS class for each.  I’d recommend searching your site files in the wp-content/themes/{mytheme} directory (where {mytheme} is the name of your theme) for the text “hentry” to get a sense of where the problem might be.

Keep in mind that the issue may spawn from multiple places in your site files and therefore may require updating multiple files.  In most cases, the “hentry” labeled element can be found in your single.php page template, unless you have your site configured to use different templates (in which case you will need to update all the php files that are used for displaying single posts).  I’ve even seen some sites include “hentry” class names for elements on category or archive pages.

Here is a simple example: on our page template (single.php) we had an <h2> tag containing the title like this:

<h2><?php the_title(); ?></h2>

We switched the code to include a class with entry-title like this:

<h2 class="entry-title"><?php the_title(); ?></h2>

This fixes the error by delivering the required entry-title markup designation to the appropriate data.

I then fixed the author error by finding the following (also in single.php):

<?php the_author(); ?>

and changing it to:

<span class="vcard author post-author"><span class="fn"><?php the_author(); ?></span></span>

Notice that the above markup wraps two span tags one inside the other.  That’s because vcard requires at least one child entity (in this case we used fn for field name).  This is enough to satisfy Google’s data demands.

Last, I found this:

<?php the_date(); ?>

And changed it to this:

<span class="post-date updated"><?php the_date(); ?></span>

How to Know If You Fixed It Correctly

Once you’ve done that, you can test your page on Google’s very handy structured data testing tool found here: You’ll need to be logged in to Search Console (Webmaster Tools) to access that page properly.

It should be as simple as that to get rid of those errors.  Please include comments if you’ve found a better way to do this, or have any feedback on your own issues with structured data.

What If I Need More Help?

We’re now offering the cheapest solution available as a simple plugin to help fix structured data errors. You can get the plugin at half price by using the promo code fsde50off at checkout. Save yourself a ton of time and headache by getting the plugin now.

Get the Plugin Now

If you’re still not able to get rid of the errors after following the steps above, you should contact us to speak with one of our developers about getting the issue fixed for you.

Join The Discussion

  • I am using twenty twelve theme and have the (missing author and missing updated) errors. I have a single.php file but none of the above listed are in that file. I checked functions.php also and did not find them there either.

    • Peter Ehat

      What is the URL to your page that is showing errors? We’d be happy to take a look at it for you.

      • I am currently showing 16 structured data errors. Thanks for your help.

        • Peter Ehat

          Can you give me the URL to the page on your website that has errors?

  • I submit my website in Google webmaster and whatever I post them all the same error is coming “Structured Data” and “Missing Author” .If anyone knows please help me…

    • Peter Ehat

      Check the date on the last crawl. It could be that you’re looking at the errors that came up before your site was recrawled.

      • Saima Macfee

        I found on function.php folowing:
        $result[] = sprintf( __(‘Published %2$s’, THEME_NS),
        sprintf( ‘%2$s’,
        esc_attr( get_the_time() ),
        case ‘author’:
        $result[] = sprintf(__(‘By %2$s’, THEME_NS),
        sprintf( ‘%3$s‘,
        get_author_posts_url( get_the_author_meta( ‘ID’ ) ),
        sprintf( esc_attr(__( ‘View all posts by %s’, THEME_NS )), get_the_author() ),

        Structure data error title and update. Please help to solve the issue. Will be glad if anyoen write code for me my site:

  • hi, do i need to apply it to ALL my h1s and h2 in every post?

    • Peter Ehat

      If you update the template, it should make the necessary changes sitewide.

  • oh god, i just read it again, it says on my page TEMPLATE… of course…forget about my last comment

    • Peter Ehat

      I obviously replied to your last comment before reading this one. 🙂

  • many thanks for this post & author, very help to improve your rank on Google, I thinks many website or blog have get down the traffic because of this issue

    • Peter Ehat

      Thanks for the comment. I’m not sure if this has much effect on ranking, but I like to have clean webmaster tools reports, so the simple fix is worth it to me.

  • Shaun Goodall

    How do I know if the errors have been correctly fixed?

  • Thanks for this article. I’ve managed to reduce my errors but not eradicate them completely.

    Most of my errors were coming from the Related Posts section. In my theme, this meant I had to edit related-posts.php. I don’t know how standardised that is, but the info may help someone.

    • Peter Ehat

      Thanks, Erik! Yes, hopefully that’ll help someone else.

  • Victoria

    Hi, I’ve noticed that my errors also pertain to 2 pages I did not know even existed (most likely prior to using an seo plugin on wordpress that changed the urls). Is there a way to get rid of those duplicate pages?

    • Peter Ehat

      I’d be glad to take a look and see if I can help. Can you send me a url for the original page and the duplicate? That’ll give me the context to be able to answer your question.

  • Nice, I was able to fix the most of the issue.. i Mean , on my WP Theme, How do i fix the above errors when they show up for related posts. I mean there is no error in the articles but bellow that, related post (in-built in theme) i am still getting errors. Moreover, same for Tags / Categories.

  • Hi Peter Nice job and came here from google to fix this author Issue only i will do the changes as you said here ,If it worked fine or not worked fine i will come back again and comment .Thanks

  • Hi peter i just tried to fix the bug but i didnt the find the functions you given above .Please help my url is ,Thanks

  • Rehana Arain

    I use Elegant Theme – Foxy. I do not see
    and all other codes in single php. Please help me hoe to fix errors. I see this in webmaster tool:

    hentry Markup: Errors 56

  • Hey Peter, thanks for the article.

    I had my computer guy take a look at my site as I have the error: missing “author” message. I run WP and Thesis theme on my site and he said he went thru all the php files and other files and wasn’t able to locate any loop_php, single_php or any other that contained the_time or the_title, etc.

    It appears I don’t have anything applicable to the entry titles in relation to Thesis. Could it be this only works on the WP’s basic themes? (my site is Insuranceblogbychris dot com.)

    Also, do you think this could be affecting my google authorship as that mysteriously disappeared from the search results in December.

  • I am using twenty twelve theme and have the (missing author and missing updated) errors. I have a single.php file but none of the above listed are in that file.

    • I have the same issue: none of the above fixes (nor a dozen others) apply to my twenty eleven theme. Yet, I still have the errors in the “hatom-feed” area of the google structured data tester:

      Error: Missing required field “updated”.
      Error: Missing required hCard “author”.

  • I am using twenty twelve theme and have the (missing author and missing updated) errors. Can you help me to fix that errors.

  • Hi, i tried changing the code class=”entry-title” but im still getting the errors. Can you help me with this? been bugging me for days…

  • Hi Peter!

    I have the same problem. I have 181 errors Missing: author. Missing: entry-title
    Missing: updated.
    I look in single.php but I don’t know where must to make the changes.

    This is my all content from single.php.


    get_header(); ?>


    Can you help me please? I use The 7 theme,


  • base_init();

    get_header(); ?>

  • 🙁 looking for someone to help … keep getting

    Error: Missing required field “updated” on all my blog posts ..

    and this error message Error: At least one field must be set for HatomFeed. on home page …

  • Hi Peter
    This is something that has been niggling for quite a while. Webmaster Tools says I have 71 errors ier ‘Missing author’, ‘Missing entry-title’ and ‘Missing updated’.
    Using a custom theme in WordPress so not sure I want to meddle with code as it tends to break quite easy from past experience. Any advice/help on this would be great.


  • Hi, I have applied the markups in my template but even after doing so, I can still see the same errors when I test my site at

    Google Rich Snippets

    My site is

    Appreciate if you can point out what I did wrong. Thanks & Regards…

    • Peter Ehat

      Mike, it looks like you are using post-title as the class for your H1 tags on individual posts instead of entry-title. My guess is that it’s in your single.php file in your theme directory.

      Try changing this:

      <h1 class="post-title single">

      to this:

      <h1 class="post-title single entry-title">

      The other tags have similar problems. For example, where you have:

      <span class="meta-author">

      you should have:

      <span class="meta-author author">

      Wherever Google tells you you are missing something, you need to be sure you add a class to the element with the information (data) that corresponds to what Google says you are missing. Here’s your report I’m using:

  • hi,
    i am using wordpress and i can not find the code like you said to switche.
    plz show me detailed.
    many tks!

  • PH

    Hi peter , well i hope u see this and can help me a little please. i already fixed the entry title but no the update or author

    I found this

    ?php if(!x_options(‘disable-date’)){ ?>


    ?php if(!x_options(‘disable-author’)){ ?>

    I dont really know how should i fix those codes :$ i try some things but didnt work.

    If u can enlightme a little i would really apreciated. Thank you very much!

    • Peter Ehat

      That code does not look quite right. If your site does not have both a date and author showing for each post, you’ll want to create one and have it display with the proper designations (as shown in the post).

  • Hi, thank you for the helpful post! I have several -Error: Missing required field “updated” come up when I use the rich snippets tool. I am using a genesis theme. Do you have any suggestions as to how I can fix this? Any help is very much appreciated!
    (Here’s the link:

    • Peter Ehat

      Lori, it looks like you’ve got everything you need except for the “updated” because you don’t have that designated on your categories pages. I think you can fix this by adding the class “updated” to your archive.php or archives.php file. I looked at the link and each entry has a date, but it’s missing the class for updated. Your code on that page for the first entry (as of today) looks like this:
      <span class="date published time" title="2014-03-02T17:06:57+00:00">March 2, 2014</span>
      but it should look like this:
      <span class="date published time updated" title="2014-03-02T17:06:57+00:00">March 2, 2014</span>

  • Hi Peter,

    Like the first post from Virgie Hamilton I am having the same problem using twenty twelve theme with missing author and missing updated errors

    do you have a solution of this theme?

    thnx in advance!


  • I’m getting these messages from Google:Error: Missing required field “entry-title”.
    Error: Missing required field “updated”.
    Error: Missing required hCard “author”.

    I located the php files but I don’t see the code you mentioned.

    • Peter Ehat

      You may have different files used in your theme. Is it a custom theme? You may consider doing a search in your site files for the_author to see if it shows up somewhere else. Once you find the file with the_author in it, you’ll likely spot the others as well.

  • Hi Peter,

    I am using a custom made theme twenty eleven and I have the same problem as the first post from Virgie Hamilton with “missing author and missing updated errors”. I also have a single.php file but none of the suggested is listed in that file. Also functions.php did not have the suggested either.

    Can you help me with the solution like you helped Virgie Hamilton?

    thanks in advance

    Sana Lazaro

    • Peter Ehat

      I suggest doing a search in your theme files for the_author to see if it shows up. Do you have a way to download the files to your computer so you can search through them?

      • Thnx for your reply Peter,

        I have a twentytwelve theme and not a twenty eleven as I did mention before. Also I forgot to inform you about one other small detail.

        The index page has no errors at all – only at the other pages I get the 2 errors. Please check the 2 links below

        I have found the_author in content-status.php

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


        • Peter Ehat

          I’m not seeing any errors in those pages. Have you resolved the issue?

          • Elliat

            I also have a Twenty Eleven theme and have looked in the pages as well as in the site for the_author with no luck! My other wordpress sites are fine with searches – can’t tell if its a problem with this theme or something else is wrong that I can’t find? Your help is very much appreciated!! Thank you!

  • Hi Peter
    Having the same problem as a lot on here, cant see the code you mentioned
    here is my info

  • anmol

    how to fix this error (Authorship is not working for this webpage).
    and tag not working.
    please help

  • Pam

    Hello! Thanks for the great post. I was able to fix majority of my errors. The missing author and missing updated went away on the posts but are still showing up on the pages. I checked the Page Template but did not find an author code or an updated code to change. Any thoughts? Thanks in advance.

  • I did this a few weeks ago and my google webmaster tools is still telling me about the errors. When does it see that I have fixed this?

    • Peter Ehat

      It sounds like you may still have a tag or two to add. What are the errors still showing?

  • I have same problem (Missing: updated). I have not a knowledge about CSS. How do I fix these errors?

    If I use Google Data Highlighter to fix these errors, can I do it using Google Data Highlighter?

  • We did a re-design and have started getting like close to 3000 errors for the same.
    For eg: this link was shown as error.
    But when i test i get the authorship results. can you guide me what is the problem.
    Thanks for writing this post and helping bloggers.

  • Thanks for this. I’d already fixed my author and entry-title errors but was unsure of how to fix the updated one. Applied the fix today so hoping my errors start to decrease when my site is next crawl by google.

    Thanks again!

  • Hi,

    I am facing same problem to all my category pages like( with
    Missing: author
    Missing: entry-title
    Missing: updated). Kindly help to remove these

    • Peter Ehat

      Make sure you update other pages on your site that use entry-title, author or other class names that might create these errors. The best way to find these pages is by doing a global search on all the pages in your website using Dreamweaver, Coda, a terminal (command line) or some other search tool. It’s likely that you’ve got to still update your archive.php file with the same fixes you did elsewhere.

  • Hi Peter,

    in my case, all errors occured on post tag page. like:

    could you please advise how to fix this issue? many thanks


  • Mahdi

    This seems really and helpful.. I have tried to make the changes on but no success so far.. can you help with this?

  • So, this took me a while as it seems that WP has undergone some changes in the way single posts are displayed.

    I too noticed the problem on the Google structured data testing tool, though in my case there was juste the field “updated” missing. As I use the twenty thirteen theme from the WP distribution, my single.php is quite empty. I took a look at the source of the page and founda function responsible for doing the formatting of single posts: twentythirteen_entry_date in functions.php. The relevant line of code is "$date = sprintf( '%4$s',". I added just the word “updated” so it now reads : $date = sprintf( '%4$s',.

    I did another check in the Google tool, and the error message was gone.

    • CoolRunnings

      Hi Thomas, i got the same problem with the same theme. Can you please post the whole sprintf for that issue. i found the line in function.php but i did not know where i must add that “post-date updated” for that.
      Thank you!

  • Sorry, there was a problem with the code-tag. The line should read:

    Original version:
    $date = sprintf( ‘%4$s‘,
    esc_url( get_permalink() ),
    esc_attr( sprintf( __( ‘Permalink to %s’, ‘twentythirteen’ ), the_title_attribute( ‘echo=0’ ) ) ),
    esc_attr( get_the_date( ‘c’ ) ),
    esc_html( sprintf( $format_prefix, get_post_format_string( get_post_format() ), get_the_date() ) )

    Updated version:
    $date = sprintf( ‘%4$s‘,
    esc_url( get_permalink() ),
    esc_attr( sprintf( __( ‘Permalink to %s’, ‘twentythirteen’ ), the_title_attribute( ‘echo=0’ ) ) ),
    esc_attr( get_the_date( ‘c’ ) ),
    esc_html( sprintf( $format_prefix, get_post_format_string( get_post_format() ), get_the_date() ) )

  • Help! I have around 190 Missing:Author errors. My web designer has given up and told me it will just ‘work itself out’. I paid for a customised theme in WordPress. When I run my site through Rich Snippets Tools, it shows it’s fine, except for email verification. I would really like to get rid of these errors. My url is
    Any help you can give me is GREATLY appreciated.

  • Hi Peter! I do need your help! I’ve found on webmaster tools that I have 27 errors: missing author, missing updated. I’m using a child theme and I searched for the code you wrote in your post inside the parent theme but it doesn’t exist. Then I cannot change parent theme to not to lose all the updates. What can I solve these issues? 🙁

  • Thanks for the info. This made it quick and easy to resolve those pesky google crawl errors.

  • Hi peter!
    Thank you for your amazing article. I’ve still got 67 Hentry (All of my posts) errors – Missing “Updated”. I have tried to find the right code in my single.php but couldn’t find it as stated on your site. Are you willing to have a look at my site in order to help me. Probably best to check out one of the posts.

    Thank you in advance!

  • We recently redid our blog and updated to the 2012 version with the same look as our website last week Friday. How long does it normally take Google Webmaster Tools to crawl again in order to determine if all of these structured data errors are gone? If not I’m not sure how to fix as the information is not listed in our single.php to change.

  • Farhan Majid

    Got it working finally! For those who can’t find it in single.php, try finding something similar .. Just remove the code and replace it with the ones given by Peter. Also change the span.title to span.entry-title in stylesheet.

  • Timothy Weaver

    Im having problems getting the missing updated and author cant figurew out how to fix it my url is please help ive tried everything

  • This was amazing tutorial!!
    Thanks for this tutorial!

  • Excellent tutorial. Seems like the perfect opportunity for a paid plugin. Does anyone know of one to fix these structured data errors like missing: author and missing: updated? My site at has lots of errors and I don’t think I’m smart enough to fix them manually

  • BattingPractice

    I have had this issue on my site. This article helped me fix it. But for all the WP newbies like me. If you are having the issue on pages rather than posts you need to make the changes the appropriate page.php.

    • Thanks, BattingPractice–you’re right that finding the info in the page.php may help a lot of people who can’t find it elsewhere.

  • Pradeep Antil

    Hi , I am using thezeenews theme , i am getting the error

    Error: Missing required field “updated”.
    Error: Missing required hCard “author”.

    I didn’t find any the_date() & the_author() in my theme’s php files. Any idea how to resolve this issue.

    Thanks in advance

  • Sugiharto Irwandy

    so do i, i have tried to di alot of way but no change with may there still error

  • Lolly

    Hi Peter!
    I’m using a site (Forever theme) and can therefore only edit the CSS. I tried inputing your code but was still given the error “Missing: updated” in Google Webmaster tools under structured data. I’m kind of a coding newbie so any advice would be greatly appreciated!

    • Hi, Lolly! Thanks for the reply. You’ll need to be able to update the HTML for your theme to fix the errors. Contact us if you need professional assistance with it. We’d be happy to check it out.

    • Is it fixed Lolly or still not?

  • dear sir i am using ipin pro theme and getting errors
    Missing: author
    Missing: updated.

    i am unable to find the date and author in my files. can you please help me to find these and resolve the problem,

  • This is by far the best guide I’ve found for this, I’ve successfully added the title element as above but when I add the date and author elements it’s showing the generated author/date text on the website in plain text. Is it possible to generate this for Google spiders only and not show it on the website?

  • Steve

    How long does it take for Google to stop showing these as errors once the changes are made?

    • ciaciagi

      It typically takes up to a week or so.

      • Steve


  • Quang

    Thank you.I ‘ve done . Demo:

  • Anto ReChargeMarketing

    does any plugin or auto fix for non tech guy? i have site got this error and can not find the similar codes for change at my themes
    Thanks for help me

  • Nice to know thanks.

  • brother i didn’t find this code in my single php file please hep me!!!!!

    • Group Of Oceninfo

      Try to find the_author only

      • brother its still not working their is no the_author in my code

        Please Help in this site

        • KFire TV News

          Hi! Great tips – thanks. Helping me fix over 1000 SEO errors (the same 3 errors on all of over 350 of my pages). For me, 2 of the three functions were found in my functions.php file. The other was in my loop-single.php page.

          So here’s what I did to fix it (which is just a modification of this post’s directions – custom for my theme): –Screenshot attached to this post–

          1) For the entry-title, this was easy. In my loop-single.php file, I found the_title just below a DIV element with the “post_content” class. Changed this easily to what the author of this article suggested. Done.

          2) the_author. This was not found at all in my theme. Instead, I found a custom version of this in my theme’s functions.php file. I only was able to find this because I’m experienced with PHP code. Try and look for unique text that your theme outputs just before the Author, such as the word “Posted” in my theme. So I found the block of text in my functions.php file near the word “Posted” (which was only found 1 time). Then near the word “Posted” I looked through the code and see my theme uses its own function to retrieve the author. So I just added the HTML code the author of this article suggested – before and after my theme retrieves the author.

          3) Same with date as #2 above. I added the code before and after my theme’s custom way of getting the date.

          Then finally inspected the page with Google Chrome’s “View Source” to make sure the HTML was being output properly. Yes, correct. Then I used the Google Code Snippet checker to verify all my stuff was good. All good!

          Thanks again for this helpful article.

  • Jane Peters

    My Studio Press WordPress theme, Lifestyle, does not have either an index, single, or page .php file

  • Prosource Code

    Any solution for Blogger Blogs

  • Jackie Currie

    Hi there, What would missing: fn mean? I have several thousand of those apparently.

  • This is really awesome… I was struggling to understand what is error and how to fix it… Thanks a lot!!

  • allset

    if i do some changes in my wordpress website should i need to resubmit my xml sitemap on google webmaster tool? please i need help to solve this problem on my website Thanks.

  • Vernon Riley

    Thanks for the article – it helped me fix the errors – but some information to add. I’m using an older theme – Atahualpa342. Like others (I suspect) it doesn’t have the code directly in the php files.
    In the case of the title – the theme calls a function post_class in wp-includes/post-template.php (which is general wordpress code)/ So the solution was to add the in the theme round the echoing of the title. I found this location by searching for the position in the theme code where it called the function post_class..
    In the case of the author and update these were sorted by altering options for the theme for the byline and date respectively. Hope this helps. As the post says the data testing tool confirms that you have/haven’t fixed it.

  • Sean O

    Strange on my site, Google is picking up the code on my site, but still giving me the error.

  • Complete Internet marketing

    Thank you for sharing this post….i want to know google webmaster showing 70 of my pages are index and graph shows straight vertical line what does it means do anyone know about this?

  • I had this issue too and found this fix for it

  • Thanks for the tip! This was bugging the heck out of me and I was able to fix all my errors!

  • Asim Mustafvi

    i could not found Author and update , but i post after below tittle , let c what happened

  • Faizi

    i am using wpestate theme on factorypk and getting the error of
    missing :updated
    missing :author
    in google webmaster. i ready your article and try to found all above codes in my,, function.php etc but nowhere found that code. Guide me to solve this problem ASP. Thanks in advance.

  • indiasjob

    I am getting error : “Error: Missing Updated”
    I am using “Frontier” ( Theme But I didn’t find These Code ” ” Please help how this fix error.


    • You may just need to fix the data entry to include the “updated” class on the tag that displays your date. It’s the last part of the article above.

      • Indiasjob

        Thanks for replay i have fixed and will see what happen.

  • Very useful article! I solved this issue adding a code in functions.php but I have to solve “missing updated” for categories. What code should I add in functions.php file? Thanks!

    • Peter Ehat

      I’ve seen comments about this recently. Can you tell me what code you uploaded to functions.php? That would help me understand what might be causing your remaining issue.

    • I’ve seen comments about this recently. Can you tell me what code you uploaded to functions.php? That would help me understand what might be causing your remaining issue.

      • Hi Peter!!! Thanks! Here is the code I added in functions.php of my child theme:

        //mod content
        function hatom_mod_post_content ($content) {
        if ( in_the_loop() && !is_page() ) {
        $content = ”.$content.”;
        return $content;
        add_filter( ‘the_content’, ‘hatom_mod_post_content’);

        //add hatom data
        function add_mod_hatom_data($content) {
        $t = get_the_modified_time(‘F jS, Y’);
        $author = get_the_author();
        $title = get_the_title();
        if ( is_single() || is_page()) {
        $content .= ”.$title.’ was last modified: ‘.$t.’ by ‘.$author.”;
        return $content;
        add_filter(‘the_content’, ‘add_mod_hatom_data’);

        • Made Sujana

          Hi Maria,
          Did you find a solution for the problem “missing update” for categories? Would be much appreciated if you could share. I have the same problem. Thank you.

  • funkdified

    Technically, you should tell Google when the post was last updated, not created:

    <p>Last modified: <span class="post-date updated"><?php the_modified_date(); ?></span></p>

  • Hello,
    I am using oxygen theme on wordpress. I didn’t find the location to put the code to resolve Error: Missing Updated about 4 months ago.

    Please help me to resolve it.

    Screenshot below of my error list…

  • David Kliewer

    Thank you so much for this article. I’ve had lots of “trouble” because google search console would keep producing errors, not for individual blog posts but for the gallery pages like
    Using this article I was able to exactly find out where things went wrong. Fortunately, there was nothing to fix in the theme code because displaying author info was handled by the theme – turns out I had missed a setting that would display the author information not only on single articles but also on pages. TL;DR: Check if your theme offers to put the author bio/info on all pages.

  • Viktorija Panovaite

    Hi, I have the same problem with theme – twenty fifteen, but don’t find single.php or another mentioned file:( How I should fix it?

  • faizifm

    thats good for getting support of all these item i am also going famous of my site

    and thats i have also unique source for ppsc papers

  • faisal

    can some1 help me in resolving this issue??? i’ll be grateful to him/her. 🙂 it is just that i’m a newbie so i dont know a lot about single.php css or whatever,,i hope u understands 🙂 thanksss

  • Milan

    I am not able to solve missing author and update error even after adding those lines

  • Thank you for sharing this article. Really helpful. My website, too is facing the issue. Your article will surely help me resolving the issue. Will let you know soon. Thanks again.

  • iPhoneleaks

    A perfect article to fix the headche issues. Hats off to you dear admin for this post where every newbie find the solution very easily. Once again thanks for your best work. I have many blogs under my name and at starting of every blog, i faced the structured data errors but now i solve those in first attempt. e.g

  • Apk Ipa Free

    Thanks for great sharing. By using your method, i solved structured data errors on my all posts but these errors are still coming at my blog pages.

  • I am getting issue of missing:updated
    What should I do?

  • Thanks for this! I have fixed almost all the Errors now 🙂
    However has anyone experienced the following weirdness

    I have hentry errors appearing but instead of any missing:author etc. I just get a hyphen and no information? Any Ideas what that could be? (see attached picture).

  • Thanks….good tips.

  • James Park

    I am thinking about purchasing this plugin but have a question. Does this plugin work for all the errors?

    Missing: author
    Missing: entry-title
    Missing: updated

  • Kendamatricks

    How did you fix this? I am using the same theme and having the same issue missing:author and missing:updated.

    • Lautaro

      I’m using Pinboard too. In functions.php replace:

      span class=”date”>
      span class=”date updated published”>

      I was able to fix missing:updated in posts but not in blog/page/XX/ (where I am also getting the missing: author).

  • VistaAcademy Dehradun

    hi i have change my theme to universal education theme and after that i am having problem in structured data which shows followings error
    name missing
    Missing: author
    Missing: updated

    will purashing your plugin solve the problem.
    how much it effects serp

  • Shohag Gsm

    hi… my structure data testing tool looks all is good…. but the links show on webmaster error…. when i’am test this its show all is good,,, what is the problem

  • SPiyush Pandey

    Please fix my website errors too:

    I’m too getting these errors 🙁

    Missing: author
    Missing: entry-title
    Missing: updated

  • Hi, when I check the same page url (that shows errors) it shows hentry:all good in the structured data testing tool. Do I still have to do the coding in single.php?

  • hi brother, I am using genesis theme, would you please to let me know the way to fix these: missing author, missing updated! many thanks and wishing you well!

  • Gaurang

    Awesome article very helpful Read Also :

  • Any advice for BLACKROOT theme as I cannot find the mentioned files I need to change ??

  • Very helpful article. I was getting this error for my website Thank You.

  • sarkaripost

    I didn’t find any thing like in single.php page.
    My Website links are:

    Please help me

  • Hi there this is my site with 5,207 error how to fix i am not good in php i know bit HTML.
    as you can see in screen shot.

  • Cuneyt

    Hi today I realised that I have the same problem on my website I tried to fix the reason of the errors as described however it is not fixed yet. Should I wait some time for Google to update their system to see the updated results?

  • I have the same problem with twenty fourteen theme… I couldn’t find
    how to fix it?

  • thank you very much admin… i had fix error on my site with your explanation.

  • Krunal Thinkwik

    hi, i have same problem bt actully i only generated markup code but does not add in site code… thn why it shows error?
    errors shows after generating the code.. through JSON_LD..

  • I can’t find any the_date() & the_author() on my site at

  • This is cool post. I love this post thanks for sharing this. 🙂
    Xiaomi Mi6
    miui 9

  • Hi Peter,
    Great tips, unfortunately the theme on the site I am working on does not have a single.php not any mention of author tags in any of its main files (index, footer, header, comments)

    Could you advise please?

    The site is and has over 200 errors at the moment for hentry

  • Hi, I had the same issue with my new website, so what i did was create a new user account and changed the author of all my published posts to the new account. Hope this works but will wait and see the result.

  • Lenovo Service support

    Hi friend, Im also getting this error, I tried but i couldn’t do. Can you tell the solution for me.

    Structured Data
    Status: 1/28/17
    31 Items with Errors
    on 17 pages

    Data Type Source Pages Items Items with Errors
    hentry Markup: 17 31 31
    LaptopStore Markup: 67 67 –
    LaptopShop Markup: 11 11 –
    WebSite Markup: 1 11 –
    hcard Markup: 1 11 –

    Lenovo Service

  • Lenovo Service support

    Hi friend, Im also getting this error, I tried but i couldn’t do. Can you tell the solution for me.

    Structured Data
    Status: 1/28/17
    31 Items with Errors
    on 17 pages

    Data Type Source Pages Items Items with Errors
    hentry Markup: 17 31 31
    LaptopStore Markup: 67 67 –
    LaptopShop Markup: 11 11 –
    WebSite Markup: 1 11 –
    hcard Markup: 1 11 –

    Lenovo Service

  • Cinema Jagat

    I have tried too many options, but not get any proper solution. Please help…..Currently, I using the viral theme and my url is Please check, whats the problem with my blog. If possible, please visit blog, and checked whats the problem………THANKS

  • Great article and hopefully it works! I tested a page that was giving errors before I made the changes and the Structured Data Testing Tool didn’t pick up any errors, but I can see the errors in GWT. I went ahead and made the changes and will see if GWT picks them up – fingers crossed.

  • Kmaeraya

    Hello! I tried this in my website but it still shows missing author and updated in my home and contact page. Maybe it’s in my content?

  • Rosy Peter

    Thanks for sharing the wonderful information. I have successfully fixed the error for my website.
    with regards
    Lenovo Mobile Service Center

  • Keep getting the error on … what do I do ?

  • Straight Fax

    Nice! this article has helped one of my websites tremendously.

  • SealHVAC

    I had the same issue today and I found something that worked for me. I have the Magazine theme on my site Got the Hatom/hentry remover and it worked . I don’t need author or updated because I use wordpress for pages. Go to to get the plugin.
    Good luck and I hope this helps you guys

  • Hiral Patel

    Thanks for this valuable information i do it and it works in my site

  • Manoj Joshi

    Thanks for this artical really helpful . my research and technology based website was having the ” Missing: updated ” error .

    this help me . thanks again

  • Md Parvej Ansari

    Thank you so much for sharing this article.its Really helpful. My website, too is facing the issue. Your article will surely help me resolving the issue. Will let you know soon. Thanks again.

  • RGSC and Company

    Hello! Does this idea really work? My website, is also facing the same issue and i am very much worried. Thanks for this useful information.

  • Neha Prajapati

    i m facing the same problem in webmaster i have 516 errors. But when checking in Structured data testing tool. There is no error.
    status like
    hentry 0 Error 0 Warning
    and i m using slipstream theme.
    pl assist me.

  • I am using flatsome theme and my website is
    i am getting the error
    Error: Missing required field “updated”.
    Error: Missing required hCard “author”.
    anyone know how to resolve this issue.

    Thanks in advance

  • Pramod Yadav
  • sarah perry

    nice article… really healpful my website ^^

  • LB

    Nice tip to fix structured data errors. It is very helpful.

  • Dan Richardson

    Good Evening,

    Love this plugin, works great for pages and posts. We are trying to develop it another step further to recognize categories, archives, tag pages etc. It currently doesn’t pull the data for those areas. We have developed the following code and are testing. It works in part:

    public function add_structured_data_category($content) {
    $t = get_the_modified_time(‘F jS, Y’);
    $author = get_the_author();
    $title = get_queried_object();
    if ( is_category()){
    $content .= ‘ © Copyright 2017 xxxxxxxx All Rights Reserved | Designed by Company‘.$title->name.’ was last modified: ‘.$t.’ by ‘.$author.”;
    echo $content;

    We are seeing the entry name recognized and part of the ‘fn’ for the author however the author is not being seen in hentry only a partial ‘fn’ hcard entry. Also the update time is not being pulled at all. Quite frustrating and have spent a few days trying to work the kinks out. This code shows properly on the site but does not pull in the Google Webmasters Structured Data Tool. any help would be greatly appreciated.

    Thank you in Advance,

    Dan Richardson

  • I am working on a software solution and technology related blog website and google webmaster showing the same errors. This is really a nice article and helped me a lot to resolve this error from my website – Thanks for sharing

  • davidnorwood

    I was curious why you have not provided the plugin on the word press repository?

  • Haider Watson

    I also have fixed the solution for the siteThe Entertainment Sugar , using this tutorial. thnaks

  • Hi, I have the same problem with theme – twenty fifteen, but don’t find single.php or another mentioned file:( How I should fix it?
    games that don’t use data

  • Managed to fix the author error on With update it gives me the same date as published, although the post is updated more recently.

  • thanks for the great info. i have to use this method on this site

  • AVVN Technologies Pvt. Ltd.

    Thanks For this Informative post…
    But i have some issues when i create data highlighter content the error is “this url is not indexed” Can you please share some ideas about this how can i solve???
    my website is –

  • Hi , I am using onepress theme , i am getting the error

    Error: Missing required field “updated”.
    Error: Missing required hCard “author”.

    I didn’t find any the_date() & the_author() in my theme’s php files. Any idea how to resolve this issue.
    Please help me my website url is:

  • Hector Mendizabal

    Gonna try in my page
    Hentai en español
    Thanks for the info

  • Riverside Dental

    This was a very helpful article. I recently discovered this problem and was wondering why it only seems to be affecting about half of my pages. My website is feel free to give it a look.

  • Coupon4All India

    Hello Guys,

    Thank you for sharing this valuable information, I have used them on my site amd hoping to see issue fixed on my Google Web Master.

    Thank You 🙂

  • Amber Waller 3 Facebook Marketing Tips Your Followers Will “Like”
  • Ashton Fairchild Marketing Checklist for Startups 2017
  • Curt Hopfenbeck Marketing Automation: Denial is NOT a River In Africa!