Posts Tagged ‘PHP’

Posted on 14th Mar, 2008 14th Mar 08
Posted by fran fran

PHP Memory and WordPress

Sometimes when WordPress runs out of available RAM on its housing server, it can yield some pretty strange results, including blank pages, timeouts, and unexplained errors. WordPress isn’t terribly verbose about memory related errors when they are encountered, and as such – one can spend a lot of time looking for errors in your PHP code, where none truly exist.

(more…)

Posted on 21st Jan, 2008 21st Jan 08
Posted by fran fran

Category Based Image Tags in WordPress

When re-designing the Narfstuff site, I thought it might be a good time-saving function to have WordPress automatically assign a category based image tag, whenever a post was published. You can see this effect when viewing posts on my main page – categories such as ‘WordPress Development’ are accompanied with a little graphical tag situated at the top-left of the post. It helps to add a bit more variety to the text area, and looks pretty neato too.

Using template tags, we have a really easy way of automating the process for our blog.

(more…)