WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. pha3z
    Member
    Posted 3 years 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 2 years 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 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Attachments
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.