[wp-hackers] custom Edit Pages screens
scribu at gmail.com
Mon Nov 9 09:48:04 UTC 2009
On Mon, Nov 9, 2009 at 1:53 AM, Steve Taylor <steve at sltaylor.co.uk> wrote:
> scribu, thanks for the tip - I'm experimenting now. So far the major
> issue is that adding post_parent as a query_var returns *only*
> immediate children of that page - and none of the other descendents.
> Any ideas? I can't see an obvious query_var to set. I imagine the
> get_pages() parameters are irrelevent here?
You could manually get all the child page IDs and put them as 'post__in'.
More information about the wp-hackers