Blog: Wordpress
I have been using the NextGen Gallery plugin for WordPress to handle image galleries. The admin interface is easy to use, even for my clients. Unfortunately the plugin outputs the images into Flash movie, which I wasn’t happy with- so I’ve written code to output the images into a Javascript scroller, which is far more customisable. I can change the next/previous image buttons to suit the style of the website, and I can add a number or thumbnail for each image if I wish.

I continue to use WordPress as my primary choice for a website CMS. Occasionally, a website’s needs exceed the core functionality. Luckily it’s core functions are written with PHP so extending them is an easy job (unlike ExpressionEngine… cough!). I’m going to list some custom functions I’ve created on this blog to help you fellow WordPressers out there.
Today I needed use the ‘wp_list_pages’ function, but to only list the tree (ie. itself and it’s children) of a certain post. The existing function has arguments for ‘include’, ‘exclude’, ‘exclude_tree’ – but ‘include_tree’ is missing. Therefore I created my own function to do this.
