Archived topic
Is there a way to show the published date and then the updated on date?
17 replies · Started by Heath on February 23, 2021
I am sorry I am making y'all work with all of my questions. I would like to show the date a post was published and also show the date updated if it was. Is that possible and if so how do I do that?
Hi Heath,
Try this CSS:
.posted-on .updated {
display: inline-block;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
This doesn't seem to be working. It's not showing the published date. Just the updated on date.
Hi Heath,
Have you used some php snippet to replaced the published date with updated date?
If not, could you link us to the site in question?
Yes I have but not sure which of the PHP it is.
I've included a link in the private field.
Looks like you are using this one here:
https://docs.generatepress.com/article/entry-meta-style/#example-3
Could we revisit this issue once GPP 2.0 comes out? Alpha should be out tomorrow morning.
The new dynamic content as you've seen in the video will make this so much easier and cleaner.
Yes. I'd be happy to. Should I just mark this as resolved for now? How do I get Alpha? Will it be posted in the support forums?
Let's leave it unresolved for now so we can visit this later.
Just so I know, where would you like the published date to be displayed?
On the left of the last updated date?
We will announce the Alpha version in the Facebook group for sure.
I would like the published date showing first and then if it's undated for it to show right beside it or below it.
then if it’s undated for it to show right beside it or below it.
Can't picture how this would look good.
Can you create a mock-up for it?
Yeah I'm not sure how to do that. I have it pictured in my head. Maybe I'd like a posted on date and then if the post has been updated for it to show updated on instead of just updated on.
Don't know if there would be a way to do that.
Is Alcoa coming out today or has that changed?
It should be today. Sorry we were working on some last-minute improvements and fixing some bugs.
No problem. Thank you for the update!