wordpress Missing required field entry-title updated hCard author

Under google webmaster tools structured data, you may found the following error on your wordpress web pages:

Error: Missing required field "entry-title".
Error: Missing required field "updated".
Error: Missing required hCard "author".

We need to apply following fix in single.php from theme directory

Fix – Missing required field "entry-title"


<h1 class="title"><?php the_title(); ?></h1>


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

Fix – Missing required field "updated".


<span class="date"><?php the_time(‘Y-m-d’); ?></span>


<span class="date updated"><?php the_time(‘Y-m-d’); ?></span>

Fix – Missing required hCard "author"


<?php the_author(); ?>


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

If you prefer not to show up such parameters public, you can hide it from background. Just add the following to functions.php, it’s a solution from wordpress forum.

function add_hatom_data($content) {
    $t = get_the_modified_time(‘F jS, Y’);
    $author = get_the_author();
    $title = get_the_title();
if (is_singular()) {
        $content .= ‘<div class="hatom-extra" style="display:none;visibility:hidden;"><span class="entry-title">’.$title.’</span> was last modified: <span class="updated"> ‘.$t.’</span> by <span class="author vcard"><span class="fn">’.$author.’</span></span></div>’;
    return $content;
add_filter(‘the_content’, ‘add_hatom_data’);


- has written 121 posts.

Leave a Reply

You must be logged in to post a comment.