
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.

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'); ?>
The date format can be easily formatted. You can get more info on the date() php function here.
One Response
Thanks for a great tip on date display for WordPress sites!
Trackbacks: