WordPress.org

Ready to get started?Download WordPress

Forums

Attachments
[resolved] Caption isn't actual Attachment Caption? (3 posts)

  1. pha3z
    Member
    Posted 10 months ago #

    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/

  2. Jonathan Christopher
    Member
    Plugin Author

    Posted 10 months ago #

    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.

  3. Andy Macaulay-Brook
    Member
    Posted 10 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.