add facebook share button w/out plugins

by 1 replies
1
I added the html 5 code from here
https://developers.facebook.com/docs...s/share-button
in the text section of my wp site, but nothing is appearing.
I don't want to use a plugin because they give me no control ( that I know of) of where exactly the button is going to go.

The code I added looks like this
<div class="fb-share-button" data-href="http://developers.facebook.com/docs/plugins/" data-width="20" data-type="button_count"></div>

thanks much
#programming #add #button #facebook #plugins #share #w or out
  • You can put the share button code in a widget, but also you need to put initializing Javascript code before the <body> tag of your theme's index.php (usually) file.

Next Topics on Trending Feed