[Resolved] Show only 'updated' date in the header

Home Forums Support [Resolved] Show only 'updated' date in the header

Home Forums Support Show only 'updated' date in the header

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #791854
    Dave

    How would I implement something like this relatively simply with GP?

    https://www.authorityhacker.com/google-freshness/

    TLDR: Basically the idea is that you only show google the ‘updated’ date in the page source and not the published date to keep your articles ‘fresher’.

    I’m technical so I’m guessing there’s no easier way than overriding the function that spits out the header in a child theme and omitting the ‘published’ date data but repeating the rest?

    Dave

    #792133
    Leo
    Staff
    Customer Support

    Hi there,

    Have you tried this?
    https://docs.generatepress.com/article/show-the-updated-post-date/

    Let me know πŸ™‚

    #792239
    Dave

    Yes I’ve seen that, that’s hiding it from the user withb css, i want to hide it from the source/schema.

    #792476
    Tom
    Lead Developer
    Lead Developer
    #792571
    Dave

    Perfect thanks Tom I’d not seen that πŸ˜‰

    #792917
    Tom
    Lead Developer
    Lead Developer

    It’s a new post πŸ™‚

    Glad I could help!

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