• Hi!

    I have a couple questions about the Facebook Like button and how to customize it’s use:

    1) I installed the Basic Facebook Social Plugins and have the Like button enabled. I would like to disable it on Pages so it only appears on Posts.

    2) I would like the button to appear both above and below my posts. Currently it only appears below.

    Can you help me with these two things?

    Thanks!
    Jason

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can use the Embedder plugin to do it, without having to play with template code:

    http://wordpress.org/extend/plugins/embedder/

    Create a global embed (Settings >> Embeds) and paste in the Facebook Like button embed HTML (you will have to get this yourself from Facebook if the Facebook plugin you are using doesn’t show you it).

    In the Auto-Embed section, you can select just before (or after) posts, and the button will only appear in posts, not pages as you want it.

    You can also select both Before and After at the button will appear in both places. (You might have to tweak the CSS styling of the button to get it too look exactly right.)

    Finally, you can even tell the plugin to exclude the button from posts with a specific tag or category, etc.

    So Embedder will do everything you need. The only slight complication is that you need to fetch the Facebook embed HTML yourself from here:

    http://developers.facebook.com/docs/reference/plugins/like

    Thread Starter jasonparkermusic

    (@jasonparkermusic)

    Thanks Stringfold. I took a look at the Facebook link you provided but couldn’t find the code. Can you help me suss it out?

    Jason

    I’m looking into the same thing. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Facebook Like Button Questions’ is closed to new replies.