Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: list forum name in the sidebar


Michael3185
Member

@michael3185

@Marcomail; Thanks for raising this point about a sidebar forum list. I was curious and tested out the code I posted above, and it works very well (without the table definition). I just put the forum loop into the hottags div section and it looks fine. The site link is in my previous post if you want a look, and the code I used is;

<div id="hottags">
<h2><?php _e('Forums'); ?></h2>
<?php if ( bb_forums() ) : ?>
<?php while ( bb_forum() ) : ?>
<a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><br />
<?php endwhile; ?>
<?php endif; // bb_forums() ?>
<br />

<h2><?php _e('Tags'); ?></h2>
<p class="frontpageheatmap"><?php bb_tag_heat_map( 9, 13, 'pt', 50 ); ?></p>
</div>

It tidies up the front page a lot, and there’s less need to scroll down to see the recent posts. Cheers!

Skip to toolbar