Hello Stumbler - Wordpress plugin for Stumbleupon visitors
Here’s a little plugin I made for Stumbleupon visitors, I got the idea while playing with the Digg This plugin.
Hello Stumbler plugin will display a note at the top of your post (or wherever you put the call) when it detects that the person viewing the page came through the Stumbleupon button and ask them to give you a thumbs up.
Simply download the plugin, upload it to your plugins directory and activate it. Once you have done that, go to your single post template page and add the following command under the entry-content line (click image to see example).
[php]
?php if (function_exists(hellostumbler)) { hellostumbler();}?>
[/php]

It’s as simple as that! I have tried it by showing the link if this blog is the referring page and it works, hopefully it will do the same when the post is stumbled upon with the toolbar button (it’ll take me ages to stumble and stumble until this post shows to truly test it, but it should work!).
If you came here via a stumble button press, please let me know if you can see the “thanks for stumble-ing” message at the top of the post. thanks!
Download the plugin here Hello Stumbler
[edit]To see a tutorial on how I made this plugin, see here: wordpress plugin sourcecode tutorial
Filed under: Code, Wordpress | Tagged: HelloStumbler, plugin, sidebar, stumbleupon, widget, Wordpress