This post was first published on Adding Infinite Scroll Without Plugin To WordPress Theme
In this tutorial I will tell you how to add an infinite ...
For further actions, you may consider blocking this person and/or reporting abuse
Good post Erhan, but the creation of loop.php is somewhat nebulous. Can you expand on "copy your direct loop from index.php file. "? Eg, I was looking at this for the astra theme & couldn't quite figure out the mapping there, since there is no while loop.
Thanks.
Probably while loop section is at another file. You must check the theme files and find it.
I also suggest you to a create child theme so you don't lose your changes when you update the theme.
Hi Erhan, I hope this message finds you doing well.
Can I check if I use your codes for the custom post type, should there be some code modification on the functions file? I have been following your tutorial, but the post doesn't load, and therefore the infiniteLoader icon never hides. So, I am wondering if there is a need to modify the function code to call out the Custom Post Type posts. Do you think you can give some advice?