Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,005
- How-to & Troubleshooting
- 129,529
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,784
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
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.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS