Support » Plugin: Easy Load More » Hide load more button when reached max

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

    (@brianbrey)

    Hi,

    The load more button should automatically remove itself when all the posts are displayed. One way you can check if it is working properly is using the Inspector in Chrome or Firefox developer tools. Right click on the button and select “Inspect” and you should see the button’s html. There you should see something like this:

    <button class="elm-button" data-href="http://yoursite.com" data-page="1" data-max-pages="3">

    The button should remove itself when data-page is equal to data-max-pages. If it isn’t, then there could be an error in the javascript. Or there could be something happening with your post query loop. Checking the page and max pages attributes would be the first place to look though.

    Hope that helps get you closer to solving the issue. Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Hide load more button when reached max’ is closed to new replies.