I am trying to do an add more button , but taking a step back and just using standard infinite scroll the first load more on scroll replaces the first initially loaded posts. I can provide access to the site, I was hoping to do a chat so I could show you the issue. however I will provide a login if you can provide me with the form again.
Hi, can you try these troubleshooting steps first and let me know the results?
- Temporarily switch to the default Twenty Nineteen theme, temporarily disable all custom code snippets, then disable all plugins except Views and try again. If necessary, change the post type to something built-in to WordPress, like Posts or Pages.
- If the problem is resolved, reactivate your theme and other plugins one by one until the problem returns.
- If the problem was not resolved, please copy the markup from your View's loop editor here for me to review. If you're using a loop template, please copy that code for me to review as well.
- If any JavaScript errors appear in the browser console when the results are overwritten, please copy + paste that for me to review here too.
Let me know what you find out and we can go from there.
Okay I don't see anything obviously wrong here. Could I log in and take a look at the configurations in wp-admin? Private reply fields are enabled. FYI, we implemented a change last year so that all URLs are hidden in the forums, except to the author of the ticket and support staff. I made your last reply private anyway, just wanted you to be aware.
I'm not exactly clear what's happening here, but it might have to do with the fact that this Page:
lien caché
/about-ghva/blog/
...is at a URL assigned as the location of the post archives:
lien caché
As a test, you could try:
1. Trash this page temporarily and test again. Or...
2. Choose a permalink structure like Year / Month, and resave your site permalinks. Then check the archives at their standard /category/uncategorized URL.
Then let me know if infinite scrolling works as expected or not after you modify the permalink structure.
Same thing with default permalink structure - lien caché
Okay thanks, I'll make a clone and try to do some more in-depth testing locally. I'll update you soon.
Hmmm, the cloned site infinite scrolling works as expected on my localhost. Here's a screenshot. I can see that you're on a Litespeed server. I wonder if there is any aggressive caching in place on your server that could be working against us here? Is there any object caching you can clear, or any other server-side caching system you can flush? Any way to exclude specific URLs?
Sorry for the extra post, please see my previous response in the forum. I set the incorrect status for my reply.
Ok, hmm. I don't manage the server, I'll see what I can do! thanks for verifying that.
You're quite welcome. Let me know if there's any information you need from me to help facilitate a conversation with the hosting team.