Title: Plugin generating incorrect markup when called via [gallery] shortcode
Last modified: August 21, 2016

---

# Plugin generating incorrect markup when called via [gallery] shortcode

 *  [manifestcreative](https://wordpress.org/support/users/manifestcreative/)
 * (@manifestcreative)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/plugin-generating-incorrect-markup-when-called-via-gallery-shortcode/)
 * When creating a gallery within a post, if the selected gallery images are from
   a variety of different posts, the rel=”shadowbox[sbalbum-X];” attribute prevents
   all of the images from displaying in sequential order. This is because the original
   post or attachment ID is used instead of the post ID for the current post.
 * Hopefully the developers will release an update?
 * [http://wordpress.org/plugins/shadowbox-js/](http://wordpress.org/plugins/shadowbox-js/)

The topic ‘Plugin generating incorrect markup when called via [gallery] shortcode’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/shadowbox-js.svg)
 * [Shadowbox JS](https://wordpress.org/plugins/shadowbox-js/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shadowbox-js/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shadowbox-js/)
 * [Active Topics](https://wordpress.org/support/plugin/shadowbox-js/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shadowbox-js/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shadowbox-js/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [manifestcreative](https://wordpress.org/support/users/manifestcreative/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/plugin-generating-incorrect-markup-when-called-via-gallery-shortcode/)
 * Status: not resolved