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.
Posts Tagged ‘PHP’
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.