Support

Account

Home Forums General Issues How to echo custom field from media attachment Reply To: How to echo custom field from media attachment

  • Im sorry John, but it does not work.

    As an output under every image I get this code instead of custom-field-name

    
    = get_attached_media(''); if () { foreach ( as ) { echo get_field('custom-field-name', ),'
    '; } }