DotNetKicks with WordPress

You’ll probably notice I’ve added the DotNetKicks “Kick it” icon to the bottom of each post.  For those of you who aren’t aware, DotNetKicks is a relatively new social linking site, like Digg, but specific to .NET programming.  Cool!  This blog is about 80% about .NET programming too.   What a great match!

They have a script that you can use to insert the icon into each post.  But, I’m relatively lazy.  I want to just insert something into WordPress and have it “just work.”  So, I went looking for a plug-in or something.

What I found was a guy who’d figured a way to get the code snippet into live writer.  But, you still have to insert the tag.  However, he did have a plug-in that gave me most of what I needed.

By looking at the source for the plug-in, I was able to figure out that all I really needed to do to get the kickit icon to display is to go insert a small chunk of code in one of my theme files.

If I were a better PHP programmer, I’d turn this into a plug-in too.  But, I’m not, so here’s the code you need to insert if you are a blogger writing about .NET stuff and want the Kick it icon too:

<a href=”<?php echo get_permalink() ?>”><img src=”<?php echo get_permalink() ?>” border=”0″ alt=”kick it on” /></a>

Obviously, if you like something here, go ahead and kick it up.

Related Post

6 Responses to “DotNetKicks with WordPress”