Warning: Missing required field entry title | Missing required field updated | Missing required hCard author

  • Share
  • CevherShare
  • Share

 

Some bloggers/web developers facing problem of warnings in Google rich snippet tool. The following are the warning, which are due to problem in title, date and author of the article.

Warning: Missing required field “entry-title”.

Warning: Missing required field “updated”.

Warning: Missing required hCard “author”.

 

Warning message is because of the problem in the following code. you can find this coding in post-single.php

1
2
3
4
5
<?php the_title(); ?>

<?php echo get_the_date(); ?>

<?php the_author(); ?>

 

How to Solve this Google Snippet Warning

Replace the above code with the below code. you can find this coding in post-single.php

Warning: Missing required field “entry-title”. This warning can be solved by

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

 

Warning: Missing required field “updated”. This warning can be solved by

1
<span class="date updated"><?php echo get_the_date(); ?></span>

 

Warning: Missing required hCard “author”. This warning can be solved by

1
2
3
4
5
<span class="vcard author">

<span class="fn"><?php the_author(); ?></span>

</span>

 

 

 

prasad

About prasad

Prasad K has written 111 post in this blog.

26 Responses to Warning: Missing required field entry title | Missing required field updated | Missing required hCard author

  1. Roel Telmo says:

    Thanks, it worked for my home page. I have another question, what about this in my single posts “Warning: At least one field must be set for HatomFeed”? any ideas?

  2. Roel Telmo says:

    I think you forgot to put the class="entry-title" in “h2″ tag… :)

  3. Roel Telmo says:

    Never mind… I’ve manage to resolve it by enclosing it in [html]

    [html]

    :D

  4. Roel Telmo says:

    Sorry…

    I mean…

    <div class="hentry">

    <!-- my post goes here -->

    </div>

  5. Naveed says:

    Thanks for sharing, I have resolved my site snippet warning.

  6. jason says:

    im getting this error,

    hfeed
    Warning: At least one field must be set for HatomFeed.

    i’m not technical so how do i solve this?

  7. I am getting same warning for my website “www.localapps.co”
    “Warning: Missing required field “updated”.”

    I am using the Genesis Child theme. And posts are handled directly by Genesis. I tried the above mentioned procedure using Genesis Hooks (add_filter( ‘genesis_post_info’, ‘post_info_filter’ );).
    But I am unable to solve the issue. Can you help me in this regard?

  8. My mixes says:

    Thank you for you help

  9. nik says:

    Thank you very much for hepl, I got irritated with this warning.. :)

  10. Hi, Thanks, very nice Instruction but didn’t work for me i could not find the below code ()
    i am using I Feature Theme,(http://healthtips4all.com
    please guide me
    thanks in advance

  11. Cath says:

    I get the updated message because I hide the dates on my blog posts because I want visitors not to avoid older posts, so I will have to live with the error.

  12. shasha says:

    Thanks for your help buddy..

  13. Christo says:

    thanks going to try this out and see if it works im sure it will

  14. arafin shaon says:

    i’m having the very same issue mentioned by @Muhammad Shoaib Zafar. do you have any solution for genesis framework?

  15. philipina says:

    thanks for the help
    admin

  16. [...] Snippet search results and is important for SEO. We found that WordPress’ Twenty Eleven theme does not properly identify this data, but we have a quick [...]

  17. Adrian Mora says:

    Thx a lot for your help!!

  18. gspfarr says:

    I found a simple fix that doesn’t require editing the core child files. Inside the plugin “Genesis Simple Hooks”, placing inside “genesis_post_content Hook” with php and shortcodes activated will fix the error.

  19. solotop says:

    I did as instructed but still error Missing required hCard “author”, I was forced to remove it because add code to it add error in more validator.w3.org, and people look at my site and let meplease guide, thanks a lot http://giangp.webchuyennghiep.net/dich-vu-seo-website/