• I was having considerable headaches trying to get the social buttons to even show up right. The first one (facebook like) would show up but no others.

    Turns out that one of the primary content filters was mangling the content before it could get displayed.

    The following code fixed it.

    Replace the content in social_sharing_toolkit.php between 899 and 910 with this (you’ll see how it works):

    if ($MR_Social_Sharing_Toolkit->should_linkify_content()) {
    	add_filter('the_content', array($MR_Social_Sharing_Toolkit, 'linkify'), 100);
    }
    if ($MR_Social_Sharing_Toolkit->should_linkify_comments()) {
    	add_filter('comment_text', array($MR_Social_Sharing_Toolkit, 'linkify'), 100);
    }
    if ($MR_Social_Sharing_Toolkit->should_share_excerpt()) {
    	add_filter('the_excerpt', array($MR_Social_Sharing_Toolkit, 'share_excerpt'), 100);
    }
    if ($MR_Social_Sharing_Toolkit->should_share_content()) {
    	add_filter('the_content', array($MR_Social_Sharing_Toolkit, 'share'), 100);
    }

    Basically you have to make sure that the filter that themes the buttons gets executed AFTER everything else. There may be other ways to handle it, but this one worked for me.

    http://wordpress.org/extend/plugins/social-sharing-toolkit/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[RESOLVED] Social sharing buttons not displaying for toolkit’ is closed to new replies.