WordPress.org

Ready to get started?Download WordPress

Forums

Live Wire
Warning: Missing required field “updated”. (7 posts)

  1. elasticcow
    Member
    Posted 8 months ago #

    I'm encountering this error when I scan my site using Google's Structured Data Testing Tool. I've searched all over the code to remove this issue but I cannot seem to find it. Can anyone help?

  2. Sami Keijonen
    Member
    Theme Author

    Posted 7 months ago #

    Where is it suppose to be and why?

  3. elasticcow
    Member
    Posted 7 months ago #

    This is just my understanding but I believe it let's google know when the post was last updated. The date of the post will begin to appear in the excerpts on the search engine. Here are a couple links about it but all the fixes only work with other themes:
    http://technotes.khitrenovich.com/fix-missing-required-fields-warnings-rich-snippets-testing-tool/

    http://www.ilmigo.com/fix-hfeed-warning-field-set-hatomentry.html
    Try running another site with this theme through the tool:
    http://www.google.com/webmasters/tools/richsnippets

  4. Sami Keijonen
    Member
    Theme Author

    Posted 7 months ago #

    I'm going more in schema.org markup so there will be no update for this *updated* issue.

  5. xantygc
    Member
    Posted 5 months ago #

    in content.php add in 22 line <span class="updated"> around [entry-published]

    my line 22:

    <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Publicado por [entry-author] el <span class="updated">[entry-published]</span> [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'live-wire' ) . '</div>' ); ?>

  6. Sami Keijonen
    Member
    Theme Author

    Posted 5 months ago #

    [entry-published] is publish date, not updated date.

  7. xantygc
    Member
    Posted 5 months ago #

Reply

You must log in to post.

About this Theme

About this Topic