Re: limit forums included in latest discussions
Ah but I use Buddypress and when users create groups in bp, automatical Subforums are created (Under the Parent forum id 1) in BbPress. But if I hide forum 1 (The parent), the other forum topics will still show in the latest discussions.
And Its too painful to go and edit this afterwards. It must be automatic.
I got some if Statement working with the forum loop. I excluded some subforums showing by using:
`<?php if ( bb_forums() ) : ?>
<?php while ( bb_forum() ) : global $forum; if ($forum->forum_parent != 0) continue; ?>
<!– insert forum stuff to be looped –>
<?php endwhile; ?>
<?php endif; // bb_forums() ?>`
but I cant get it working with topics.