Posted on May 2, 2007
There are so many different ports of K2 for different blogging systems.
This code can be inserted & adapted to any of them, but I'm mostly going to deal with habari & wordpress.
The code you need to put into your post header is below. For habari this would go into your home.php and entry.single.php, for wordpress it would go into theloop.php
You're looking for something that looks like:
After the commentslink span ends you'll insert the following:
And the corresponding CSS will go into your K2 scheme's stylesheet (or style.css if you're using habari). The image add.png can be found in FamFamFam's silk icon pack.
.twitterlink {
padding: 2px 0 2px 20px;
background: url('images/add.png') left center no-repeat;
margin-left: 10px;
}
Loading comments...