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.







