Most Wicked Domain
RSS:
Publications
Comments

How to add Facebook Share Button in Wordpress

Today’s lesson is to How to add Facebook Connect Share Button in Wordpress. Before you even add Facebook Share Button to your website I strongly suggest to download Firefox plugin called Firebug. With firebug you can add code to your site and change the look and feel without touching the code. Once you are done, than you edit the real code.

Well let’s get rolling here.

Go to your Wordpress Admin Console, expand Appearance and click on Editor. On the left side look for (Single Post) single.php file.

Now this is bit tricky because not everyone has wordpress theme coded same way. Look through the code and find something like.

<div class=”postarea”> Look for this part of the code which is the starting point of your blog post. Than just add facebook share button:

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

In my case because I have categories and stuff like that before the post I added my code this way:

Edit Themes ‹ M.W.D — WordPress_1256602013554

Main point is to add the code before <div class=”entry”> that is where your commenting form starts. So just be creative add the code on places you think is the best and I guaranteee you it will work. Just make sure you don’t delete the original code.

If you need some help please leave comment and I’ll try to assist you asap.

Reblog this post [with Zemanta]
Share With Others!
  • Twitter
  • Digg
  • Facebook
  • Yahoo! Buzz
  • Google Bookmarks
  • del.icio.us
  • Mixx
  • StumbleUpon
  • email
  • Suggest to Techmeme via Twitter

Related Posts


blog comments powered by Disqus