Home › Forums › Support › Want to show last updated date to search engine and users This topic has 10 replies, 3 voices, and was last updated 4 years, 4 months ago by Leo. Viewing 11 posts - 1 through 11 (of 11 total) Author Posts September 25, 2019 at 3:31 pm #1019096 Mfon Hello, Please, can you put me through in the simplest form how to show updated date of post to search engine and users instead of published date? A guide Thanks September 25, 2019 at 4:43 pm #1019128 LeoStaff Customer Support Hi there, Add this PHP snippet: https://docs.generatepress.com/article/generate_post_date_output/#only-show-updated-date Using one of these methods: https://docs.generatepress.com/article/adding-php/ Code Snippets is the easiest if you aren’t using a child theme already. Let me know if this helps ๐ December 13, 2019 at 9:58 am #1103516 Sanjay Hey Leo, Only Show Updated Date is working. But my question is that is that code work in google search to show Blog post updated date in search results? I want to add “Updated on” word before the Date. How I do this? December 13, 2019 at 10:56 am #1103555 LeoStaff Customer Support – Yes – Try this CSS: .posted-on .updated:before { content: "Last Updated "; } December 13, 2019 at 11:41 am #1103598 Sanjay .posted-on .updatedbefore { content: “Last Updated “; } Above CSS is not working here is the webpage link December 13, 2019 at 11:49 am #1103605 LeoStaff Customer Support I’m not seeing the link to your page. You are also missing a : in the code. Make sure to copy my code. December 13, 2019 at 11:54 am #1103614 Sanjay I paste code as it is but it doesn’t work so I modified and do an experiment. December 13, 2019 at 11:54 am #1103615 Sanjay https://fantasycricketapp.com/dream11-prediction-apps/ this is the link. December 13, 2019 at 11:56 am #1103619 LeoStaff Customer Support Try this instead: .posted-on .updated-date:before { content: "Updated: "; } December 13, 2019 at 12:01 pm #1103622 Sanjay Thanks, Leo It is working. December 13, 2019 at 12:01 pm #1103623 LeoStaff Customer Support No problem ๐ Author Posts Viewing 11 posts - 1 through 11 (of 11 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In