Show bbPress tag cloud/hot tags in WordPress
-
Hi, I’m trying to figure out how to display bbPress’ tag cloud from the sidebar in WordPress. I’ve googled a lot, but can’t seem to find anyone who’s done this.
I’ve hacked a temporary solution that displays the topic tags from bbpress as a list in the wordpress sidebar, but I’d really love to have the size formatting as well.
<?php
global $wpdb;
$taglist = $wpdb->get_results(“select name from bb_terms”,”ARRAY_N”);
$number_of_tags_to_show = 10;
for ($count = 0; $count < $number_of_tags_to_show; $count++)
{
if($taglist[$count][0])
{
$tag = str_replace( ” “, ” “, $taglist[$count][0]);
echo ‘
- <a href=”http://www.mysite.org/forum/tags.php?tag=’;
echo $tag;
echo ‘”>’.$tag.’
‘;
}
}
?>
Any suggestions for how to access bb_tag_heat_map from inside WordPress?
- <a href=”http://www.mysite.org/forum/tags.php?tag=’;
- You must be logged in to reply to this topic.