Oh thank you, this is very helpful.
Although this particular line is causing this error:
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW)
$children = get_posts ('meta_key' => '_wpcf_belongs_review', 'meta_value' => $post->ID);
Are there any mistakes in this line?
"Review" is the child type.
Thank you!
Nathan