WordPress.org

Ready to get started?Download WordPress

Forums

O3 Social Share
Trouble with manually adding the plug-in (10 posts)

  1. sales@4bco.com
    Member
    Posted 2 years ago #

    Hey & thanks for the plug~in. I am trying to get it to work on my posts. I have found that if I choose for it to appear below the content, everything shows up as expected. However, if I chose to add it manually and add the code echo o3_output_social_plugins(); to my template it doesn't show up....unless I also chose to have it show up below the content and then it appears in both places! Help!

    Link where the problem can be seen

    http://wordpress.org/extend/plugins/o3-social-share/

  2. Brian Onorio, O3
    Member
    Plugin Author

    Posted 2 years ago #

    Hi there.

    I'd love to take a look and see what's going on. I went to your URL you listed but did not see any social plugin output (which may be the problem!)

    If you don't mind, I'd love to diagnose further, but would need WP credentials to your site. If you're comfortable with this arrangement, email me at support at weareo3 dot com and I'll poke around and see if we can find a fix.

    Thanks for the feedback!

    -Brian

  3. sales@4bco.com
    Member
    Posted 2 years ago #

    You have gotten to see it without the plug-in showing up, now you can view it with it there.

    I would need to know what level of access you need to the site. I am assuming admin.

    Thanks!

  4. Brian Onorio, O3
    Member
    Plugin Author

    Posted 2 years ago #

    Yes, the plugin requires Admin Access to be able to view the Options Panel.

    I see it popping up in 2 places. Because the plugin attaches itself to the the_content filter, it is possible that this could pop up in two places, depending on how the theme was coded.

    If you're comfortable, shoot over those credentials and I can confirm and maybe remedy this problem for anyone else experience the same issue.

  5. sales@4bco.com
    Member
    Posted 2 years ago #

    Sent your way....The code is added to single-9.php. That is the example I have shown you. If you have any questions, please let me know.

    Thanks!

  6. sales@4bco.com
    Member
    Posted 2 years ago #

    I have fixed the issue. You need to change your awesome plug-in code to....

    $ss .= '</div>';
    		if($auto_append == "top") {
    			return $ss . $content;
    		} elseif($auto_append == "bottom") {
    			return $content . $ss;
    		} elseif($auto_append == "both") {
    			return $ss . $content . $ss;
    		} elseif($auto_append == "none") {
    			return $ss;
    		}
    		return $content;
    	} else {
    		return $content;
    	}

    and it will work!

    Have a great day!

  7. Brian Onorio, O3
    Member
    Plugin Author

    Posted 2 years ago #

    Hmm, There's a few issues with that code that would keep me from using it on the plugin.

    if($auto_append == "none") {
    return $ss;
    }

    If the user chooses not to auto append, you're outputting the plugin code anyway and not returning the post content, which would not be the desired effect.

    Nonetheless, if it works for you, go for it!

    I got your email with your credentials, but if you no longer need any help, you can remove that account (I never logged in).

  8. dogshindleg
    Member
    Posted 2 years ago #

    This is happening to me too. Did you find a fix for it?

    The problem is that you should be able to have none of the 'Apply Social Plugins to:' boxes checked (I get an error when I do this) and have the insert manually option selected and it should just appear wherever you have it in the template.

  9. Brian Onorio, O3
    Member
    Plugin Author

    Posted 2 years ago #

    dogshindleg,

    I have confirmed the bug you're seeing and have patched it in the test code. I will be releasing a new version this afternoon with a fix to remedy your problem. Look for a plugin update soon.

  10. alexuri
    Member
    Posted 1 year ago #

    Hi there,

    I've installed the social share plugin, however, the G+ logo and counter does not appear in firefox (it displays in chrome)

    Any way i can fix this?

    Regards,
    Alex

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic