Archived topic
Show only 'updated' date in the header
5 replies · Started by Dave on January 25, 2019
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
Hi there,
Have you tried this?
https://docs.generatepress.com/article/show-the-updated-post-date/
Let me know :)
Yes I've seen that, that's hiding it from the user withb css, i want to hide it from the source/schema.
Hi there,
This might help: https://generatepress.com/forums/topic/last-updated-date-does-not-show-in-google/#post-792504
Let me know :)
Perfect thanks Tom I'd not seen that ;)
It's a new post :)
Glad I could help!