-
1. How do I add “Last updated on” before the date?
I have found many answers to this on the forum but they all use blocks and I use the classic editor.
2. I am going to replace the published date with the updated date using the css I found on this forum:
.posted-on .updated {
display: inline-block;
}.posted-on .updated + .entry-date {
display: none;
}My concern is that this might be considered as “hidden text” by Google. Is that the standard way to show the updated date instead of the published date?
-
Alvind
Hi there,
You can refer to this article to add the Last Updated text:
https://docs.generatepress.com/article/show-the-updated-post-date/My concern is that this might be considered as “hidden text” by Google. Is that the standard way to show the updated date instead of the published date?
The search engine crawler will only look for the
<time>
element with thedatetime
attribute to determine the recency of a particular article. Therefore, it would be better to display only a single date, which is the updated one.
- You must be logged in to reply to this topic.