Home › Forums › Support › which code to add to allow google mention the ''last update date '' This topic has 5 replies, 2 voices, and was last updated 6 years, 9 months ago by Leo. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts July 2, 2019 at 10:19 am #947228 aziz Hi team any idea how to show Google ( in the SERP ) the last update date instead of the original published date, thanks. I updated all my posts but still showing the original dates ( published dates ) please see picture here https://prnt.sc/o9nezu July 2, 2019 at 10:30 am #947241 LeoStaff Customer Support Hi there, Give this snippet a shot: https://docs.generatepress.com/article/generate_post_date_output/#only-show-updated-date Adding PHP: https://docs.generatepress.com/article/adding-php/ Let me know 🙂 July 3, 2019 at 6:59 am #947859 aziz Hi Leo , thanks, my posts are showing the last updated date. will the above code help Google index and show also the same ( last updated date ), in the SERP ? thanks in advance Aziz July 3, 2019 at 9:05 am #948109 LeoStaff Customer Support Yup the code changes the HTML to updated date which is what Google would be reading 🙂 July 3, 2019 at 10:11 am #948184 aziz Hi Leo, thanks, where exactly to insert it ? Aziz July 3, 2019 at 10:34 am #948200 LeoStaff Customer Support See the adding PHP link here: https://generatepress.com/forums/topic/which-code-to-add-to-allow-google-mention-the-last-update-date/#post-947241 Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In