Answer the question
In order to leave comments, you need to log in
Ajax loading wordpress posts, how best to do it?
Hello, I have now decided to make ajax loading of posts when clicking on a button on a test site, I have already read a lot of tutorials, but the code did not work in any case, perhaps because they did it in index.php, and I did it in my template . Then I came across a video of some Indian, he also did it on his template, following his example, loading began to work for me, but for some reason the posts were repeated and the loading was endless ....
You can go crazy, I read so much information, nothing working I didn’t find it, I saw here an advice about the Ajax load more plugin, it seems to be convenient, but for some reason it doesn’t work correctly, I set a class for the container
.example-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question