Monday, March 30, 2009

Add a DotNetKicks button for your WordPress blog

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 70% about .NET programming too.   It is really cool!

For performance reason, I do not want to use plugin or other ‘big’ thing. After google it, I found a really simple method. Open you them(single.php), and add the following html code, then you will got the DotNetKicks button for each post.

<a href="http://www.dotnetkicks.com/kick/?url=<?php echo get_permalink() ?>"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=<?php echo get_permalink() ?>" border="0" alt="kick it on DotNetKicks.com" /></a>

Is it simple and cool? If you want to add other social linking sites, also follow this way!

from http://jack-fx.com/tech-article/103.htm

No comments:

Post a Comment