• Hi
    As i checked your plugin codes are not right because your share buttons are not showing in the content of posts that are printing in Ajax calls. This type of ajax calls is using in the “Ajax Loading Posts” or “Infinity Loading Posts”. Our Publisher WordPress Theme has the same feature but your plugin is not working with Publisher and as i checked there is 2 issue in your codes that need to be fixed to make sure your plugin is compatible with Publisher and all other themes.

    Change 1:
    File includes/class-easy-social-share-buttons.php line 686
    Change the if to the following code because the is_singular not works in the ajax calls:
    if ( ! in_array( get_post_type(),$post_types ) ) {

    Change 2:
    File includes/class-easy-social-share-buttons.php line 737
    same as prev
    if ( ! in_array( get_post_type(),array( 'post' ) ) ) {

    Please include it on your next update. Thanks

    Sincerely
    Ali, BetterStudio

    • This topic was modified 5 years, 11 months ago by Better Studio.
    • This topic was modified 5 years, 11 months ago by Better Studio.
  • The topic ‘Fix Share Button in Infinity Ajax Loaded Posts – Publisher Theme’ is closed to new replies.