I have run into a frustrating situation in the development of my site/store. I am using the Shopp plugin and there is a disconnect between the tags in WP and the tags in the store plugin. In my case I have both articles with tags and products with tags. I do not want them in the same tag cloud but I do want tag clouds of both categories. While this discrete issue is solvable with tools that already exist…
It started me thinking that many situations would benefit from a tag cloud that was definable directly to a db field. This would allow rapid addition of tags and the ability to have multiple tag clouds on a site that perform radically different functions. Has this already been solved? For most users to use it would need to be an easily used plugin. If one could define a set of tags by the content of a mysql field you could have a tag cloud for about anything.
I hope the editing of the question made the issue a bit clearer.
Input appreciated!
MM/RC
Check out the function
wp_generate_tag_cloud()
inwp-includes/category-template.php
. It’s not database-specific, you would just query your table and format the data forwp_generate_tag_cloud()
. I’m unable to post sample code tonight, but I’ll check back on this question tomorrow and post an example if no one else has done so.