Support

Account

Home Forums ACF PRO Displaying custom field on all attached media items Reply To: Displaying custom field on all attached media items

  • Hi @aswhipple

    It depends on how you add the image. If you use WordPress content editor, then you need to check the content for any attachment link because WordPress attach the attachment just like a normal link. After that, you need to get the ID of the attachment from the link. Then you can show the custom field value by following this guide: https://www.advancedcustomfields.com/resources/how-to-get-values-from-a-media-attachment/.

    The important thing is to get the attachment ID so you can get the custom field value by using that ID.

    I hope this makes sense 🙂