Support

Account

Home Forums General Issues Multiple relationship fields on same page not working Reply To: Multiple relationship fields on same page not working

  • Hi John,

    The rest of the code is just layout code and data manipulation.

    However I didn’t think to use setup_postdata() and wp_reset_postdata() for a relationship field loop. I placed these functions at the start and end of my foreach loop and now it works! What a simple solution, proves I have much to learn still.

    Thanks a lot for the hint!