Add facebook share count button - Wordpress Example

Not long ago if someone had to add a live facebook share button in wordpress website.

They had to need third party script for this live facebook share button.

Now facebook has decided to expel official facebook share count button In different versions. So why rely upon on the third party script.

To add an official-facebook-share-count-button for your wordpress just  visit a theme file and pick a theme file.

Add the following code :

<a name="fb_share" type="box_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>

If you want to show a compact version then used below code :

<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>

Wrap the codes around with any styling.