These days I seem to be writing very little code and I do that only if I need something and I am unable to find something similar already written. Recently I shifted my journal from LiveJournal to a self hosted WordPress install on my own site. I write in my journal fairly often though most of it is either private or friends only. I find it difficult to come up with a post title every time. Leaving the title blank kind of messes things up with WordPress so I started putting the current day and date as the post title – this keeps the URLs very nice and user friendly. After doing this a couple of times it struck me – Why not automate this using a plugin. A search revealed that the nearest plugin to my needs was SequenTitle automatically creates a sequentially numbered post title of your choosing if the title is left blank when the post is published.
Looking through the code I quickly realized what I wanted was very simple, about 30 mins of hacking and here you have the DateTitle plugin. Most of the code I borrowed from SequenTitle plugin mentioned above. Installation is like any other WordPress plugin – unzip and upload to the plugins folder, activate from the plugins page and you will get a DateTitle option in the settings menu…

Download: http://sanisoft.com/downloads/datetitle.1.0.zip
whoa… this is exactly what I really need for my phlog… thank you, Tarique!
just a simple suggestion, I change the wp_title_intercept function to:
...
if($post->post_date) {
$post->post_title = date($options['title'],strtotime($post->post_date));
} else {
$post->post_title = date($options['title']);
}
...
So, if you want to change an old post like mine, it will automagically change the title with the date from its post submit date.
Thanks, Good suggestion – Will add when I update the plugin
Your blog is amazing, i first landed to another post but then get interested and thought, i will just look a little more arround to see what else i can find out about best plugins arround.
I would really love to use your plug-in but in need the title to display tomorrows date, and I also only need it to display for a specific category. Any help with changes or additions to the php would be greatly appreciated.
Thanks.
Sorry Jeremy there are no plans to add anything more to this plugin in near future, but it is open source and you are free to modify it as you wish.
I would really love to use this plug-in… but i need the time to display in german with swiss time zone (CET/MEZ) +1, actually +2. Any idea would be appreciated.
See the Timezone options at http://php.net/manual/en/function.date.php in the date format.