Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,830
- How-to & Troubleshooting
- 129,810
- Creating & Extending
- 25,867
- Requests & Feedback
- 9,509
- Third Party Plugins
- 9,821
- Showcase
- 3,317
- Ideas
- 1,383
- Miscellaneous
- 9,178
-
The following alteration of my code seems to work in the cases that I’ve tested thus far:
if ( is_page() && ( $bp->current_component == ” ) ) {
I’m unsure as to whether this is an empty string or a null value for all instances, so I don’t think an is_null() call would be appropriate.
If anyone knows of a BP-approved method for this, though, I’d be all ears.