[Resolved] Page shows dates when article was updated and also when it was published

Home Forums Support [Resolved] Page shows dates when article was updated and also when it was published

Home Forums Support Page shows dates when article was updated and also when it was published

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #978576
    Uwe

    Hey,

    After some SEO optimizations, my site is now showing both the date when the article was published, and also when it was updated.

    How can I stop showing the date the article was published?

    #978597
    Leo
    Staff
    Customer Support

    Hi there,

    Give this PHP snippet a shot:
    https://docs.generatepress.com/article/generate_post_date_output/#only-show-updated-date

    Let me know if this helps ๐Ÿ™‚

    #978598
    Uwe

    Thanks for the quick response!

    Just added that snippet.

    However, now the “updated date” shows twice on the page.

    #979122
    Uwe

    How can I solve that issue?

    #979124
    Leo
    Staff
    Customer Support

    What happens if you uncheck the post date option for single posts?
    https://docs.generatepress.com/article/blog-content-layout/#single

    #979216
    Uwe

    That worked, thank you Leo!

    #979217
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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