Support » Plugin: WP-FacebookConnect » [Plugin: WP-FacebookConnect] Breaks exsisting "Like" Buttons

  • I was already running the Facebook SDK to generate “Like” buttons. Upon activation of your plug-in I saw this:

    When I deactivate the error disappears. I see the new version of the plug-in already offers auto-insertion of the “Like” button, but I would like to see an option to enable or disable that feature.

    Otherwise, thank you for the plug-in! The connect feature works great.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Derrrrr

    I deleted:

    <div id="fb-root"></div>
      window.fbAsyncInit = function() {
    	FB.init({appId: '126059490749466', status: true, cookie: true,
    	xfbml: true});
      (function() {
    	var e = document.createElement('script'); e.async = true;
    	e.src = document.location.protocol +

    out of custom_functions.php and POOF the error disappeared.

    The issue is now, people must be “Connected” to even see the “Like” button.

    Scratch that too…

    I just placed: <?php echo fbc_render_like(); ?> into a hook and there is the like button for those who aren’t connected.

    And one more… if you don’t want the “Like” button to show up the same place as the connect button:

    • Open fbconnect.php
    • Scroll to line 525
    • Erase: echo fbc_render_like();
    • Save & Upload
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-FacebookConnect] Breaks exsisting "Like" Buttons’ is closed to new replies.