How to Terminate Button After All Loaded
-
Hi,
I’ve noticed that the button sticks around even after I try to load pages that don’t exist. Related to this, if I go to an archive page that has less posts than my limit from wordpress (currently set to 5), the button shows up even though there is nothing to load.Can I terminate that button when it is no longer relevant in both those scenarios? I’ve looked through the examples and I see code to stop after n number of loads, but not an example that does the above desired functionality. Have you come up with a solution for this before that you could share with me?
An example of the first scenario happens on my homepage:
https://kyledavidgroup.kdgtest.com/blog/And an example of the second happens on my category page here:
https://kyledavidgroup.kdgtest.com/blog/category/kdg-insights/All help greatly appreciated!
-Dan
- The topic ‘How to Terminate Button After All Loaded’ is closed to new replies.