• hi i am using frontier theme . i am trying to get authorship verification by google and is having this error

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

    i dont know how to solve this issue. i searched the web and found that i have to change the single page php. and change the php like this
    Fix Missing required field “updated”
    look for the code below on your WordPress theme’s single.php file.

    001
    <span class=”post_date”><?php the_time(‘j F,Y’); ?></span>
    then add “date updated” attribute to it. Your code should look like

    001
    <span class=”post_date date updated”><?php the_time(‘j F,Y’); ?></span>
    Fix Warning: Missing required hCard “author” and Missing required field “name (fn)”
    This will fix these 2 warnings. On your WordPress theme’s single.php file, look for

    001
    <span class=”theauthor”><?php the_author_posts_link(); ?></span>
    or

    001
    <span class=”theauthor”><?php the_author(); ?></span>
    replace it with

    001
    <span class=”vcard author”>
    002
    <span class=”fn”><?php the_author_posts_link(); ?></span>
    003
    </span>
    or

    001
    <span class=”vcard author”>
    002
    <span class=”fn”><?php the_author(); ?></span>
    003
    </span>
    i searched my theme php but dont find these lines . any one can help

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error: Missing required field "updated’ is closed to new replies.