Monthly Archive for May, 2007

20 May 2007

Using datetime-design-pattern in WordPress

In WordPress, you can have datetime-design-pattern to publish datetimes that are both a human and machine readable. Apply the example code below in your WordPress template within The Loop replacing the_time or the_date. Example: <abbr class=”published” title=”<?php the_time(‘Y-m-d\TH:i:sO’) ?>”><?php the_time(‘F jS, Y g:i a’) ?></abbr> Output: April 8th, 2008 3:29 am You can use the [...]

07 May 2007

Future-proof your custom WordPress Page

Here’s a silly way to create a future-proof custom WordPress Page. I usually depend on custom Page Template rather than Default Page Template when creating a Page. This is because some of the Pages that I created involve some extra PHP codes. For those that didn’t know, WordPress doesn’t allows <?php ?> tags inside the [...]