Pass post_type on get_children function