This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Facebook Like Button Plugin

Description

Add the new Facebook Like Button to your wordpress blog with ease.
Fully configurable and customizable to your likings.
Configure where you want it to be visible or you can include it on single post with shortcode.

If you don’t know what the Facebook Like Button is, here is how Facebook describes it:
The Like button enables users to make connections to your pages and share content back to their friends on Facebook with one click. Since the content is hosted by Facebook, the button can display personalized content whether or not the user has logged into your site. For logged-in Facebook users, the button is personalized to highlight friends who have also liked the page.

Shortcode syntax

Example

[fb_like_button_standard] – shows the button in standard layout.

[fb_like_button_count] – shows the button in button_count layout.

Example with optional parameters

[fb_like_button_count show_faces=”1″ action=”like” font=”arial” iframe_style=”margin:10px;”]

Optional parameters:

  • show_faces = boolean (1 / 0)
  • width = numeric, width in pixels
  • height = numeric, height in pixels
  • action = (like / recommend), Verb to display
  • font = (arial / lucida grande / segoe ui / tahoma / trebuchet ms / verdana)
  • colorscheme = (light / dark)
  • iframe_style = custom css style for iframe/xfbml

If no optional parameters are used it will use the values from your saved configuration.

Screenshots

  • Options

Installation

  1. Download the installation zip file and unzip leaving the directory structure in tact.
  2. Upload the newly unzipped ‘facebook-like-button-plugin’ folder to the /wp-content/plugins/ folder
  3. Activate the Facebook Like Button plugin from the ‘Plugins’ menu.
  4. Choose customization on the plugin menu “Facebook like button”

FAQ

How do I turn off the button on a single post?

Give the post a custom field with the key “facebook_like_button”, and the value “suppress”. You can do this for as many posts as you want. If you remove the custom field, the button will re-appear on that post.

Why doesn’t the comment form show when I use XFBML?

Make sure you have added a Facebook App ID.
If you don’t have one you can create one here
Make sure the “Connect URL” in the Facebook Application Connect Settings has the same url as your wordpress site.

For any questions, comments or suggestions regarding the plugin please visit http://www.martinj.net

Contributors & Developers

“Facebook Like Button Plugin” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.3.4

Previous release was broken, this one should fix it.

1.3.3

  • Added option to select “both (top & bottom)” on position option.
  • Added one more meta tag, hopefully this fixes the problem with admin and page creation.

!Note automatic linking and/or page creation of pages that has been liked by admin before doesn’t work.

1.3.2

  • Fixed problem with facebook not creating pages.
  • Added meta og:type option for homepage.

1.3.1

  • Added option to show/hide button on Archive pages.

1.3

  • Added ability to choose XFBML instead of iframe.
  • Added headers for FB profile/application id.
  • Added thumbnail meta if a post has a thumbnail.
  • Moved the setting link to “Settings” group.
  • Added link in plugins listing to settings.
  • Added namespaces for opengraph and XFBML in html element.
  • Added language setting for XFBML output

1.2

  • Added shortcode [fb_like_button_standard] and [fb_like_button_count]
  • Added option to not show on single posts so you can add it manually on pages and posts with shortcode
  • Added new meta tag og:site_name
  • Added ability to suppress the button on post with custom_field “facebook_like_button” with value “suppress”

1.1

  • Added param to set position top or bottom in relation to the content.
  • Added param to set extra css style to the iframe.
  • Removed wrapper paragraph, use the extra css style if you want to change margin/padding.

1.0

  • First release