and the listed \n";
}
else {
echo "\n";
}
} ?>
';
}
?>
.+?) (.+)#', '$1 $2', $tag);
return $tag;
}
// Install hook
register_activation_hook(__FILE__,'nktagcloud_install');
function nktagcloud_install() {
update_option('nktagcloud_title', 'Tags');
update_option('nktagcloud_smallest', '8');
update_option('nktagcloud_largest', '22');
update_option('nktagcloud_unit', 'pt');
update_option('nktagcloud_number', '0');
update_option('nktagcloud_format', 'list');
update_option('nktagcloud_order', 'ASC');
update_option('nktagcloud_orderby', 'name');
update_option('nktagcloud_homelink', 'No');
update_option('nktagcloud_rmcss', 'No');
update_option('nktagcloud_replace', 'No');
update_option('nktagcloud_inject_count', 'No');
update_option('nktagcloud_decor', 'notouch');
update_option('nktagcloud_exclude', '');
update_option('nktagcloud_include', '');
}
function nktagcloud_control() { ?>
There were too many options, so I had to move the configuration
to a settings page.
Better Tag Cloud
The default tag cloud widget that comes with wordpress is very simple. This widget makes the options for wp_tag_cloud() and more available to the a new tag cloud widget.
My other plugins
Theme switch:
I like to tweak my main theme that I use on a varity of blogs. If you have ever done this you know how annoying it can be to break things for visitors of your blog. This plugin allows you to use a different theme than the one used for your visitors when you are logged in.
Rhyming widget:
I wrote a little online rhyming dictionary. This is a widget to search it directly from one of your sidebars.
Snow and more:
This one lets you see snowflakes (or other, custom images) fall down your blog.
Fireworks:
The name says it all, see fireworks on your blog!
Contact
Feel free to send me feedback, patches, feature requests etc. to my mail address or to blog about this plugin. Visit my blog at nkuttler.de or this plugin's page at nktagcloud to discuss it.
Please remember to rate this widget, especially if you like it.