Home

Skip to Content Skip to Navigation

Archive for January, 2009

Evolution of a Programmer

January 29th, 2009 - Code

Over the dark, dank winter break I took quite a bit of time to myself to indulge in one of my favourite passtimes that has been sidelined in recent years: reading a good old book.  I read a few great works of fiction, The Bridge by Iain Banks standing out particularly, as well as finally getting round to reading Don't Make Me Think, which I am ...

Ever wanted to find out with PHP and Wordpress whether a page is a subpage of another? Fair enough, that is easy to do, using $post->post_parent. But what if you want to find out if a page is a subpage of a page two or more levels above it? That's where my plugin comes in.

Back to top