Support » Plugin: WordPress Infinite Scroll - Ajax Load More » Masonry and Filtering

  • Hi, currently we’re using Ajax Load More to filter products in a woocommerce store. The current transition is the default fade, but when I try to use masonry, it still just does the same fade up animation. Is masonry compatible with the filtering function in ALM?

    For a little background of what I’ve done:
    1. enqueue masonry
    2. added the following data attributes to the filter links: data-transition=”masonry” data-masonry-selector=”.product” data-masonry-animation=”slide-up”

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author dcooney

    (@dcooney)

    Hi @corymentus
    Yes, masonry is compatible with Filtering.

    1. You don’t need to enqueue masonry, ALM will do this for you.
    2. Instead of passing masonry atts via the filter function, put these shortcode params on the ALM instance.
    [ajax_load_more transition="masonry" ...]

    Does that make sense?

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.