Yesterday Facebook announced a slew of new features to make the web even more social. One of the plugins they released was the Facebook like button. If you’re using WordPress and the Hybrid theme, here’s how to easily add the button to each of your posts:

TXT File Code (WordPress strips out iFrames so I can’t post it directly here)

That adds the button to the end of your posts when on individual blog posts. Add that code to your functions.php file.

Try out my like button below!

Props to Ruhani for urlencode.

This article has 13 comments

  1. Craig

    Awesome Patrick!,

    I am a little ambivalent on the need for so much facebunk integration, but it is almost unavoidable as I have seen most of my clients spending a heck of a lot more time updating facebook than their kickbutt Hybrid websites.

    Anyway thanks for this I am sure plenty of people will be using this code.

    Thanks!

    1. Patrick Daly

      I’m kinda in the same boat. I ignored Facebook for a while because I only ever used it for personal stuff. But in the past few months I’ve seen stat after stat about how so much traffic comes from FB. I figured I might as well try to milk it as well.

  2. Pingback: Tweets that mention How to Add the Facebook Like Button to Hybrid -- Topsy.com

  3. Pingback: Gefällt mir-Button ‹ dreitehabee

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>