Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,005
- How-to & Troubleshooting
- 129,527
- Creating & Extending
- 25,791
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,782
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
for bp_is_user_profile(), you can use this…
<?php
global $bp;
if($bp->current_component == BP_XPROFILE_SLUG) {
//Your code here
}
?>
Found this tip here… https://buddypress.org/forums/topic/show-specific-content-on-profile-page-only#post-26739
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS