Support » Everything else WordPress » Facebook Like Button

  • Okay, so I’ve been browsing the internet to look for an answer, but although there’s a couple of topics about the Facebook Like Button, none of them actually deals with what I’m looking for.

    My website ( is based on the Atmosphere 2010 theme, and I have made a few tweaks here and there. What I want to do now is have a Facebook Like Button in my post-meta. In that way, people could actually like my posts and get the message about my website across to Facebook. I know that the Facebook Like Button does almost the same, but I have no idea how to get said button in my post-meta.

    Is there a quick method to deal with this? I would appreciate any pointers and apologize beforehand if I have missed obvious answers despite of me googling about the subject.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Why do the numerous social sharing plugins not meet your needs? What do you gain by having ‘the button in your postmeta’ ?

    Well, the main reason why all the existing plugins don’t meet my needs — and to me it’s a pretty important one — is how most Facebook/Social Network Plugins just ruin the look and feel of a website. They’re usually very plump and a ‘in your face’. I’d prefer to integrate the Like Button in my page as much as possible. Putting in the post-meta solves the problem esthetically — I just like it there. If someone can convince it is ridiculous (for technical reasons or other) I’d be more than happy to listen to their reasoning 🙂

    If you really want it in your post-meta section, just edit the template and put it in.

    If you look at the code that FB provides:

      var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
      js = d.createElement('script'); = id; js.async = true;
      js.src = "//";
    <div class="fb-like" data-href="http://YOURDOMAIN.COM/TEST" data-send="true" data-width="450" data-show-faces="true"></div>

    You can just change the http://YOURDOMAIN.COM/TEST as you want 🙂 Pulling in the post URL via PHP.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Facebook Like Button’ is closed to new replies.