Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,860
- How-to & Troubleshooting
- 128,910
- Creating & Extending
- 25,742
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,773
- Showcase
- 3,317
- Ideas
- 1,389
- Miscellaneous
- 9,134
-
To add; should anyone else be looking to do what I am (without the else tag), here’s how to do with so that when the user is on the REGISTER page, the tab is highlighted:
<?php if ( !is_user_logged_in() ) { ?><li<?php if ( bp_is_page( BP_REGISTER_SLUG ) ) : ?> class="selected"<?php endif; ?>><a href="register">Sign up!</a><?php } ?>
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS