Forums
-
- Forum
- Posts
-
- Installation
- 28,244
- Troubleshooting
- 61,694
- Themes
- 10,301
- Plugins
- 15,197
- Requests & Feedback
- 14,819
- Showcase
- 3,252
-
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