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.
[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;”]
- 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.
- 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
Previous release was broken, this one should fix it.
- 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.
- Fixed problem with facebook not creating pages.
- Added meta og:type option for homepage.
- Added option to show/hide button on Archive pages.
- 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
- 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”
- 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.
- First release