Title: Problem when using [attachment]
Last modified: August 22, 2016

---

# Problem when using [attachment]

 *  Resolved [laikmosh](https://wordpress.org/support/users/laikmosh/)
 * (@laikmosh)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/problem-when-using-attachment/)
 * i found some problems when using the [attachment] shortcode, one is that after
   using it once you cant use it again anywhere else in the page, and second is 
   that after using it, anytime you try to use any other shortcode it keeps showing
   up info on the last image of the gallery, like this:
 * im using this code:
 * [loop category=”Venues”]
    [attached] [field image] [/attached] [field title] [/
   loop]
 * but the [field title] is showing the title of the last image of the gallery, 
   and any shortcode i use afterwards keeps getting info on that last image, its
   like if the [/attached] had no effect, how can i reset the fields after using[
   attached] so it calls info on the post and not on the last image of the gallery?
 * [https://wordpress.org/plugins/custom-content-shortcode/](https://wordpress.org/plugins/custom-content-shortcode/)

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

 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/problem-when-using-attachment/#post-5524957)
 * Hello,
 * Thank you for pointing this out – that sounds like a problem with [attached] 
   not resetting itself after it’s finished. I’ll look at the shortcode to see where
   it needs to be fixed. I’ll let you know when I find something.
 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/problem-when-using-attachment/#post-5524976)
 * OK, I corrected the [attached] shortcode in the latest update, so it doesn’t 
   interfere with the parent loop.

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

The topic ‘Problem when using [attachment]’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-shortcode_766976.svg)
 * [Custom Content Shortcode](https://wordpress.org/plugins/custom-content-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-shortcode/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/problem-when-using-attachment/#post-5524976)
 * Status: resolved