Support

Account

Home Forums Add-ons Gallery Field Use files in Gallery field Reply To: Use files in Gallery field

  • Well, it would cause problems because it will try to return an array of images. On the other hand, if you used the code at the bottom of the gallery doc page http://www.advancedcustomfields.com/resources/gallery/ “Create a WP gallery” this returns an array of attachment ID values and you could use those with wp_get_attachment_url(). However, I’ve never tried to add files to a gallery field, have you? Will it allow files that are not images?