Home>Support>Missing required field “updated” – Google Webmaster Tools

Missing required field “updated” – Google Webmaster Tools

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Please tell me how to fix this error. Google finds this error on every page.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 11 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Hi. Vantage unfortunately doesn’t have this field built in at the moment. All our themes are a work in progress, I’m sure we’ll see this added in the future. In the mean time you might consider one of the WordPress Google Publisher plugins to augment your site:

    http://wordpress.org/plugins/search.php?q=google+publisher
    http://wordpress.org/plugins/search.php?q=google+authorship&sort=

  2. 11 years, 2 months ago snapped

    One is beta and the other one “hasn’t been updated in over 2 years”.

    I fixed one:
    content-single.php

    Find:

    Replace with:

    | Updated:

  3. 11 years, 2 months ago snapped

    Well, HTML / PHP is not visible.

  4. 11 years, 2 months ago snapped

    Fixed all errors in template-tags.php

    If you need help call me :).

  5. 11 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Super, glad you managed to resolve that. Please don’t forget to place that file in it’s folder structure in a child theme.

  6. 11 years, 2 months ago Frederic Rougeot

    Hi, does your solution works for article, page and attachment ?
    It works for me for article (changing template_tags.php as you did I suppose)
    works for page (adding something in content-page.php)
    but still have the problem with attachment (image).

    Thanks for tips if you have

  7. 11 years, 2 months ago snapped

    It works for articles, archives & attachments. Not for pages.

  8. 10 years, 11 months ago Acuhire

    I am having trouble with the same error: Error: Missing required field “updated”. Please advise how to repair.

    Thank you,
    Brent
    Acuhire

  9. 10 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    Hi Brent

    Give this a child theme a try, it should resolve this for you:

    https://siteorigin.com/wp-content/uploads/2014/07/vantage-child1.zip

    For anyone already running a child theme, the functions.php and style.css additions to the child theme are below:

    <?php 
    
    if ( ! function_exists( 'vantage_posted_on' ) ) :
    /**
     * Prints HTML with meta information for the current post-date/time and author.
     *
     * @since vantage 1.0
     */
    function vantage_posted_on() {
    	$posted_on_parts = array(
    		'on' => __(‘Posted on <a href="%1$s" title="%2$s" rel="bookmark" rel="nofollow"><time class="entry-date" datetime="%3$s">%4$s</time></a><time class="updated" datetime="' . esc_attr( get_the_modified_date( 'c' ) ) . '">‘ . esc_html( get_the_modified_date() ) . ‘</time></span>‘, ‘vantage’),
    		‘by’ => __( ‘<span class="byline"> by <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author" rel="nofollow">%7$s</a></span></span>‘, ‘vantage’ ),
    	);
    	$posted_on_parts = apply_filters(‘vantage_post_on_parts’, $posted_on_parts);
    
    
    	$posted_on = sprintf( implode(‘ ‘, $posted_on_parts),
    		esc_url( get_permalink() ),
    		esc_attr( get_the_time() ),
    		esc_attr( get_the_date( ‘c’ ) ),
    		apply_filters(‘vantage_post_on_date’, esc_html( get_the_date() )),
    		esc_url( get_author_posts_url( get_the_author_meta( ‘ID’ ) ) ),
    		esc_attr( sprintf( __( ‘View all posts by %s’, ‘vantage’ ), get_the_author() ) ),
    		get_the_author()
    	);
    	echo apply_filters(‘vantage_posted_on’, $posted_on);
    }
    endif;

    One small change I added to the style.css in the child theme – you could also add to Appearance >Custom CSS is:

    /*
     Theme Name:   Vantage Child
     Author:       SiteOrgin
     Template:     vantage
     Version:      1.0
    */
    
    @import url(“../vantage/style.css”);
    
    .updated { display: none; }
  10. 10 years, 11 months ago Acuhire

    Thank you for your expert help. You and your team are invaluable!

    Sincerely,
    Brent
    Acuhire

  11. 10 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    For sure. Glad we could help out here.

  12. 10 years, 11 months ago TheWeb Monk

    Hello Andrew, I would like to fix the author / updated fields for Webmaster.. do I have to install “vantage-child1.zip”? My websites, both with vantage, are igolftuscany.com and igolfitaly.club thank you very much!

  13. 10 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    That’s correct. I’ve resolved it in:

    http://siteorigin.wpengine.netdna-cdn.com/wp-content/uploads/2014/07/vantage-child1.zip

    Just keep in mind you’ll need to redo your Appearance > Customize settings after activating the child theme so first open your Customizer in the parent theme, keep that in one tab, then install from Appearance > Themes > Add New: Upload in another tab. That way you can manually copy your settings over.

  14. 10 years, 10 months ago Fabio Colantoni

    I installed the child theme on my vantage premium, but the whole site goes completely ruined. what should I do?

  15. 10 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Can you perhaps elaborate on that?

    When activating a child theme you do need to re-do your Customizer and Menu settings. What I usually do is open the Customizer on one tab and then activate the child theme in another. That way I can manually copy the parent theme Customizer settings to the child theme.

  16. 10 years, 9 months ago Dave LeBlanc

    Andrew, nice bit of coding and it seems to work perfectly. I am jealous.

    Put yourself in for a fat raise.

  17. 10 years, 9 months ago TheWeb Monk

    @Dave LeBlac I agree, Andrew is always very helpful, thank you!

  18. 10 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Thanks guys, much appreciated, glad we were able to help here.

    All the best with your sites.

  19. 10 years, 8 months ago ian3871

    Andrew,

    I have followed your steps above but with no sucess Google Webmaster Tools (Structured Data tab) is still suggesting there is both a “Missing: author” and a “Missing: updated”.

    Please can you assist?

    Thank you

    • 10 years, 8 months ago Andrew Misplon
      Hi, I Work Here

      Hi ian3871

      Please open a new thread and we’ll be with you ASAP.

      Page: New Thread

      In your new thread let me know if you’re checking on posts or pages. As far as I can remember the fix was for posts only.

  20. 10 years, 7 months ago gmm128

    Andrew,
    I tried the child theme, but once activated all vantage premium features were disabled.
    Have you any idea about what went wrong ?

    • 10 years, 7 months ago Andrew Misplon
      Hi, I Work Here

      Hi gmm128

      Activating a child theme will cause all Customizer, Menu and Widget settings to reset. You’ll need to re-apply them, assuming you’re happy with the child theme. Is that perhaps what happened here?

      If you’re still running into trouble on this, please open a new support thread and I’ll be with you ASAP:

      Page: New Thread

      Thanks

  21. 10 years, 7 months ago gmm128

    Hi Andrew,
    The Vantage child theme is now installed without any premium features losses (thanks to you) but I still have the two errors which justified this install :
    Google structured data :
    Missing required field “updated”.
    Missing required hCard “author”

    I can’t find anything customisable in the child theme : Did I miss something?

    • 10 years, 7 months ago Andrew Misplon
      Hi, I Work Here

      Glad to hear you made progress. The child theme only currently deals with posts in this manner. Is this test running on a page?

  22. 10 years, 7 months ago gmm128

    Yes it does, in fact it’s mostly pages

  23. 10 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Ok, cool, I’ll need to add content-page.php into the child theme, include the meta data in that file and then hide it with CSS as pages don’t display this information. I’ve done the same for Origami, also for Google Authorship. I’ll get onto this as soon as I’m back online. Chat a bit later or tomorrow. Thanks for the wait.

  24. 10 years, 7 months ago gmm128

    No worries, enjoy your sunday !

    • 10 years, 7 months ago Andrew Misplon
      Hi, I Work Here

      Give this one a try:

      https://siteorigin.com/wp-content/uploads/2014/12/vantage-child-google-authorship-additions.zip

      Download the ZIP and instal from Appearance > Themes > Add New: Upload Theme.

      If you’re running pages with the Full Width, No Page Title template then this won’t work. You’ll need to change those pages over to the regular Full Width template and then hide the page title with Custom CSS:

      /* Vantage Hide Page Title on Full Width Page Templates */
      
      .page-template-templatestemplate-full-php .entry-header {
      display: none;
      }
      

      Hope that helps.

  25. 10 years, 7 months ago gmm128

    Ok and thank you!
    I asked the installarion and I’ll let you know.

  26. 10 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    For sure.

  27. 10 years, 7 months ago gmm128

    Hi Andrew,
    The new Vantage child theme is now installed but I still have one out of the two errors in Google structured data : Missing required hCard “author”
    Is there something I should customize ?

  28. 10 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    What page template are you running for Pages > Home?
    Are you using the Full Width – No Page Title page template anywhere?

  29. 10 years, 7 months ago gmm128

    I’m using a static page as home page.

    Right now titles are hidden with the following rss :

    /*Page Heading*/
    header h1.entry-title, article.page .entry-header h1.entry-title {
    display:none;
    }
    /* Vantage Hide Page Title on Full Width Page Templates */
    .page-template-templatestemplate-full-php .entry-header {
    display: none;
    }

    By the way where’s the option to hide the titles ?

  30. 10 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Please send through the url of the page that’s failing and I’ll take a look.

    Page titles can only be removed in theme options using page templates.

  31. 10 years, 7 months ago gmm128

    a) http://www.gite-herault-maseliers.com/

    b) ok I’ll carry on using rss to hide pages titles where needed

  32. 10 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    I’m not sure why that’s happening. When I test the child theme I get author information displayed on pages in the source.

    If you go to Posts > Add New and create a test post. When you view it on the front end of the site, is there an author name below the title?

  33. 10 years, 7 months ago gmm128

    oups, I let “Post Author” unchecked in “theme settings” sorry !
    There nor error left, Thank you Andrew !

  34. 10 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Super, glad that helped.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More