Well, I’ve gone and done it – I wrote my first WordPress plugin. I’m super stoaked on how easy it was, and I may end up doing some more work in the future.
And, for my first number, I tackled the same problem I did in my last post: the new Facebook “like” button.
The way I had inserted was too complicated, and required editing of the core plugin.
Not anymore.
Introducing the “Facebook Like Button” plugin.
Basically, it does one thing, and one thing well: It lets you insert the new Facebook like button either under the content of your blog post, above your comments and other social plugins (bookmarks, etc) or insert it manually via a function/template tag.
Simply activate the plugin and head over to the options menu to control the various options (color scheme, width, height, etc) of the plugin, then sit back and watch as your friends “like” your content.
When a person likes a post, by the way, it ends up in their Recent Activity Stream.
Download Version 1.6 of the Facebook Like Plugin
And, as always, feedback is much, much appreciated
Version 1.6 adds a whole host of options, from height, width, margin, the verbiage, and more. It makes the process so much easier than just filling in option menus. Please enjoy!
Changelog:
0.1a – initial release.
0.2a – fixed spacing issue both above and below
1.0: first stable release – added function to add to a template manually (thanks Amber Weinberg!)
1.5 – added the rest of the options FB gives you (minus the button type – I like the faces, and that’s specifically what I designed this plugin to do).
1.6 – for some reason 1.5 couldn’t be downloaded so 1.6 is just a clone to resync the plugin repository.