• Hey there

    So I am currently implementing a third party infinite scroll that loads the posts on my site. I have turned sharing setting on and I have placed in each of the posts summary view using

    <?php
        if ( function_exists( 'sharing_display' ) ) {
            sharing_display( '', true );
        }
    
        if ( class_exists( 'Jetpack_Likes' ) ) {
            $custom_likes = new Jetpack_Likes;
            echo $custom_likes->post_likes( '' );
        }
        ?>

    The issue I am experiencing is that there is no share count is appearing. The sharing count functionality is working when I go into the posts themselves. I read somewhere that including WPCOMSharing_do(); in the ajax request for more posts would fix it but it doesn’t appear to have changed anything.

    Any help in this regard would be greatly appreciated

    https://wordpress.org/plugins/jetpack/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Jetpack Sharing Count via Javascript not working’ is closed to new replies.