Add something new to Virb:

Virb

Are you sure you want to delete that?

or Cancel

 

Posted on May 2, 2007

TwitThis for K2

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...

Likes

Details

Viewed 28 times

© 2007 Kristin

virb.com/t/25648
tweet!

Flag this text post!

Flag this text post as:

or Cancel

 

Advertisement

Flag this profile!

Flag this profile as:

or Cancel