Cult-Foo

WordPress plugin “Xata33 Tag”

Tags:

Wordpress plugin “Xata33 Tag”

Let us introduce our WordPress plugin “Xata33 Tag”. It’s chief task, as you can judge by it’s name, is to operate with tags. There is a great number of WordPress plugins with similar function. Among them there are simple enough with poor functionality and complex enough with many options to customize. As a matter of fact, WordPress has built-in functionality to operate with tags. It would seem that there is no need in creating one more similar plugin. The reason is that, in spite of wide variety ready-made solutions, none of them hasn’t functionality we need, namely delicate tweaking of tags appearance according to their popularity.

So, as you can judge by all preceding, the main goal we wanted to achieve by writing this plugin was delicate tags appearance tweaking. Now plugin supports tag color and size tweaking, pretty urls, automatic and manual tags and tag cloud output, tag preview and tagged posts count. Such features as “tag aliases” and “search by tag” are planned to be implemented in next release.

We’re glad to introduce this plugin to the community. If you think that it is necessary and there is need in developing it further, we will do it.

Bug reports and feature requests are welcome.

Installation and usage:

INSTALLATION:
1. Uncompress the archive and put folder with plugin files into wp-content/plugins directory.
2. Enable plugin using administrator interface

OPTIONS:
Go to “Options” -> “Xata33 Tag” menu. Here you can customize appearance of your tags and some options.

1. At “Size and Color Options” section you can manage appearance of your tags.

Note that nothing will be saved until you submit the form.
Number of sizes and number of colors are unlimited.
The lower the size or color is in list the more popular tag it is associated with.
You can switch them by clicking the list item and then clicking the item you want to switch with.

2. At “Friendly URLs Options” you can enable URL rewriting (like “tags/some-tag”)

Note that you must enable permalinks to use this option.

3. At “Auto tag Options” you can enable tags and tags cloud auto output. Tags are appended after each post. Tag cloud appended right after html <body> tag.

MANAGE:
1. Go to “Manage” -> “Xata33 Tag”. Here you can view existing tags, add new tags, and delete them.

USAGE:
1. If you don’t like how plugin automatically displays tags and tag cloud, you may output it manually. Just insert this code in template file for displaying tag cloud:

<?php if (function_exists('x33_tag_display_cloud')) x33_tag_display_cloud(); ?>

and

<?php if (function_exists('x33_tag_display_post_tags')) x33_tag_display_post_tags($post); ?>

for displaying tags associated with some post.
Tag’s size and color calculations are based on percent of posts, associated with this tag.

EXAMPLE:
There are 100 posts with tags as your site.
There are four tags defined: tag1, tag2, tag3, tag4.
Tag1 has 10 posts, tag2 has 40 posts, tag3 has 20 posts, tag4 has 70 posts (post can have more than one tag).
There are 3 colors (color1, color2, color3) and 2 sizes defined (10px, 30px).
So there are 3 color categories and 2 size categories.
If a tag has less than 33% of tagged posts, it gets into 1st color category.
If it has more than 33% and less than 66% of tagged posts, in gets into 2nd color category.
If it has more than 66% of tagged posts, it gets into 3rd color category.
The same thing with colors.
So:
tag1 – 10 posts (10%); color:color1; size:10px;
tag2 – 40 posts (40%); color:color2; size:10px;
tag3 – 20 posts (20%); color:color1; size:10px;
tag4 – 70 posts (70%); color:color3; size:30px;

Some screenshots:

1. Options page with size and color management.

X33 tag options

2. Extra options:

X33 Tag Options 2

3. Manage tags:

X33 Tag Manage

Download

Did you like it? Help us spread the word!

5 Responses to "WordPress plugin “Xata33 Tag”"

  1. stilfx says:

    How about a demo or at least pictures / screens showing off the features. Sorry, I’m having a hard time deciphering your english.

  2. elPas0 says:

    tag cloud at the top – live example

  3. umx says:

    Hello, just installed plugin and i faced problem because cant add tags. When i add tag appears loading…tags not added and nothing happens no errors, anything. Wondering what should it be?! I have wordpress 2.5.1 installed.

Trackbacks/Pingbacks

Do you have something to say?