Home › Forums › Support › how to show last modified date? Which file to update? This topic has 5 replies, 3 voices, and was last updated 3 years, 5 months ago by Leo. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts October 10, 2020 at 4:40 am #1481740 Franklin how to show last modified date? Which file to update? URL: https://wearholic.com/best-smartwatches-for-women/ October 10, 2020 at 6:30 am #1481872 DavidStaff Customer Support Hi there, this article provides the PHP you require: https://docs.generatepress.com/article/generate_post_date_output/#only-show-updated-date And this article explains how to add the code: https://docs.generatepress.com/article/adding-php/ October 10, 2020 at 6:37 am #1481879 Franklin Hi, I have added the code to the functions.php file. Is that ok? October 10, 2020 at 6:45 am #1481892 DavidStaff Customer Support As long as you have installed a Child Theme and it is added to the Child Themes Functions.php. If you do not have a Child Theme – then use the Code Snippets plugin to add that code. October 10, 2020 at 7:02 am #1481917 Franklin I don’t use a child theme….I usually update this code whenever I update the theme. Is it ok? October 10, 2020 at 9:34 am #1482255 LeoStaff Customer Support If you aren’t using a child theme then I would recommend the Code Snippets plugin. https://docs.generatepress.com/article/adding-php/#code-snippets 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