Social share button on loop

Posted in: Newspaper
Post count: 14

Hello,

We want to add social share button on the blog loop. Say for example here – http://prntscr.com/lk6so8
We can integrate that normally But the problem happen with the ajax load or infinite loop.
When I load new posts using ajax load more – http://prntscr.com/lk6t3d, the social share button stops working.

Here we have used the plugin – “AddToAny Share Buttons”. I have tried few things from the plugin side like-
I have tried adding a trigger on ajax success-
jQuery( ‘body’ ).trigger( ‘post-load’ );
Or initiate the plugin on ajax call-
$(“.a2a_dd”).each(function() {
a2a.init(‘page’);
});

But they never work. The share button is generated but no share link is generated for the new post load by ajax/
Note: We have tried different share plugin & the same thing happen, the share button generates but no share link is generated.

Can you please explain the problem or give us a solution to this?

Thanks

Post count: 14

Any take on this

Post count: 23312

Hello,

Unfortunately, this plugin has not been tested with our theme and therefore, we cannot say for sure if it will work or not as expected with the theme, sorry! Also, we cannot provide support for untested plugins.

Thanks for your understanding!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.