Published June 30th, 2012 by
Published June 28th, 2012 by
Published June 24th, 2012 by

Found this awesome script online at: http://www.mediafire.com/?zz7j7t3fl824p31 which allows you to export guides from an existing photoshop file, open up a new file and import the guides in there –…

Read More Export/Import Guides

Published June 24th, 2012 by
Published June 23rd, 2012 by

This is a handy bit of code for displaying different content based on what category your post is in. Useful on the single.php page I found – can display different…

Read More Conditional based on category

Published June 23rd, 2012 by
Published June 23rd, 2012 by

Used this recently to display the 1st item in an external xml file on a wordpress site. You use the e.g. $item->item->description. to walk down through the nodes and extract whatever…

Read More PHP simple xml display

Published June 23rd, 2012 by

Sample of a query post below – this one will show 3 posts from the category called events. You can also use cat=7 and use the id of the category…

Read More Query post sample

Published June 23rd, 2012 by

Navigate the the directory you want a list from using cmd > cd etc etc. Remember cd.. brings you up a folder Once in the directory you wish to print the contents…

Read More List files in a directory in DOS

Published June 23rd, 2012 by

Just found out today that in using the_date() if 2 posts are from the same date then only the_date will only appear on the first post. However will pull back…

Read More the_date vs get_the_date