Post Pic

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'); ?>

The date format can be easily formatted. You can get more info on the date() php function here.

Related Posts

No related posts.

One Response

Nov 18 2011 15:10

Thanks for a great tip on date display for WordPress sites!

Trackbacks:

Leave a Comment

* Name, Email, Comment are Required