Wordpress Plugins

For now there is only the one plugin available: my update to the wp_list_pages() function. It’s called context_list_pages() and has all the same functionality as the wp default one (minus some of the bugs :) ) and with one extra piece of functionality:

part_of
  (integer) Display only the top level pages plus all subpages in the same branch as the Page; use the numeric ID for a Page as the value. Defaults to 0 (display all top level pages only).

Get it here and simply unzip to your wp-content/plugins directory.

Recommended usage:

< ?php
if(function_exists('context_list_pages')) {
  global $id;
  context_list_pages('part_of=' . $id);
} else {
  wp_list_pages();
}
?>

Actually I’d recommend using the title_li option and probably the sort_column option too. Enjoy :)

Next job: Hack up a theme that floats my boat. The new standard (Kubrick) is almost there but there are a couple of things I dislike. I think I’ll make stopping the fixed widthness the top of on my hit list.

Download my plugins and themes here.


1