Archived topic
Page shows dates when article was updated and also when it was published
6 replies · Started by Uwe on August 7, 2019
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?
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 :)
Thanks for the quick response!
Just added that snippet.
However, now the "updated date" shows twice on the page.
How can I solve that issue?
What happens if you uncheck the post date option for single posts?
https://docs.generatepress.com/article/blog-content-layout/#single
That worked, thank you Leo!
No problem :)