Archived topic
Deleting post date and changing update post date
3 replies · Started by Antonin on July 9, 2020
Hello guys,
So I try a few things with layout options but it don't change what I want....I'm not sure what will be better but here are 2 questions ( its on the same issue )
How to delete post date? Here on the picture is what I mean ( https://imgur.com/a/5cvEJYj )
Or maybe better...When I update the post how to distplay "updated on" in the post?
You can delelte post date and author in layout option but it only works on blog page. I want to do it on blog posts.
thanks
Hi there,
That's added within the header element/page hero so you will need to edit that header element to remove the post date template tags:
https://docs.generatepress.com/article/header-element-overview/
https://docs.generatepress.com/article/header-element-template-tags/#post_date
To show updated date in header element, this should help:
https://docs.generatepress.com/article/show-the-updated-post-date/#show-the-%E2%80%9Cupdated%E2%80%9D-post-date-in-header-element
I'll check that out.... and Do you think in "updated date" method it will also start showing updated date on google as well? Or in google will only be original post date?
I would do this: https://generatepress.com/forums/topic/correct-way-to-show-only-modified-date-on-page-hero/#post-1344687
It should make it so Google displays the updated date :)