How do I insert a after every 5 posts in a WordPress Loop that infinitely loads posts?
It seems that you are using Ajax Load More as a lazy loading method. Your div is displaying only with the elements loaded with the “classic” WP query because the load more shortcode has nothing to do with the code you wrote: is other code, excuted when already your code was parsed, run, an done. … Read more