[wp-hackers] Newbie Q - can't get get_children to work

Jan Erik Moström lists at mostrom.pp.se
Sat Apr 11 14:36:15 GMT 2009


On 09-04-11 at 16.02, Matt Martz <mdmartz at sivel.net> wrote:

>You are not including post_parent which is required so that it knows
>what parent post to get children from.  that post_parent needs to be
>the ID of the post.

Thanks, I misread the docs and thought that the default was to 
search all attachments.

                             jem
-- 
Jan Erik Moström, http://mostrom.eu



More information about the wp-hackers mailing list