Re: Highlighting the current forum tab
Your code is much cleaner for my use.
I check a WP theme and I’m assuming it’s something like this…
<?php if (is_page()) { $highlight = "forum-link"; } else {$highlight = "current"; } ?>
<?php foreach ( $forums as $forum ) : ?>
<a class="<?php echo $highlight; ?>" href="<?php forum_link( $forum->forum_id ); ?>"><?php forum_name( $forum->forum_id ); ?></a>
<?php endforeach; ?>
but it’s not is_page(), it’s something else.