Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Here'is how to create a Load More button (Newbies)

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • francois5353
    #205678

    Hi 🙂

    I know that it’s not the perfect solution but I wan’t to share you how I did a load more button after many times searching an awnser here.

    In search-filter-build.min.js

    Replace this line:
    n > s + i && e.loadMoreResults()

    By those lines:

    $('.loadm').click(function(){
      n > s + i && e.loadMoreResults()
      });
    });

    And now everything works well, you just need to do your button or link and that’s all.

    PS: Use Infinite scroll method to achieve this.

    Sorry for my bad english and thank you for your plugin 🙂

    Trevor Moderator
    #205719

    I will mark this for the attention of the developer and thank you for sharing. I would observer that making these changes would result in them being lost when you upgrade.

    Ross Moderator
    #206405

    Hi Francois

    Thanks so much for sharing! This looks great.

    Just to let you know, in v3, we will be bringing this feature, so you won’t have to “hack” at S&F yourself 🙂

    Great work though, thanks!

    Best

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Here'is how to create a Load More button (Newbies)’ is closed to new replies.