WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

TDO Tag Fixes

Some fixes and extensions for WordPress tags such as a tag cloud using only tags found in a specific category and also tag and category intersection.

Download the zip and extract the files to a subdirectory, called tdo-tag-fixes, of your plugin directory. i.e. /path_to_wordpress/wp-content/plugins/tdo-tag-fixes.

Once you've got it installed, active the plugin via the usual WordPress plugin menu.

Configuring

To configure the plugin, you must open up tdotf.php in your favourite text editor and look for these lines:

// You can change this if you want. Do not set it to 'tag'. If you want to
// disable this feature, just comment it out.
//
$tdotf_tag_get_var = 'tdo_tag';

// If you have fancy permalinks turned on, you can use this option to use a 
// more fancy form of the tdo_tag. The first paramater is the category_slug
// and the second parameter is the tag_slug. If you want to disable this feature
// just comment it out. (It depends on $tdotf_tag_get_var)
//
$tdotf_fancy_tag_regex = 'tdo_cat/(.+)/tdo_tag/(.+)';

// Set to false if you do not wish tag archive titles to be correctly updated
//
$tdotf_fix_tag_title_auto = true;

// Set to false if you do not wish the built-in tag cloud automatically fixed
//
$tdotf_fix_tag_cloud_auto = true;

// Set to false if you do not wish the category archive title to include tag filter
//
$tdotf_fix_cat_title_auto = true;

New Template Tags

tdotf_cat_tag_cloud works exactly like [`wp_tag_cloud`]( http://codex.wordpress.org/Template_Tags/wp_tag_cloud ) and takes all the same arguments except if called on a category archive/template it will display only the tags in that category. It has one additional argument, "cat" can be used to indicate a specific category. If this is not specified it will take the category id of the category template it is in. By default this plugin will automatically change `wp_tag_cloud` so that if it's called on a category archive, it'll use `tdotf_cat_tag_cloud`.

tdotf_tag_title and `tdotf_get_tag_title` can be used in place of [`single_tag_title`](http://codex.wordpress.org/Template_Tags/single_tag_title ). It can handle the usage of multiple tags in the URL. By default this plugin will automatically change `single_tag_title` so that if it's use in a tag archive that uses multiple tags, it'll use `tdotf_tag_title` (or `tdotf_get_tag_title`).

tdotf_the_tags can be used in place of [`the_tags`](http://codex.wordpress.org/Template_Tags/the_tags) and if used in a category archive, the tag links will point to the category archive filtered by the tag.

Requires: 2.3 or higher
Compatible up to: 2.5.1
Last Updated: 2008-7-4
Downloads: 6,415

Ratings

4 stars
4.6 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,5,5
71,7,5
80,5,4
100,4,4
100,4,4
100,6,6
100,1,1
100,2,2
67,3,2
100,1,1
100,1,1
0,1,0