Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Conditional Tag Questions (specifically bp_is_user_profile)


toddlevy
Participant

@toddlevy

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

Skip to toolbar