Archived topic
Share Buttons don't work with infinite scroll.
14 replies · Started by Daniel on August 7, 2020
Hello
I'm using a plugin called "AddToAny Share Buttons" but it doesn't work with infinity scroll. I have set up 7 posts on my website and the buttons only appear on five of them. Any idea how can I fix this?
Thanks!
Hi there,
Does the plugin offers a way to add that using a shortcode or function of some sort?
If not I don't think there is a way to make it work with infinite scroll unfortunately.
Yes it does, Here is my setup: https://prnt.sc/twappz
I believe the issue is that it uses javascript to initiate. When the new posts are loaded, they're not initiated.
Is that plugin infinite scroll compatible?
I'm not sure, how can I check that?
You would need to check with the plugin support.
Hello
So I did check on the plugin page and it says it is infinity scroll compatible, https://prnt.sc/tzajcx https://wordpress.org/plugins/add-to-any/
Can you check with the plugin support to see if they see a reason why it's not working?
They said it should work when I contacted them. I have also created a stagging copy to test it out. I have disabled all plugins except AddToAny Share Buttons and GP Premium. Here is the link to staging copy: https://www.staging2.memescout.com/
So I'm still trying to figure it out, do you guys have any other ideas why it may not work?
Thanks!
We’re using this library for infinite scroll: https://infinite-scroll.com/
Can you check with their support to test why it isn't working?
It's not really something we can fix from our end.
So the support has reached out to me, here is what the think is happening:
https://wordpress.org/support/topic/doesnt-work-with-infinity-scroll/#post-13277781
Very helpful - we've added this in GPP 1.12.0.
Thank you! :)
When will the GPP 1.12.0. be released?
Likely near the beginning of October.
We may release this in a patch version before then if possible.
ok, is there any workaround that I can use until it gets updated?