This will be easier if the fields that you’re using are better defined. You have Father (or parent) and Child. A Father can have multiple children but a Child can only have on Father? Well, I guess there are several ways to have multiple fathers today….. anyway. What are the field types and settings for the fields on each of these that you’d like to have? Trying to account for every possibility makes the code more complex.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users