[Support request] Want to display update date

Home Forums Support [Support request] Want to display update date

Home Forums Support Want to display update date

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1072599
    John

    Hello

    I’m using “Volume” for my site. It Seems for showing title and date meta data volume using header element.

    Now I want to display post update date instead publish date.

    How Can I do this?

    Thanks

    #1072632
    David
    Staff
    Customer Support

    Hi there,

    this doc provides the PHP snippet to change the date in a Header Element:

    https://docs.generatepress.com/article/show-the-updated-post-date/#show-the-“updated”-post-date-in-header-element

    #1072649
    John

    Works fine. But shows published date in before content as well.

    Here is the screenshot – https://prnt.sc/q0nsha

    #1072708
    David
    Staff
    Customer Support

    Can you try disabling the Post Date in the Customizer Blog options:

    https://docs.generatepress.com/article/blog-content-layout/#single

    #1072758
    John

    Thanks.

    The issue is solved.

    One more question,

    Is post Update Date(from Header Element), will show in google search as well?

    #1072791
    David
    Staff
    Customer Support

    Your SEO ( or schema ) plugin is outputting published and updated dates in the JSON-LD for the site, so Goole will pick up the dates from there. Generally ( but we have no control over ) Google will choose the most relevant date to the article – as the only date displayed on the site is the Updated date it should prefer that.

    #1072846
    John

    Disabled schema plugin.

    Could you please check now?

    #1073233
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    No need to disable the schema plugin – it should actually help get that data into Google for you 🙂

    #1075122
    John

    Reactivate the Schema plugin.

    I’ve updated few posts and applied them to fetch on google search console.

    But unfortunately, Google doesn’t show update date even any date.

    #1075412
    Tom
    Lead Developer
    Lead Developer

    It’s up to Google, so the only thing you can do is provide the necessary data and hope they use it. Does all of the data exist if you run the URL through this tool?: https://search.google.com/structured-data/testing-tool/u/0/

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.