Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Plugin active only in certain forum

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!

Skip to toolbar