Title: attachments
Last modified: August 30, 2016

---

# attachments

 *  Resolved [jenjohn](https://wordpress.org/support/users/jenjohn/)
 * (@jenjohn)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/attachments-25/)
 * I found another problem with 2.7.1 that wasn’t there in 2.6.5.
    I have a loop
   that lists posts and for each post its associated attachments. Something like:
 * [loop …]
    [field title] [content] [if attached][attached order=”ASC”][field title-
   link-out][br/] [/attached][/if][/loop]
 * With 2.7.1 I’m getting the post title for each attachment but the href is just
   blank so it opens a new tab to the same page. Even if I change the field within
   the [attached] code to get the attachment title, it’s still pulling the post’s
   title.
 * [https://wordpress.org/plugins/custom-content-shortcode/](https://wordpress.org/plugins/custom-content-shortcode/)

The topic ‘attachments’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [jenjohn](https://wordpress.org/support/users/jenjohn/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/attachments-25/)
 * Status: resolved