Site logo

Archived topic

Show modified time on the posts (If available)

7 replies · Started by Ayoosh on November 27, 2020

Viewing posts 1–8 of 8

Hi Team,

I am trying to work on a feature, where I like to show the modified time on the post if available and fallback to the published date (if modified date not available)

I followed the instruction available on the following page
https://docs.generatepress.com/article/show-the-updated-post-date/

However on adding the given css, even the published date were not visible on my posts. Also please that I am using the "Display post date" feature under the Blog customization option in GP.

Let me know if I am missing something or doing in incorrectly?

Hi there,

Any chance you can link us to the site in question?

You can use the private information field.

Let me know :)

Hi Elvin,

Thanks for your response and sorry for the late response, my question was to show modified date if available else it should fall back to the publish date.

Not sure if this is possible?

Never-mind, I got the clue form other post and able to make it work.

Nice one. Glad you got it sorted.

This archived topic is closed to new replies.