Category Cloud WordPress Widget
Real quick post for really quickly knocked up widget. So I decided to stop using categories as categories and use them as tags; much more straightforward. I'm using the Category Tagging plugin which is really neat and works really well. However, I wanted to use it a widget. So here is my first widget: all it does is grab the cloud from the Category Tagging plugin and display it. It needs all the Category Tagging plugin options connecting to the widget control interface rather than being hard coded; but it works! Here is the CSS I used (I put it at the bottom of the stylesheet)
[CSS]
sidebar ul .tagcloud {
padding: 0;
margin: 0;
}
sidebar ul .tagcloud li {
display: inline;
list-style: none;
background-image: none;
padding: 0;
margin: 0;
}
sidebar ul .tagcloud li a {
background-image: none;
padding: 0;
margin: 0;
}
[/CSS]
Technorati Tags:
developing, php, wordpress, widgets