WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!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.

Like-Button-Plugin-For-Wordpress

This plugin adds a Like-Button wherever you want on your blog. Before or after the content as well as a sidebar-widget. And many more!

Notice: Please BACKUP your database everytime BEFORE you update to a new version!

FAQ

How-To install and setup the Plugin

1. Download and Install the Plugin

2. Go to the General-Page and set all the required information and activate the Plugin with the first checkbox on this site. Now hit save and you're done!

3. You should now generate the Like Button with the Generator on the General-Page (take a look at the Facebook-Generator-FAQ below)

4. Facebook-Generator-FAQ:

  • The URL must look like this and containt http:// -> http://www.gb-world.net - Otherwise the Button will not work properly.
  • Now choose your layout style, width, height, font, verb to display, color scheme and if faces should be shown.
  • Language: It is possible to choose a language for your button.
  • Dynamic Like-Button: Every page will have its own unique like-button if you activate this checkbox. Otherwise every page will use the same facebook-like-button.

5. After that visit the OpenGraph-Site and fill in all the Administrative and Blog-Tags correct

Information about XFBML (Java-SDK) and iFrame

  • The basic Like button is available via a simple iframe you can drop into your page easily. A fuller-featured Like button is available via the <fb:like> XFBML tag and requires you use the new JavaScript SDK. The XFBML version allows users to add a comment to their like as it is posted back to Facebook. The XFBML version also dynamically sizes its height; for example, if there are no profile pictures to display, the plugin will only be tall enough for the button itself. (definition by Facebook)

[like]-Shortcode

  • You only have to insert [like] into a post/article and your like-Button (generated with all your defined settings) will appear at this position
  • available Options: url, action, width, height, style
  • Example: [like] or [like url=http://www.gb-world.net action=recommend width=100 height=150 style=border:solid;float:right;padding-left:15px;]

Template Function GBLikeButtonTemplate

  • You only have to insert <?php GBLikeButtonTemplate(); ?> somewhere in your template-files and your like-Button (generated with all your defined settings) will appear at this position
  • available Options: url, action, width, height, style
  • You have to set the values with an array like this: array('url' => "http://www.gb-world.net"). It does not work if you send the parameter like this to the function GBLikeButtonTemplate("http://www.gb-world.net")
  • Example: GBLikeButtonTemplate(); or GBLikeButtonTemplate(array( 'url' => "http://www.gb-world.net", 'action' => 'recommend', 'width' => 250, 'height' => 200, 'style' => array('border' => 'solid', 'overflow' => 'hidden')));

Facebook-Like-Button-Widget, Facebook Recommendations and Facebook Activity Feed

  • Go to the Widgets-Page on the left. Add the needed Widget and add the required information.
  • The URL must look like this and containt http:// -> http://www.gb-world.net - Otherwise the Button will not work properly.

W3c-Validation

  • If you want to validate your site and the Validator says that the og- and fb-tags are not valid you can activate the W3c-Validated Output Checkbox on the Expert Side to generated an W3c-Valided Output of the Meta-Tags

How to use the og:image-Tag properly

Important Notes

You have to enter a valid App-ID and additionally the Admin-ID and Page-ID to provide valid tags and fulfill the requirements of the Like-Button!

App-ID: You have to enter a valid Facebook-App-ID. Get an App-ID Admin-ID: Facebook-Profile-IDs of all Administrators of this Like-Button.

We recommend to enter a App-ID instead of the Admin-ID to keep your personal profile secure and secret.

Open-Graph-Protocol:

It is recommended to add the following

xmlns:og="http://ogp.me/ns#"
xmlns:fb="http://www.facebook.com/2008/fbml"

to the html-tag of your template-header.php-file. If you do not do this the Open-Graph-Protocol will not work with all its functions.

Problems with DISQUS and Like-Button-Plugin-For-Wordpress (Bugfix)

If you can't access your tabs on the Settings Page and you use the Disqus-Plugin beside this Plugin than you have to do the following to solve the bug:

  • 1) Open the discus.php-file on your server in the Disqus-Plugin Directory

  • 2) find this function function sdq_menu_admin_head() and add the following line after <?php } --> if ( ( isset($_GET['page']) && strstr($_GET['page'],"disqus") )) { add_action('admin_head', 'sdq_menu_admin_head'); }

  • 3) now you should be able to access the tabs again!

Extended FAQ

| Video-Tutorials | | Support | | GB-Wiki |

Requires: 3.0 or higher
Compatible up to: 3.2.x
Last Updated: 2011-9-12
Downloads: 155,131

Ratings

3 stars
3.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 0,1,0
100,1,1 100,1,1 100,1,1 100,1,1 100,5,5 100,1,1 100,1,1 100,5,5 100,1,1 67,3,2
100,1,1 100,2,2 100,1,1 0,1,0
100,6,6 100,3,3 100,2,2 0,1,0 83,6,5 100,1,1 100,5,5 100,1,1 100,2,2 75,4,3 100,3,3 33,3,1
33,3,1
100,1,1 100,1,1 100,1,1
0,1,0 100,1,1
100,2,2 33,6,2 0,1,0 0,2,0 0,2,0
0,1,0 0,1,0
50,2,1
100,1,1 100,1,1 13,8,1
0,1,0
100,1,1
0,1,0