Sociable - Social Bookmarking for WordPress
Hi there,
Thanks for downloading one of my plugins. If you like my plugins, please support me by donating a small amount through PayPal.
If you donate even a small amount, that both keeps me enthusiastic and it allows me to keep working on improving my plugins!
Best,
Joost
P.S. did you know about my weekly WordPress newsletter? You should sign up right now!
Sociable is a plugin which adds social media buttons to your posts, and does so easily, and beautifully. While originally developed and maintained by Peter Harkins, it had seen no updates for 8 months, and it wasn't rolled into the WordPress plugin repository, so I've decided to give it a new life, after being request by my friend Mel Carson to "get him some social media buttons".
Current version of the plugin: 3.0
The things I've added to the original plugin:
- Fixed the StumbleUpon issue which multiple people have been dealing with
- Removed the auto-update stuff because that's now dealt with by WordPress itself
- Nofollowed all links
And I've added, amongst other ones, the following social network buttons:
- Sphinn
- Mixx
- Google Bookmarks
- Live
- Pownce
This is what the backend looks like:
And this is the script in action:
Changing the location of the icons
Instead of attaching the buttons to the end of the post, you can also choose to work them into your template. You can do that simply by adding the following code anywhere you'd like the buttons to appear:
<?php if (function_exists('sociable_html')) { echo sociable_html(); } ?>
You can also choose to show only a selected group of sites:
<?php if (function_exists('sociable_html')) { echo sociable_html(Array("Reddit", "del.icio.us")); } ?>
This will show these sites only when they are activated in Sociable's settings. If you're using this, be sure to disable any automatic additions to the content in the Sociable admin panel.
Adding a site to Sociable
If you want to add a site to Sociable, you'll have to take these simple steps:
- Make a 16x16 image, preferably with a transparent background, and copy it to
sociable/images/
directory. - Open
sociable.php
. - Find the array called
$sociable_known_sites
. - Copy / paste the code for another site (they're in alphabetical order).
- Change the value of
favicon
to the name of your image file. - Change the value of
url
to the submit URL for your social site. Do this by copying a submit URL from somewhere, and replacing the URL in there withPERMALINK
and the story title withTITLE
. - Save the file.
- You're done!
Submitting a site for inclusion in Sociable
If you want to submit a site to be included into Sociable, you'll have a far better chance if you actually add the site yourself, test it, and then send me the following:
- A 16x16 icon for the site.
- The two blocks of code you added while following the steps above.
That saves me a lot of time, as I usually don't have an account on all the sites people want me to add, and thus can't test the code.