Display today’s date on your WordPress blog
Display today’s date on your WordPress blog
Many blogs displays the current date on their blog header. It looks profesional, and it is also useful, especially if your blog posts are dated. Here is a very easy way to add today’s date on your WordPress blog.
Open your header.php file (or any other file) and paste the following code:
< ?php echo date(‘l jS F Y’); ?>