6 years ago
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.
$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++)
$tag = str_replace( ” “, ” “, $taglist[$count]);
Any suggestions for how to access bb_tag_heat_map from inside WordPress?
5 years, 5 months ago
OK, I figured it out. Here’s a link to my solution:
There’s a much better way.
My “Hot Tags Plus” plugin makes the output into a static file, already compiled so there’s zero overhead the next time you want to display it.
You can then just use php’s readfile to include it on any page you want outside of (or even inside) bbPress, you just have to figure out the full path to it on the server.
Follow bbPress on Twitter •
Contact Us •
Terms of Service