Title: Caption does not work
Last modified: December 7, 2016

---

# Caption does not work

 *  Resolved [Rick Hellewell](https://wordpress.org/support/users/rhellewellgmailcom/)
 * (@rhellewellgmailcom)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/caption-does-not-work/)
 * Using the ‘caption’ in the #img# tag does not write to the ‘caption’ meta field
   of the picture.
 * `#img1 caption='this is the caption'#`
 * I understand this is a known bug. Is there and ETA on the fix?
 * Thanks….Rick…

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Wayne Allen](https://wordpress.org/support/users/wayneallen-1/)
 * (@wayneallen-1)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/caption-does-not-work/#post-8526213)
 * This is fixed in 1.8.21 released today.
 *  Thread Starter [Rick Hellewell](https://wordpress.org/support/users/rhellewellgmailcom/)
 * (@rhellewellgmailcom)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/caption-does-not-work/#post-8527407)
 * I tested 1.8.22 and the captions (specified in the #img1 caption=’this is a caption’)
   is placed in the text via the HREF Code, and in the ALT parameter of the IMG 
   tag. Here is what is generated (for lurkers) (URLs are santitized a bit, along
   with some extra line breaks for readability)
 *     ```
       <a class="gallery_colorbox cboxElement" href="http://www.mysite.com/subsite/wp-content/uploads/sites/2/2016/12/storm-tree-3.jpg" data-featherlight="image">
   
       <img class=" size-medium wp-image-83 alignleft " 
       src="http://www.mysite.com/subsite/wp-content/uploads/sites/2/2016/12/storm-tree-3-300x200.jpg" 
   
       alt="this is image 1" 
   
       srcset="http://www.mysite.com/subsite/wp-content/uploads/sites/2/2016
       /12/storm-tree-3-300x200.jpg 300w, http://www.mysite.com/subsite/wp-content/uploads/sites/2/2016/12/storm-tree-3-768x512.jpg 768w, http://www.mysite.com/subsite/wp-content/uploads/sites/2/2016/12/storm-tree-3-676x450.jpg 676w, http://www.mysite.com/subsite/wp-content/uploads/sites/2/2016/12/storm-tree-3.jpg 821w" 
   
       sizes="(max-width: 300px) 100vw, 300px" width="300px" height="200px">
   
       [Picture: this is image 1]
       </a>
       ```
   
 * The caption, however, is **not **placed in the metadata for the picture (the 
   info you see on the right when you click on a picture in the Media screen).
 * It would seem that having the ‘caption’ value in the ‘caption’ metadata would
   be the intent of the ‘caption’ code. That way, a theme could use the caption-
   metadata to put the caption of the image below the image, rather than as the 
   HREF text.
 *  Plugin Author [Wayne Allen](https://wordpress.org/support/users/wayneallen-1/)
 * (@wayneallen-1)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/caption-does-not-work/#post-8527693)
 * You can put the caption anywhere you want, that is the purpose of the image template.
 * The reason Postie doesn’t add the caption to the metadata is that you can specify
   the same image multiple times with different captions.
 * `#img1 caption="This is image 1"# #img1 caption="This is also image 1"#`
 * If you really want the caption on the metadata you could use the postie_place_media
   filter. [http://postieplugin.com/filter-postie_place_media/](http://postieplugin.com/filter-postie_place_media/)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Caption does not work’ is closed to new replies.

 * ![](https://ps.w.org/postie/assets/icon-256x256.png?rev=970083)
 * [Postie](https://wordpress.org/plugins/postie/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/postie/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/postie/)
 * [Active Topics](https://wordpress.org/support/plugin/postie/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/postie/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/postie/reviews/)

## Tags

 * [caption](https://wordpress.org/support/topic-tag/caption/)

 * 3 replies
 * 2 participants
 * Last reply from: [Wayne Allen](https://wordpress.org/support/users/wayneallen-1/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/caption-does-not-work/#post-8527693)
 * Status: resolved