Home › Forums › Support › How to show current date on all posts. This topic has 1 reply, 2 voices, and was last updated 2 years, 11 months ago by David. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts February 5, 2020 at 10:47 pm #1156203 laidbackluke Hello, I want to display the current date on all posts. I remember reading in a group that I can add the below code snippet as a hook, or in the html of a post. <i aria-hidden="true"></i> <?php echo date('l jS F Y'); ?></li> However, what is a hook, and how do I add the code as a hook? Do I have to go into actual php files as detailed here: https://www.greengeeks.com/tutorials/article/how-to-show-todays-date-in-wordpress/ Thanks, Luke February 6, 2020 at 2:50 am #1156341 DavidStaff Customer Support Hi there, Hooks are like named placeholders within WordPress and GP Themes code. They simply allow you to ‘hook’ your own code into different places. GPP makes it real easy with the Hook Element: https://docs.generatepress.com/article/hooks-element-overview/ Check out that doc – then let us know if you need any help Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In