Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show bbPress tag cloud/hot tags in WordPress


  • rainbow_lazer
    Member

    @rainbow_lazer

    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=&#8217;;

    echo $tag;

    echo ‘”>’.$tag.’

  • ‘;

    }

    }

    ?>

    Any suggestions for how to access bb_tag_heat_map from inside WordPress?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar