• Resolved cochiloco

    (@cochiloco)


    Hi all,

    I’ve seen several similar topics about YoastSEO (most of them quite dated) and they all mention that the only way to do this is to remove it from the theme template, single.php or even functions.php.

    However, when I view the page source, I see the date being shown within the YoastSEO commented section as in:

    <!– This site is optimized with the Yoast SEO plugin v3.0.7 – https://yoast.com/wordpress/plugins/seo/ –>
    <meta property=”article:published_time” content=”2015-12-30T14:04:56+00:00″ />
    <meta property=”article:modified_time” content=”2015-12-30T18:02:12+00:00″ />
    <meta property=”og:updated_time” content=”2015-12-30T18:02:12+00:00″ />
    <!– / Yoast SEO plugin. –>

    Doesn’t that mean that it’s YoastSEO producing these meta tags? If not, where do they come from so that I can remove them?

    Thanks in advance!

    https://www.ads-software.com/plugins/wordpress-seo/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter cochiloco

    (@cochiloco)

    Anybody?

    gesblog

    (@gesblog)

    Hello, I have also noticed that the date appears on my SERP’s. I have no problems with this when its for posts, but I don’t want to see the date for pages.

    unclego

    (@unclego)

    add_filter('wpseo_opengraph_show_publish_date', '__return_false');

    Thread Starter cochiloco

    (@cochiloco)

    Thanks! Where should I add that? In YoastSEO’s code?

    Thread Starter cochiloco

    (@cochiloco)

    I did add it at frontend/class-opengraph.php but doesn’t seem to have any effect.

    Has anyone gotten this to work?

    I cannot get it to work…. but I would love to know how.

    Even with the date turned off inside the Yoast SEO plugin, the plugin is still adding these lines to the sourcecode:

    <meta property="article:published_time" content="2017-02-28T08:00:00-08:00" />
    <meta property="article:modified_time" content="2017-02-27T21:52:47-08:00" />
    <meta property="og:updated_time" content="2017-02-27T21:52:47-08:00" />

    Does anyone know a way to turn these off?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove Date from SERP snippets’ is closed to new replies.