The Colab

The in-house web department of Sole Technology, Inc.


October 10, 2005

WordPress patch adding depth support to get_pages()

Posted by: dude

Ran into another problem with WordPress but it was easy to fix. For some reason, wp_list_pages() lets you specify child_of and depth, to change which pages are displayed.. however, the function that will let you manually loop through these pages, get_pages(), doesn’t. Get the patch for 1.5.2: wp-1.5.2-get_pages-supports-depth.patch.


No Comments

No comments yet.


Comment closed.