Simple Tagging: Related Tags
Use
<?php STP_RelatedTags(); ?>
and
<?php STP_RelatedTagsRemoveTags(); ?>
in any template file to display related tags like in del.icio.us:
<?php STP_GetRelatedTags(); ?>
and <?php STP_GetRelatedTagsRemoveTags(); ?>
are the non-echoing versions (return the result as string).
Example
<h2>Related Tags:</h2>
<ul>
<?php STP_RelatedTags() ?>
</ul>
<ul>
<?php STP_RelatedTagsRemoveTags() ?>
</ul>
Options
You can change the appearance and behaviour by modifying the plugin’s options under WP Administration > Tags > Tag Options.
When you have opened the options, scroll down to Related Tags.
Individual Options
You also can override the plugin’s options by using the following optional parameters in the template tags <?php STP_RelatedTags(); ?>
and <?php STP_RelatedTagsRemoveTags(); ?>
:
STP_RelatedTags($format, $tagseparator, $sortorder, $nonfoundtext)
STP_RelatedTagsRemoveTags($format, $separator)
Each option is explained under WP Administration > Tags > Tag Options > Related Tags and WP Administration > Tags > Tag Options > Related Tags: Links for Removing Tags.