Support » Plugin: Attachments » Caption isn't actual Attachment Caption?

  • Resolved pha3z

    (@pha3z)


    I noticed the code demonstrates $attachments->field( ‘caption’ ) but nothing mentioned about description. I also noticed that the caption box in the metabox does not show the caption I’ve assigned to the attachment itself in the media library. So evidentally this plugin creates an additional caption field specific to the page it’s used on?

    Is it possible to retrieve the caption or description from the attachment itself?

    http://wordpress.org/plugins/attachments/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jonathan Christopher

    (@jchristopher)

    Yes, Attachments field data is kept separate from the fields in the Media library on purpose, but you can tell Attachments to use the value from the Media library fields by default. Please see the Fields Reference.

    Ah – that makes sense now – maybe the documentation could make it a little clearer?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Caption isn't actual Attachment Caption?’ is closed to new replies.