Support

Account

Home Forums Add-ons Gallery Field Bring gallery image into have post array Reply To: Bring gallery image into have post array

  • Hi @beeblu

    The issue is that you are passing the 2 false parameters to the get_field function. This will stop ACF from formatting the value and returning data such as ‘url’ or ‘large’.

    Perhaps you should change your code to:

    
    $images = get_field('gallery');
    

    Thanks
    E