Archived topic
How to add last updated in to post date data?
3 replies · Started by Trạng on August 16, 2021
How to add "last updated" text into this part on single post? -> Screenshot here (Site in demo)
Hi there,
There are multiple ways of doing that.
The easy way is by doing it using CSS.
But as for that particular site, it seemed to have disabled all the default post meta items and hooked its own custom meta format on it through generate_after_entry_title. :)
Hi Elvin, thank you so much. So I place my own site in private section, could you please help me to use CSS to add that text in meta post data?
You can follow our brief documentation here - https://docs.generatepress.com/article/show-the-updated-post-date/
The documentation provides a CSS to show a text before the date.
Here's how to add CSS - https://docs.generatepress.com/article/adding-css/