Selectively add social network buttons such as digg, sphinn, etc to your posts or theme design.
I wrote this plugin because I wanted finer control over where and which buttons
were placed on my site and in my posts.
Sometimes I have marketing posts so I want to link to Sphinn, but sometimes I have
technical posts so Reddit would be a better choice. This plugin is flexible enough that
if you want the same button in every post, then you can still modify your theme very easily
to accomplish this.
You may place as many buttons, in as many places in your posts as you like.
This plugin handles:
– Reddit (all button styles)
– Dzone (all button styles)
For Your Posts
Use the following in your posts: [SB button 1, …, button N]
Here’s an example post…
Hey, check out my new buttons! Here they are: [SB digg, delicious, reddit] And look Here's some more:
[SB reddit, sphinn]
The different button types are:
– reddit1 (same as reddit)
– dzone1 (same as dzone)
– stumble (same as stumbleupon)
For Your Themes
<?php echo sb_make_button('digg', 'http://www.alexpooley.com') ?> <?php echo 'I'm in a post now:'.sb_make_button('reddit', get_permalink()) ?>
Free Download: Download this wp-plugin