Archived topic
Modified date + published date
1 reply · Started by Shaun on April 1, 2021
Hi
I have created a header element with the following meta.
`<h1>
{{post_title}}
</h1>
By {{post_author}} | First Published: {{post_date}} | Last Updated:
I want to show both the First Published and Last Updated dates. I found advice and code on showing modified dates only, but not on both. Can you please help?
Cheers
Shaun
Hi there,
Have you tried this?
https://docs.generatepress.com/article/show-the-updated-post-date/#show-the-%E2%80%9Cupdated%E2%80%9D-post-date-in-header-element
Let us know.