Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,845
- How-to & Troubleshooting
- 128,835
- Creating & Extending
- 25,735
- Requests & Feedback
- 9,442
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,388
- Miscellaneous
- 9,128
-
I don’t know how WidgetLogic works, but you should be able to use something like:
global $bp;
if ( $bp->current_component == $bp->profile->slug ||
( $bp->current_component == $bp->activity->slug && $bp->current_action == 'just-me' ) )
{ /* Do your stuff here */ }
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS