Title: Gallery loads from all posts
Last modified: August 21, 2016

---

# Gallery loads from all posts

 *  [Ole Aggerholm](https://wordpress.org/support/users/ole_aggerholm/)
 * (@ole_aggerholm)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/gallery-loads-from-all-posts/)
 * Case:
    I have gallery A with 5 Pictures I have gallery B with 3 Pictures
 * When user click on Picture #1 from gallwery A, it displayes in the popup, that
   this is Picture 1 of 8. When the user use “next” “next” and the 5 Picture is 
   displayed from gallery A, then it starts display Picture #1 from gallery B
 * It should only shows the Pictures, there are attached to the current posts
 * Any suggestions, where i should go and change the code?

The topic ‘Gallery loads from all posts’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/esplanade/1.1.5/screenshot.png)
 * Esplanade
 * [Support Threads](https://wordpress.org/support/theme/esplanade/)
 * [Active Topics](https://wordpress.org/support/theme/esplanade/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/esplanade/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/esplanade/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Ole Aggerholm](https://wordpress.org/support/users/ole_aggerholm/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/gallery-loads-from-all-posts/)
 * Status: not resolved