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)
  • Anonymous
    #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
    #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)