Title: Multiple instance with Masonry
Last modified: August 31, 2016

---

# Multiple instance with Masonry

 *  [dantahoua](https://wordpress.org/support/users/dantahoua/)
 * (@dantahoua)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/multiple-instance-with-masonry/)
 * Hello.
    I manage to make masonry work with Ajax Load More but not with multiple
   instance of ajl. I have multiple category and for each category I set up an Ajax
   load more button. Do you have a small example on how to set up masonry jquery
   to respond to each load more button? I saw that each container generated as a“
   alm-x” class, so I guess there is a way to “masonry” the container we use…
 * [https://wordpress.org/plugins/ajax-load-more/](https://wordpress.org/plugins/ajax-load-more/)

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

 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/multiple-instance-with-masonry/#post-7016244)
 * This should work, but you would need specifically target each instance by either
   the `alm-[num]` class (as you said above) or a `container_class` shortcode parameter.
 * I have not tested multiple instances of masonry before so I might be wrong 🙂
 *  Thread Starter [dantahoua](https://wordpress.org/support/users/dantahoua/)
 * (@dantahoua)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/multiple-instance-with-masonry/#post-7016414)
 * Ok, I’ll keep you in touch when I found more stuff…

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

The topic ‘Multiple instance with Masonry’ is closed to new replies.

 * ![](https://ps.w.org/ajax-load-more/assets/icon-256x256.png?rev=2944639)
 * [Ajax Load More – Infinite Scroll, Load More, & Lazy Load](https://wordpress.org/plugins/ajax-load-more/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-load-more/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-load-more/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-load-more/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-load-more/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-load-more/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [dantahoua](https://wordpress.org/support/users/dantahoua/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/multiple-instance-with-masonry/#post-7016414)
 * Status: not resolved