On your site I was able to load 75 photos, but it looks like the first set of 25 photos gets repeated. You have several errors on your website – not sure if they are contributing to this:
- For some reason, your “uploads” directory is being accessed via http instead of https. Check your website configuration and ensure that the WordPress URL and the site address are both being served via https.
- There is a repeated error from your theme, which says:
[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive.
This is coming from your theme file, main.min.js.
For some reason, one particular Photonic attribute (called data-photonic-query
) on your gallery is getting blanked out when you click on the more
button. I verified with the demo site whether anything was problematic with the code, but the demo site seems to be working fine (https://aquoid.com/plugins/photonic/instagram/). if you are able to resolve the errors above, I might be able to troubleshoot from that point on.
It is also possible that the reason for the attribute getting blanked out is not related to the errors above and is happening from a different plugin. I say this because when I look at the markup generated by clicking on “More”, it is missing all CSS “data” attributes. This leads me to suspect that you have a plugin that is blocking these attributes on an AJAX call (or for that matter, anything that is applying specific wp_kses
calls to the AJAX output). The attributes work fine on a regular call (which is why the first click is working fine), but not on AJAX calls. This is harder to troubleshoot in your case and you would need to disable all your plugins and reactivate them one by one to see which one is the culprit.