WordPress.org

Support

Support » Plugins and Hacks » Facebook Likes & Shares the Same

Facebook Likes & Shares the Same

  • I have a specific reason why i need to manually add facebook likes and shares in single.php, but the issue is that it seems that the facebook like and share counts are the same in every post. any ideas?
    thanks in advance

    <span style="float:left;margin-right:5px;padding:0;margin-left:0;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1"></script></span>
    <span style="float:left;margin-right:5px;padding:0;margin-left:0;">    <a name="fb_share" type="button_count" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></span>
        <span style="float:left;margin-right:5px;padding:0;margin-left:0;"><iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&layout=button_count&show_faces=false&width=140&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:140; height:28px;"></iframe></span>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Facebook Likes & Shares the Same’ is closed to new replies.
Skip to toolbar