May 26
New blog: WordPress Coolrecess…
icon1 David Christian | icon2 Uncategorized | icon4 May 26th, 2009 | 12:05 pm| icon3No Comments »

New blog: WordPress Coolrecession Date Annoyance Fix #wordpress http://bit.ly/H7rwk

Share and Enjoy:
  • Digg
  • del.icio.us
  • Google
  • Slashdot
  • StumbleUpon
  • TwitThis
  • LinkedIn
May 26

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:

cirrus_nineblogdatebefore_1243343353590

<?php the_time('m jS, Y') ?>

Below is how it looked afterwards.

cirrus-nineblogdateafter_1243343440370

<?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:

cirrus-nineblogafterdatetime_1243345220552

Pretty easy once you know where to look.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Google
  • Slashdot
  • StumbleUpon
  • TwitThis
  • LinkedIn
May 26
New blog post: Overview of Ama…
icon1 David Christian | icon2 Uncategorized | icon4 May 26th, 2009 | 8:52 am| icon3No Comments »

New blog post: Overview of Amazon EC2 Network Latency http://bit.ly/KhZsh

Share and Enjoy:
  • Digg
  • del.icio.us
  • Google
  • Slashdot
  • StumbleUpon
  • TwitThis
  • LinkedIn
May 26
New blog post: Overview of Ama…
icon1 David Christian | icon2 Uncategorized | icon4 May 26th, 2009 | 8:52 am| icon3No Comments »

New blog post: Overview of Amazon EC2 Network Latency http://bit.ly/KhZsh

Share and Enjoy:
  • Digg
  • del.icio.us
  • Google
  • Slashdot
  • StumbleUpon
  • TwitThis
  • LinkedIn
May 26
Overview of Amazon EC2 Network Latency
icon1 David Christian | icon2 Network Management | icon4 May 26th, 2009 | 8:50 am| icon3No Comments »

Good Data

Share and Enjoy:
  • Digg
  • del.icio.us
  • Google
  • Slashdot
  • StumbleUpon
  • TwitThis
  • LinkedIn
May 25
New blog post: Where the bugs …
icon1 David Christian | icon2 Uncategorized | icon4 May 25th, 2009 | 7:00 am| icon3No Comments »

New blog post: Where the bugs are http://bit.ly/12PvI6

Share and Enjoy:
  • Digg
  • del.icio.us
  • Google
  • Slashdot
  • StumbleUpon
  • TwitThis
  • LinkedIn
May 25
New blog post: Where the bugs …
icon1 David Christian | icon2 Uncategorized | icon4 May 25th, 2009 | 7:00 am| icon3No Comments »

New blog post: Where the bugs are http://bit.ly/12PvI6

Share and Enjoy:
  • Digg
  • del.icio.us
  • Google
  • Slashdot
  • StumbleUpon
  • TwitThis
  • LinkedIn
May 25
Where the bugs are
icon1 David Christian | icon2 Development | icon4 May 25th, 2009 | 7:00 am| icon3No Comments »

Good analysis on finding bugs.  No suprise, monolythic code breeds bugs.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Google
  • Slashdot
  • StumbleUpon
  • TwitThis
  • LinkedIn
May 22
Been a fan of XUL for years, I…
icon1 David Christian | icon2 Uncategorized | icon4 May 22nd, 2009 | 9:09 am| icon3No Comments »

Been a fan of XUL for years, I remember a developer at HP asking for something like #Prism in 1996 http://bit.ly/fmTpG

Share and Enjoy:
  • Digg
  • del.icio.us
  • Google
  • Slashdot
  • StumbleUpon
  • TwitThis
  • LinkedIn
May 21
New blog post: Excellent Bash …
icon1 David Christian | icon2 Uncategorized | icon4 May 21st, 2009 | 10:53 am| icon3No Comments »

New blog post: Excellent Bash History Tip http://bit.ly/z1K78

Share and Enjoy:
  • Digg
  • del.icio.us
  • Google
  • Slashdot
  • StumbleUpon
  • TwitThis
  • LinkedIn

« Previous Entries Next Entries »

 

You need to log in to vote

The blog owner requires users to be logged in to be able to vote for this post.

Alternatively, if you do not have an account yet you can create one here.

Powered by Vote It Up