WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I took loop-single-forum.php, copied it and renamed it, fixed it so the site is calling the copy and then removed what I did not need from it to place it in a sidebar widget. It works beautifully on every screen on the site. Except for two and I can't figure out why. IF you're on the Topic's List Page the widget shows Nothing at all in the Categories Tab and then IF you're in an actual Topic it shows the "Oh bother! No forums found". Looking to figure out what I could have left out in the code as I'm honestly using the existing code minus a few bits that I didn't need.

loop-single-forum.php -


        * Forums Loop - Single Forum
        * @package bbPress
        * @subpackage Theme


    <tr id="bbp-forum-<?php bbp_forum_id(); ?>" <?php bbp_forum_class(); ?>>

        <td class="bbp-forum-info">

            <?php do_action( 'bbp_theme_before_forum_title' ); ?>

            <a class="bbp-forum-title" href="<?php bbp_forum_permalink(); ?>" title="<?php bbp_forum_title(); ?>"><?php bbp_forum_title(); ?></a>

            <?php do_action( 'bbp_theme_after_forum_title' ); ?>


    </tr><!-- bbp-forum-<?php bbp_forum_id(); ?> -->
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.