Support

Account

Home Forums Add-ons Gallery Field Custom Fields in Gallery Array Reply To: Custom Fields in Gallery Array

  • I decided to take a step back and try to hard code an example that would work for one image. I successfully got this to work:

    $gallery[0][‘constrain’] = get_field(‘constrain’, $gallery[0][‘id’]);

    Now I need to figure out how increment that ‘0’ in the loop for each image I have. If you have any ideas, let me know. And thanks so much for all of your help!