Archived topic
Created "Last Updated" On Wordpress
5 replies · Started by Caitriona on June 11, 2022
Hi,
I recently added code to my functions PHP file to show the "last updated" comment on blog posts I update. How can I stop this from showing on my homepage and other pages? I just want it to show on my posts, not pages. Thank you!
Hi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
My homepage?
What if we just do this instead?
https://docs.generatepress.com/article/show-the-updated-post-date/
Ah, I should have checked there first. That looks much better. Thank you.
No problem :)