Social butterflies

view a random?

I’ve been putting together a little php file to plug into the wordpress blog interface that will allow the addition of these little buttons below every post… it is based on the plugin that I was shown on the scoop it blog, but I couldn’t access the website, so I wrote my own.

It is pretty basic, with no arrays used or anything like that… but it seems to work, and that is the priority. If you’d like a copy, I have zipped it and bziped it, for those of either taste. If you do use it, we’d appreciate it if you hosted your own buttons ;-) Just copy and paste. The plugin should be unzipped and installed in the plugin directory of your wordpress directory.

You’ll need to put the php function call everywhere you’d like the buttons to appear, but this isn’t too hard - I’m sure you can do it using add_action, but when I did so using the_content function, I only got the buttons - no content! So this seems just as easy.

<?php _social_bookmarks() ?>
I edited the index.php, single.php, archive.php and page.php files, placing the above snippet under “the_content” function call. Hopefully it is useful to somebody else who is looking for the sociable plugin, but the page just doesn’t load.

Update: Don’t forget to activate the Whizzoo sociable plugin!

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • MisterWong
  • Reddit
  • Scoopit
  • StumbleUpon
  • Technorati
  • rss

2 Trackbacks

  1. By Anonymous on January 8, 2008 at 10:55 pm

    Social butterflies…

    Based on the idea of the wordpress sociable plugin, this plugin replicates its functionality….

  2. […] are satanic!Widgetizing plugins - popularity code & wordpressHotOrNot acquired for $20 MillionSocial butterfliesWeb 2.0 integrationFacebook - down for maintenance?phpMyID - and web application do’s and do […]

Post a Comment

You must be logged in to post a comment.