Videolu anlatım http://kabuscobar.net/wordpress-blog...butonu-ekleme/
Temanınızın header.php dosyasını açı ve <body> etiketinin hemen altına JavaScript SDK kodunu ekleyin.
single.php dosyasını açıp beğen butonunuzun gözükmesini istediğiniz yere XFBML kodunu yapıştırın.
JavaScript SDK Kodu
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({appId: 'your app id', status: true, cookie: true,
xfbml: true});
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>XFBML Kodu<fb:like></fb:like>
