- This topic has 4 replies, 3 contibutors, and was last updated 9 years, 1 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Question
Answers
Viewing 5 posts - 1 through 5 (of 5 total)
- The question ‘Remove My Likes’ is closed to new replies.
BuddyBoss Home – Web › Support Forums › Plugins › BuddyBoss Wall › Remove My Likes
Tagged: Hide My Like Button
Hey,
How can I remove ‘My Likes’ from the general activity feed tabs? Seems a bit pointless to have it as a tab since it is self generated activity and not community generated.
Cheers again 🙂
Andrew
Not removing it completely thought. I think having it as a wall tab works 😉
Hi @anderew, You can add this CSS code to hide the ‘My Likes’ Button
li#favorites-personal-li.current.selected {
display: none !important;
}
Regards
Pallavi
Hey Pallavi,
Thanks for the response. Still active on the list unfortunately. Is there a way to kill it in php?
I have found
function remove_item_from_nav() {
global $bp;
bp_core_remove_subnav_item( $bp->activity->slug, 'favorites' );
}
add_action( 'init', 'remove_item_from_nav' );
Which kills it in the profile menu but how do kill it in the global activity tab?
Cheers,
Andrew
Hi @anderew, You need to deactivate complete activity functionality or just activity tab ?
Might be following thread will help you.
https://buddypress.org/support/topic/remove-the-activity-tab-from-the-buddypress-profile-page/
Regards
Varun