Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
In reply to: Navigation: topic or reply belongs to which forum?
Finally did resolve this:
$ID = bbp_get_forum_id($forum_id); if ($ID == 216) { echo ' staff'; } elseif ($ID == 236) { echo ' advisor'; }In reply to: Navigation: topic or reply belongs to which forum?Can’t figure out how to display code here. Can’t find a “how-to.”
In reply to: Navigation: topic or reply belongs to which forum?Example code (that does not work):
`<nav class="usernav
```">wp_nav_menuIn reply to: Navigation: topic or reply belongs to which forum?Spoke too soon. Displays extra class at all times, hiliting the nav item when it should not be hilited. Wish I could show the code here, and someone could point out my errors.
This topic should be in “troubleshooting”. Sorry, didn’t see different forums initially.
In reply to: Navigation: topic or reply belongs to which forum?Found the answer: bbp_get_forum_title()
Incorporated that into an if statement in the nav wrapper, echoing a class name based on which forum ID.
Viewing 5 replies - 1 through 5 (of 5 total)