Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,846
- How-to & Troubleshooting
- 129,862
- Creating & Extending
- 25,895
- Requests & Feedback
- 9,542
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,179
-
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.