Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,694
- How-to & Troubleshooting
- 128,219
- Creating & Extending
- 25,679
- Requests & Feedback
- 9,405
- Third Party Plugins
- 9,753
- Showcase
- 3,321
- Ideas
- 1,348
- Miscellaneous
- 8,879
-
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