New blog: WordPress Coolrecession Date Annoyance Fix #wordpress http://bit.ly/H7rwk
I currently using the Coolrecession theme for my WordPress implementation. One annoying thing is the default date format for blog posts. My attempts to change this in WordPress > Settings did not work. So I began to look through the source code. I found the answer on line 26 of the file:
/var/www/wordpress/wp-content/themes/coolrecession/index.php
Below is an example of how it looked before along with the corresponding code snippet:
![]()
<?php the_time('m jS, Y') ?>
Below is how it looked afterwards.
![]()
<?php the_time('F jS, Y') ?>
Note the change from lower case ‘m’ to upper case ‘F’.
Then I decided I wanted to include the time of the post as well. So I updated the code to read:
<?php the_time('m jS, Y | g:i a') ?>
Now it looks like this:
![]()
Pretty easy once you know where to look.
New blog post: Overview of Amazon EC2 Network Latency http://bit.ly/KhZsh
New blog post: Overview of Amazon EC2 Network Latency http://bit.ly/KhZsh
Been a fan of XUL for years, I remember a developer at HP asking for something like #Prism in 1996 http://bit.ly/fmTpG
New blog post: Excellent Bash History Tip http://bit.ly/z1K78







