Forums
-
- Forum
- Posts
-
- Installation
- 27,621
- Troubleshooting
- 60,561
- Themes
- 10,191
- Plugins
- 14,973
- Requests & Feedback
- 14,607
- Showcase
- 3,238
-
Here is some code I use in my header.php, to add a class to an li if you’re inside a particular forum:
<li <?php if ( $forum->forum_id == 170) {echo 'class="x-chosen"';}?>><a href="/board/announcements">announcements</a>
Maybe something similar would work for you? Good luck!
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS