Archived topic
"Last updated" function is not worked automatically
5 replies · Started by Trạng on September 4, 2021
Hi there,
I use the "Last updated" function for my site from 17 August 2021. But it only works with articles published from the 17th & earlier (Screenshot here)
New posts after the 17th are not shown this feature (Screenshot here)
Why it got this mistake? I place the link to my post & my site in private section. Please help!
Hi there,
that code only works if the post has been updated, and there is an Updated date being displayed.
The newer post doesn't have an updated date.
Do you want ALL posts to say Last Updated, whether they have been updated or not updated ?
Hi David,
"Do you want ALL posts to say Last Updated, whether they have been updated or not updated ?"
Yes, this is my intention
So you have this CSS:
.posted-on .updated::before {
content: "Last Updated ";
}
Change it to:
.posted-on .published::before,
.posted-on .updated::before {
content: "Last Updated ";
}
It works great! Thank David again & again!
Glad to be of help :)