Support

Account

Home Forums Bug Reports Maybe error in documentation page Reply To: Maybe error in documentation page

  • I will see what I can do about bringing this to the developer’s attention, but can’t guarantee anything will be done about it. Thanks for the feedback.

    I’m not the writer or maintainer of the documentation. The following are just my own tjoughts.

    Anywhere you see something like: $posts = get_field('relationship_field_name'); it should be assumed that this code needs to be inside of “The Loop”. The documentation here is only a reference to how to use things in the most general way.

    It would be extremely difficult for Elliot to include notes about all conditions that may arise, like putting the main WP loop inside a loop for a custom field. Something like this would cause errors and problems even without ACF where one post loop is nested inside another.