add Facebook Share button on WordPress


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /*Above Content Counter Button*/
  2.  
  3. <a name="fb_share" type="box_count" href="<a href="http://www.facebook.com/sharer.php%22%3EShare%3C/a%3E%3Cscript" rel="nofollow">http://www.facebook.com/sharer.php">Share</a><script</a> src="<a href="http://static.ak.fbcdn.net/connect.php/js/FB.Share&quot" rel="nofollow">http://static.ak.fbcdn.net/connect.php/js/FB.Share&quot</a>; type="text/javascript"></script>
  4.  
  5. /*Inline with Content Counter Button*/
  6. <a name="fb_share" type="button_count" href="<a href="http://www.facebook.com/sharer.php%22%3EShare%3C/a%3E%3Cscript" rel="nofollow">http://www.facebook.com/sharer.php">Share</a><script</a> src="<a href="http://static.ak.fbcdn.net/connect.php/js/FB.Share&quot" rel="nofollow">http://static.ak.fbcdn.net/connect.php/js/FB.Share&quot</a>; type="text/javascript"></script>
  7.  
  8. /*Link only*/
  9. <a name="fb_share" type="icon_link" href="<a href="http://www.facebook.com/sharer.php%22%3EShare%3C/a%3E%3Cscript" rel="nofollow">http://www.facebook.com/sharer.php">Share</a><script</a> src="<a href="http://static.ak.fbcdn.net/connect.php/js/FB.Share&quot" rel="nofollow">http://static.ak.fbcdn.net/connect.php/js/FB.Share&quot</a>; type="text/javascript"></script>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.