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

Published June 23rd, 2012 by

Ok.. so everything I had before got deleted.. don’t mention the rage. breathing… and starting again. Just a collection of bits and pieces that I’ve found useful as I work…

Read More Don’t mention the rage…